[INFO] fetching crate opencode-sdk 0.1.7... [INFO] testing opencode-sdk-0.1.7 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate opencode-sdk 0.1.7 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate opencode-sdk 0.1.7 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate opencode-sdk 0.1.7 [INFO] tweaked toml for crates.io crate opencode-sdk 0.1.7 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate opencode-sdk 0.1.7 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 opencode-sdk 0.1.7 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 wiremock v0.6.5 [INFO] [stderr] Downloaded assert-json-diff v2.0.2 [INFO] [stderr] Downloaded backon v1.6.0 [INFO] [stderr] Downloaded deadpool v0.12.3 [INFO] [stderr] Downloaded portpicker v0.1.1 [INFO] [stderr] Downloaded deadpool-runtime v0.1.4 [INFO] [stderr] Downloaded tokio-test v0.4.5 [INFO] [stderr] Downloaded tracing-subscriber v0.3.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 5e6dd85208b9abc5f6eefa613ba18d94a96842969ba7223d990461e77c71b583 [INFO] running `Command { std: "docker" "start" "-a" "5e6dd85208b9abc5f6eefa613ba18d94a96842969ba7223d990461e77c71b583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e6dd85208b9abc5f6eefa613ba18d94a96842969ba7223d990461e77c71b583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e6dd85208b9abc5f6eefa613ba18d94a96842969ba7223d990461e77c71b583", kill_on_drop: false }` [INFO] [stdout] 5e6dd85208b9abc5f6eefa613ba18d94a96842969ba7223d990461e77c71b583 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4f4754119ea035cc9888cd32d2613f252acfe353e0a93d643832d88851800b22 [INFO] running `Command { std: "docker" "start" "-a" "4f4754119ea035cc9888cd32d2613f252acfe353e0a93d643832d88851800b22", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.181 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling zmij v1.0.20 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling uuid v1.20.0 [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 futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.44 [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 icu_provider v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling backon v1.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling opencode-sdk v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.78s [INFO] running `Command { std: "docker" "inspect" "4f4754119ea035cc9888cd32d2613f252acfe353e0a93d643832d88851800b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f4754119ea035cc9888cd32d2613f252acfe353e0a93d643832d88851800b22", kill_on_drop: false }` [INFO] [stdout] 4f4754119ea035cc9888cd32d2613f252acfe353e0a93d643832d88851800b22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b1339e034dc0034c97c70ba44ce79302c4c4683e92b5cd01caa56411c75485d6 [INFO] running `Command { std: "docker" "start" "-a" "b1339e034dc0034c97c70ba44ce79302c4c4683e92b5cd01caa56411c75485d6", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling backon v1.6.0 [INFO] [stderr] Compiling deadpool v0.12.3 [INFO] [stderr] Compiling tokio-test v0.4.5 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling wiremock v0.6.5 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling opencode-sdk v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_list_sessions.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use opencode_rs::runtime::ManagedRuntime; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - use opencode_rs::runtime::ManagedRuntime; [INFO] [stdout] 7 + use opencode_sdk::runtime::ManagedRuntime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_streaming.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use opencode_rs::runtime::ManagedRuntime; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use opencode_rs::runtime::ManagedRuntime; [INFO] [stdout] 5 + use opencode_sdk::runtime::ManagedRuntime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_streaming.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use opencode_rs::types::event::{Event, SessionErrorProps}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use opencode_rs::types::event::{Event, SessionErrorProps}; [INFO] [stdout] 6 + use opencode_sdk::types::event::{Event, SessionErrorProps}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_streaming.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use opencode_rs::types::message::Part; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - use opencode_rs::types::message::Part; [INFO] [stdout] 7 + use opencode_sdk::types::message::Part; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_streaming.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use opencode_rs::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - use opencode_rs::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] 8 + use opencode_sdk::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_streaming.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use opencode_rs::types::project::ModelRef; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - use opencode_rs::types::project::ModelRef; [INFO] [stdout] 9 + use opencode_sdk::types::project::ModelRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_streaming.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use opencode_rs::types::session::CreateSessionRequest; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - use opencode_rs::types::session::CreateSessionRequest; [INFO] [stdout] 10 + use opencode_sdk::types::session::CreateSessionRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `opencode_rs` [INFO] [stdout] --> tests/mock_server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use opencode_rs::ClientBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use opencode_rs::ClientBuilder; [INFO] [stdout] 5 + use opencode_sdk::ClientBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_helloworld.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use opencode_rs::runtime::ManagedRuntime; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use opencode_rs::runtime::ManagedRuntime; [INFO] [stdout] 5 + use opencode_sdk::runtime::ManagedRuntime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_helloworld.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use opencode_rs::types::message::Part; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use opencode_rs::types::message::Part; [INFO] [stdout] 6 + use opencode_sdk::types::message::Part; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_helloworld.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use opencode_rs::types::project::ModelRef; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - use opencode_rs::types::project::ModelRef; [INFO] [stdout] 7 + use opencode_sdk::types::project::ModelRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_helloworld.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use opencode_rs::types::session::SessionCreateOptions; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - use opencode_rs::types::session::SessionCreateOptions; [INFO] [stdout] 8 + use opencode_sdk::types::session::SessionCreateOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_get_conversation.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use opencode_rs::types::message::{Message, Part, ToolState}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - use opencode_rs::types::message::{Message, Part, ToolState}; [INFO] [stdout] 9 + use opencode_sdk::types::message::{Message, Part, ToolState}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_get_conversation.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use opencode_rs::types::session::Session; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - use opencode_rs::types::session::Session; [INFO] [stdout] 10 + use opencode_sdk::types::session::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `opencode_rs` [INFO] [stdout] --> examples/oc_get_conversation.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use opencode_rs::ClientBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - use opencode_rs::ClientBuilder; [INFO] [stdout] 8 + use opencode_sdk::ClientBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_list_projects.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use opencode_rs::runtime::ManagedRuntime; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - use opencode_rs::runtime::ManagedRuntime; [INFO] [stdout] 8 + use opencode_sdk::runtime::ManagedRuntime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_list_projects.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use opencode_rs::types::project::Project; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - use opencode_rs::types::project::Project; [INFO] [stdout] 9 + use opencode_sdk::types::project::Project; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/basic.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use opencode_rs::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - use opencode_rs::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] 9 + use opencode_sdk::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `opencode-sdk` (example "oc_list_sessions") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/basic.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use opencode_rs::types::session::CreateSessionRequest; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - use opencode_rs::types::session::CreateSessionRequest; [INFO] [stdout] 10 + use opencode_sdk::types::session::CreateSessionRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `opencode_rs` [INFO] [stdout] --> examples/basic.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use opencode_rs::ClientBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - use opencode_rs::ClientBuilder; [INFO] [stdout] 8 + use opencode_sdk::ClientBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/full_workflow.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use opencode_rs::types::event::Event; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 11 - use opencode_rs::types::event::Event; [INFO] [stdout] 11 + use opencode_sdk::types::event::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/full_workflow.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use opencode_rs::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 12 - use opencode_rs::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] 12 + use opencode_sdk::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/full_workflow.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use opencode_rs::types::project::ModelRef; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 13 - use opencode_rs::types::project::ModelRef; [INFO] [stdout] 13 + use opencode_sdk::types::project::ModelRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/full_workflow.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use opencode_rs::types::session::{CreateSessionRequest, UpdateSessionRequest}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - use opencode_rs::types::session::{CreateSessionRequest, UpdateSessionRequest}; [INFO] [stdout] 14 + use opencode_sdk::types::session::{CreateSessionRequest, UpdateSessionRequest}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `opencode_rs` [INFO] [stdout] --> examples/full_workflow.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use opencode_rs::ClientBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - use opencode_rs::ClientBuilder; [INFO] [stdout] 10 + use opencode_sdk::ClientBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/streaming.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use opencode_rs::types::event::Event; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - use opencode_rs::types::event::Event; [INFO] [stdout] 9 + use opencode_sdk::types::event::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/streaming.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use opencode_rs::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - use opencode_rs::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] 10 + use opencode_sdk::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/streaming.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use opencode_rs::types::project::ModelRef; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 11 - use opencode_rs::types::project::ModelRef; [INFO] [stdout] 11 + use opencode_sdk::types::project::ModelRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `opencode_rs` [INFO] [stdout] --> examples/streaming.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use opencode_rs::ClientBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - use opencode_rs::ClientBuilder; [INFO] [stdout] 8 + use opencode_sdk::ClientBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opencode-sdk` (example "basic") due to 3 previous errors [INFO] [stderr] error: could not compile `opencode-sdk` (example "oc_helloworld") due to 4 previous errors [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_clean_conversations.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use opencode_rs::runtime::ManagedRuntime; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - use opencode_rs::runtime::ManagedRuntime; [INFO] [stdout] 8 + use opencode_sdk::runtime::ManagedRuntime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `opencode-sdk` (example "oc_get_conversation") due to 3 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> tests/mock_server.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | Err(opencode_rs::OpencodeError::Http { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 50 - Err(opencode_rs::OpencodeError::Http { [INFO] [stdout] 50 + Err(opencode_sdk::OpencodeError::Http { [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use opencode_sdk::OpencodeError; [INFO] [stdout] | [INFO] [stdout] help: if you import `OpencodeError`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 50 - Err(opencode_rs::OpencodeError::Http { [INFO] [stdout] 50 + Err(OpencodeError::Http { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> tests/mock_server.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | .create(&opencode_rs::types::CreateSessionRequest::default()) [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 82 - .create(&opencode_rs::types::CreateSessionRequest::default()) [INFO] [stdout] 82 + .create(&opencode_sdk::types::CreateSessionRequest::default()) [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use opencode_sdk::types::CreateSessionRequest; [INFO] [stdout] | [INFO] [stdout] help: if you import `CreateSessionRequest`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 82 - .create(&opencode_rs::types::CreateSessionRequest::default()) [INFO] [stdout] 82 + .create(&CreateSessionRequest::default()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> tests/mock_server.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | .create(&opencode_rs::types::CreateSessionRequest::default()) [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 151 - .create(&opencode_rs::types::CreateSessionRequest::default()) [INFO] [stdout] 151 + .create(&opencode_sdk::types::CreateSessionRequest::default()) [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use opencode_sdk::types::CreateSessionRequest; [INFO] [stdout] | [INFO] [stdout] help: if you import `CreateSessionRequest`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 151 - .create(&opencode_rs::types::CreateSessionRequest::default()) [INFO] [stdout] 151 + .create(&CreateSessionRequest::default()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `opencode-sdk` (example "oc_clean_conversations") due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_streaming.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | mut sub: opencode_rs::sse::SseSubscription, [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 29 - mut sub: opencode_rs::sse::SseSubscription, [INFO] [stdout] 29 + mut sub: opencode_sdk::sse::SseSubscription, [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 5 + use opencode_sdk::sse; [INFO] [stdout] | [INFO] [stdout] help: if you import `sse`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - mut sub: opencode_rs::sse::SseSubscription, [INFO] [stdout] 29 + mut sub: sse::SseSubscription, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `opencode-sdk` (example "streaming") due to 4 previous errors [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> examples/oc_streaming.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | fn latest_assistant_text(msgs: &[opencode_rs::types::message::Message]) -> String { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 88 - fn latest_assistant_text(msgs: &[opencode_rs::types::message::Message]) -> String { [INFO] [stdout] 88 + fn latest_assistant_text(msgs: &[opencode_sdk::types::message::Message]) -> String { [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 5 + use opencode_sdk::types::message; [INFO] [stdout] | [INFO] [stdout] help: if you import `message`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 88 - fn latest_assistant_text(msgs: &[opencode_rs::types::message::Message]) -> String { [INFO] [stdout] 88 + fn latest_assistant_text(msgs: &[message::Message]) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opencode-sdk` (example "full_workflow") due to 5 previous errors [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> tests/integration/http_endpoints.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use opencode_rs::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - use opencode_rs::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] 9 + use opencode_sdk::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `opencode-sdk` (test "mock_server") due to 4 previous errors [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> tests/integration/server_sse.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use opencode_rs::types::Event; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use opencode_rs::types::Event; [INFO] [stdout] 6 + use opencode_sdk::types::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> tests/integration.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use opencode_rs::types::event::Event; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - use opencode_rs::types::event::Event; [INFO] [stdout] 17 + use opencode_sdk::types::event::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> tests/integration.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use opencode_rs::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 18 - use opencode_rs::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] 18 + use opencode_sdk::types::message::{PromptPart, PromptRequest}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> tests/integration.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use opencode_rs::types::session::CreateSessionRequest; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 19 - use opencode_rs::types::session::CreateSessionRequest; [INFO] [stdout] 19 + use opencode_sdk::types::session::CreateSessionRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `opencode_rs` [INFO] [stdout] --> tests/integration.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use opencode_rs::ClientBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - use opencode_rs::ClientBuilder; [INFO] [stdout] 16 + use opencode_sdk::ClientBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opencode-sdk` (example "oc_list_projects") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> tests/integration/http_endpoints.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | opencode_rs::types::Part::Text { text, .. } => { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 340 - opencode_rs::types::Part::Text { text, .. } => { [INFO] [stdout] 340 + opencode_sdk::types::Part::Text { text, .. } => { [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use opencode_sdk::types::Part; [INFO] [stdout] | [INFO] [stdout] help: if you import `Part`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 340 - opencode_rs::types::Part::Text { text, .. } => { [INFO] [stdout] 340 + Part::Text { text, .. } => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> tests/integration/http_endpoints.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | opencode_rs::types::Part::Tool { tool, state, .. } => { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 344 - opencode_rs::types::Part::Tool { tool, state, .. } => { [INFO] [stdout] 344 + opencode_sdk::types::Part::Tool { tool, state, .. } => { [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use opencode_sdk::types::Part; [INFO] [stdout] | [INFO] [stdout] help: if you import `Part`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 344 - opencode_rs::types::Part::Tool { tool, state, .. } => { [INFO] [stdout] 344 + Part::Tool { tool, state, .. } => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> tests/integration/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | opencode_rs::Client::builder() [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 27 - opencode_rs::Client::builder() [INFO] [stdout] 27 + opencode_sdk::Client::builder() [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 12 + use opencode_sdk::Client; [INFO] [stdout] | [INFO] [stdout] 12 + use reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 27 - opencode_rs::Client::builder() [INFO] [stdout] 27 + Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `opencode-sdk` (example "oc_streaming") due to 8 previous errors [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> tests/integration/mod.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn create_test_client() -> opencode_rs::Client { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 26 - pub async fn create_test_client() -> opencode_rs::Client { [INFO] [stdout] 26 + pub async fn create_test_client() -> opencode_sdk::Client { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `opencode_rs` in this scope [INFO] [stdout] --> tests/integration.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | fn build_client() -> opencode_rs::Client { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `opencode_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 42 - fn build_client() -> opencode_rs::Client { [INFO] [stdout] 42 + fn build_client() -> opencode_sdk::Client { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opencode-sdk` (test "integration") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "b1339e034dc0034c97c70ba44ce79302c4c4683e92b5cd01caa56411c75485d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1339e034dc0034c97c70ba44ce79302c4c4683e92b5cd01caa56411c75485d6", kill_on_drop: false }` [INFO] [stdout] b1339e034dc0034c97c70ba44ce79302c4c4683e92b5cd01caa56411c75485d6