[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] checking xiuxiu62/autogen-rs against master#fe55364329579d361b1ab565728bc033a7dba07e for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiuxiu62%2Fautogen-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xiuxiu62/autogen-rs on toolchain fe55364329579d361b1ab565728bc033a7dba07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "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" "+fe55364329579d361b1ab565728bc033a7dba07e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chatgpt_rs v1.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 053666f030eb130c7d784fcd277178067e7b2568dabddb0f1b6bacf1eb37b4a9 [INFO] running `Command { std: "docker" "start" "-a" "053666f030eb130c7d784fcd277178067e7b2568dabddb0f1b6bacf1eb37b4a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "053666f030eb130c7d784fcd277178067e7b2568dabddb0f1b6bacf1eb37b4a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "053666f030eb130c7d784fcd277178067e7b2568dabddb0f1b6bacf1eb37b4a9", kill_on_drop: false }` [INFO] [stdout] 053666f030eb130c7d784fcd277178067e7b2568dabddb0f1b6bacf1eb37b4a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+fe55364329579d361b1ab565728bc033a7dba07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d99408fd3c33f8d0e8da7890a4a38597945a86c2d3e05703b446eacc27e687b7 [INFO] running `Command { std: "docker" "start" "-a" "d99408fd3c33f8d0e8da7890a4a38597945a86c2d3e05703b446eacc27e687b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.52 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking webpki-roots v0.25.3 [INFO] [stderr] Checking winnow v0.5.31 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling cc v1.0.83 [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] Checking tokio v1.35.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_json v1.0.108 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking chatgpt_rs v1.2.3 [INFO] [stderr] Checking 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 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: 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: 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: 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] [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] Checking 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] [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 imports: `AsyncBufReadExt`, `BufReader`, `BufWriter`, `self`, and `time::Duration` [INFO] [stdout] --> sophon-backends/src/user/active.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | io::{self, AsyncBufReadExt, BufReader, BufWriter}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 46 | time::Duration, [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 imports: `AsyncBufReadExt`, `BufReader`, `BufWriter`, `self`, and `time::Duration` [INFO] [stdout] --> sophon-backends/src/user/passive.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | io::{self, AsyncBufReadExt, BufReader, BufWriter}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 22 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [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] [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 test) due to 7 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d99408fd3c33f8d0e8da7890a4a38597945a86c2d3e05703b446eacc27e687b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d99408fd3c33f8d0e8da7890a4a38597945a86c2d3e05703b446eacc27e687b7", kill_on_drop: false }` [INFO] [stdout] d99408fd3c33f8d0e8da7890a4a38597945a86c2d3e05703b446eacc27e687b7