[INFO] cloning repository https://github.com/xiuxiu62/autogen-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiuxiu62/autogen-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiuxiu62%2Fautogen-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiuxiu62%2Fautogen-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b548bc205704622c07f5775f427a642f722ad69b [INFO] testing xiuxiu62/autogen-rs against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiuxiu62%2Fautogen-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/xiuxiu62/autogen-rs [INFO] finished tweaking git repo https://github.com/xiuxiu62/autogen-rs [INFO] tweaked toml for git repo https://github.com/xiuxiu62/autogen-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xiuxiu62/autogen-rs on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xiuxiu62/autogen-rs 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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7c7960cd3be1dc8012887222620bc245d7da998b8fa8561ba690429005df60b [INFO] running `Command { std: "docker" "start" "-a" "d7c7960cd3be1dc8012887222620bc245d7da998b8fa8561ba690429005df60b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7c7960cd3be1dc8012887222620bc245d7da998b8fa8561ba690429005df60b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7c7960cd3be1dc8012887222620bc245d7da998b8fa8561ba690429005df60b", kill_on_drop: false }` [INFO] [stdout] d7c7960cd3be1dc8012887222620bc245d7da998b8fa8561ba690429005df60b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b937a83e3aede870c6b91057047c5341bc4773566b04da55537c03b7266429e1 [INFO] running `Command { std: "docker" "start" "-a" "b937a83e3aede870c6b91057047c5341bc4773566b04da55537c03b7266429e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling thiserror v1.0.52 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling webpki-roots v0.25.3 [INFO] [stderr] Compiling winnow v0.5.31 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.52 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.23 [INFO] [stderr] Compiling chatgpt_rs v1.2.3 [INFO] [stderr] Compiling sophon-core v0.1.0 (/opt/rustwide/workdir/sophon-core) [INFO] [stdout] warning: unused imports: `AtomicU16`, `RwLock`, `collections::HashMap`, and `self` [INFO] [stdout] --> sophon-core/src/entity.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | sync::{ [INFO] [stdout] 5 | atomic::{self, AtomicU16}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] 6 | Arc, RwLock, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> sophon-core/src/entity.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Arc, RwLock, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entities` [INFO] [stdout] --> sophon-core/src/entity.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | entities: RwLock>>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IdGenerator` is more private than the item `EntityManagerTemp::<'agent, B>::new` [INFO] [stdout] --> sophon-core/src/entity.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | / pub fn new( [INFO] [stdout] 44 | | id_generator: IdGenerator, [INFO] [stdout] 45 | | entities: RwLock>>, [INFO] [stdout] 46 | | ) -> Self { [INFO] [stdout] | |_________________^ associated function `EntityManagerTemp::<'agent, B>::new` is reachable at visibility `pub(in crate::entity)` [INFO] [stdout] | [INFO] [stdout] note: but type `IdGenerator` is only usable at visibility `pub(self)` [INFO] [stdout] --> sophon-core/src/entity.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | struct IdGenerator(AtomicU16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `subscriber` are never read [INFO] [stdout] --> sophon-core/src/agent/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Agent<'agent, B> [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | name: Cow<'agent, str>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | subscriber: MessageSubscriber<'agent>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_read` is never used [INFO] [stdout] --> sophon-core/src/agent/mod.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 21 | / impl<'agent, B> Agent<'agent, B> [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | for<'backend> B: Backend<'backend>, [INFO] [stdout] | |_______________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn try_read(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_read` is never used [INFO] [stdout] --> sophon-core/src/agent/mod.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 63 | / impl AgentInternal [INFO] [stdout] 64 | | where [INFO] [stdout] 65 | | for<'backend> B: Backend<'backend>, [INFO] [stdout] | |_______________________________________- method in this implementation [INFO] [stdout] 66 | { [INFO] [stdout] 67 | pub fn try_read(&self) -> TryLockResult> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `agent` and `dependents` are never read [INFO] [stdout] --> sophon-core/src/entity.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Entity<'agent, B> [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | agent: Agent<'agent, B>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 95 | dependents: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityManager` is never constructed [INFO] [stdout] --> sophon-core/src/entity.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct EntityManager<'agent, B> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityManagerTemp` is never constructed [INFO] [stdout] --> sophon-core/src/entity.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct EntityManagerTemp<'agent, B> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> sophon-core/src/entity.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 39 | / impl<'agent, B> EntityManagerTemp<'agent, B> [INFO] [stdout] 40 | | where [INFO] [stdout] 41 | | for<'backend> B: Backend<'backend>, [INFO] [stdout] | |___________________________________________- associated function in this implementation [INFO] [stdout] 42 | { [INFO] [stdout] 43 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> sophon-core/src/entity.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 54 | / impl<'agent, B> EntityManager<'agent, B> [INFO] [stdout] 55 | | where [INFO] [stdout] 56 | | for<'backend> B: Backend<'backend>, [INFO] [stdout] | |___________________________________________- associated items in this implementation [INFO] [stdout] 57 | { [INFO] [stdout] 58 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn insert(&self, agent: Agent<'agent, B>) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IdGenerator` is never constructed [INFO] [stdout] --> sophon-core/src/entity.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | struct IdGenerator(AtomicU16); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `allocate` are never used [INFO] [stdout] --> sophon-core/src/entity.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 75 | impl IdGenerator { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 76 | #[inline] [INFO] [stdout] 77 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn allocate(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> sophon-core/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn query( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 14 ~ fn query( [INFO] [stdout] 15 | &'a mut self, [INFO] [stdout] 16 | message: Message, [INFO] [stdout] 17 | publisher: Arc>, [INFO] [stdout] 18 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> sophon-core/src/agent/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / self.try_write() [INFO] [stdout] 27 | | .unwrap() [INFO] [stdout] 28 | | .query(message, self.publisher.clone()); [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sophon-backends v0.1.0 (/opt/rustwide/workdir/sophon-backends) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `error` [INFO] [stdout] --> sophon-backends/src/user/active.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | type Error = error::Error; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `error` [INFO] [stdout] | [INFO] [stdout] note: module `crate::openai::error` exists but is inaccessible [INFO] [stdout] --> sophon-backends/src/openai/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod error; [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] help: to make use of source file sophon-backends/src/user/error.rs, use `mod error` in this file to declare the module [INFO] [stdout] --> sophon-backends/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + mod error; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::user::error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::sync::mpsc::error; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::sync::watch::error; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `error` [INFO] [stdout] --> sophon-backends/src/user/active.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | ) -> error::Result<()> { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `error` [INFO] [stdout] | [INFO] [stdout] note: module `crate::openai::error` exists but is inaccessible [INFO] [stdout] --> sophon-backends/src/openai/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod error; [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] help: to make use of source file sophon-backends/src/user/error.rs, use `mod error` in this file to declare the module [INFO] [stdout] --> sophon-backends/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + mod error; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::user::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `error` [INFO] [stdout] --> sophon-backends/src/user/passive.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | type Error = error::Error; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `error` [INFO] [stdout] | [INFO] [stdout] note: module `crate::openai::error` exists but is inaccessible [INFO] [stdout] --> sophon-backends/src/openai/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod error; [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] help: to make use of source file sophon-backends/src/user/error.rs, use `mod error` in this file to declare the module [INFO] [stdout] --> sophon-backends/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + mod error; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::user::error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::sync::mpsc::error; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::sync::watch::error; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> sophon-backends/src/user/passive.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | message: Message, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use sophon_core::message::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> sophon-backends/src/user/passive.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | publisher: Arc>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MessagePublisher` in this scope [INFO] [stdout] --> sophon-backends/src/user/passive.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | publisher: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use sophon_core::message::MessagePublisher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `error` [INFO] [stdout] --> sophon-backends/src/user/passive.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | ) -> error::Result<()> { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `error` [INFO] [stdout] | [INFO] [stdout] note: module `crate::openai::error` exists but is inaccessible [INFO] [stdout] --> sophon-backends/src/openai/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod error; [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] help: to make use of source file sophon-backends/src/user/error.rs, use `mod error` in this file to declare the module [INFO] [stdout] --> sophon-backends/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + mod error; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::user::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> sophon-backends/src/openai/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | message: Message, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `publisher` [INFO] [stdout] --> sophon-backends/src/openai/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | publisher: Arc>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_publisher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sophon-backends` (lib) due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b937a83e3aede870c6b91057047c5341bc4773566b04da55537c03b7266429e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b937a83e3aede870c6b91057047c5341bc4773566b04da55537c03b7266429e1", kill_on_drop: false }` [INFO] [stdout] b937a83e3aede870c6b91057047c5341bc4773566b04da55537c03b7266429e1