[INFO] cloning repository https://github.com/smeyanoff/rag-system [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smeyanoff/rag-system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmeyanoff%2Frag-system", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmeyanoff%2Frag-system'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db43f7665822c17dcefc3517ea9ff0fa9a3f64d6 [INFO] checking smeyanoff/rag-system against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmeyanoff%2Frag-system" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/smeyanoff/rag-system [INFO] finished tweaking git repo https://github.com/smeyanoff/rag-system [INFO] tweaked toml for git repo https://github.com/smeyanoff/rag-system written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/smeyanoff/rag-system on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/smeyanoff/rag-system 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a996fc308173a059e73201e6c0952884e76688088f9743c2e123dafb9eb073ec [INFO] running `Command { std: "docker" "start" "-a" "a996fc308173a059e73201e6c0952884e76688088f9743c2e123dafb9eb073ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a996fc308173a059e73201e6c0952884e76688088f9743c2e123dafb9eb073ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a996fc308173a059e73201e6c0952884e76688088f9743c2e123dafb9eb073ec", kill_on_drop: false }` [INFO] [stdout] a996fc308173a059e73201e6c0952884e76688088f9743c2e123dafb9eb073ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f10118879139dbdebb0c16f8707b650342d1bb23cb2d0d1cd3137b590fde91f3 [INFO] running `Command { std: "docker" "start" "-a" "f10118879139dbdebb0c16f8707b650342d1bb23cb2d0d1cd3137b590fde91f3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking lru v0.14.0 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking whoami v1.6.0 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking fragile v2.0.1 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking mockall v0.13.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking fast_pool v0.3.7 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Compiling rbs v4.6.2 [INFO] [stderr] Compiling dark-std v0.2.16 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking html_parser v0.6.3 [INFO] [stderr] Checking rbatis-codegen v4.6.5 [INFO] [stderr] Checking fastdate v0.3.36 [INFO] [stderr] Checking rbdc v4.6.0 [INFO] [stderr] Checking rbdc-pool-fast v4.6.0 [INFO] [stderr] Checking rbdc-pg v4.6.1 [INFO] [stderr] Compiling rbatis-macro-driver v4.6.0 [INFO] [stderr] Checking rbatis v4.6.8 [INFO] [stderr] Checking rag v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/service/document.rs:71:58 [INFO] [stdout] | [INFO] [stdout] 71 | doc_repo_clone.clone().save(&doc_clone).await?; [INFO] [stdout] | ---------------------------------------------^ the trait `std::convert::From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anyhow::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/service/document.rs:91:46 [INFO] [stdout] | [INFO] [stdout] 91 | chunk_repo.save(&chunk).await?; [INFO] [stdout] | -----------------------------^ the trait `std::convert::From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anyhow::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/service/document.rs:71:58 [INFO] [stdout] | [INFO] [stdout] 71 | doc_repo_clone.clone().save(&doc_clone).await?; [INFO] [stdout] | ---------------------------------------------^ the trait `std::convert::From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anyhow::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/service/document.rs:91:46 [INFO] [stdout] | [INFO] [stdout] 91 | chunk_repo.save(&chunk).await?; [INFO] [stdout] | -----------------------------^ the trait `std::convert::From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anyhow::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/document.rs:118:52 [INFO] [stdout] | [INFO] [stdout] 118 | let mut document = self.document_repo.read(document_id).await?; [INFO] [stdout] | ---- ^^^^^^^^^^^ expected `rbatis::rbdc::Uuid`, found `uuid::Uuid` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `uuid::Uuid` and `rbatis::rbdc::Uuid` have similar names, but are actually distinct types [INFO] [stdout] note: `uuid::Uuid` is defined in crate `uuid` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/uuid-1.17.0/src/lib.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | pub struct Uuid(Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `rbatis::rbdc::Uuid` is defined in crate `rbdc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rbdc-4.6.0/src/types/uuid.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Uuid(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/domain/document.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | async fn read(&self, doc_id: rbatis::rbdc::Uuid) -> anyhow::Result; [INFO] [stdout] | ^^^^ ------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/service/document.rs:118:70 [INFO] [stdout] | [INFO] [stdout] 118 | let mut document = self.document_repo.read(document_id).await?; [INFO] [stdout] | ------------------------------------------^ the trait `std::convert::From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anyhow::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/document.rs:119:54 [INFO] [stdout] | [INFO] [stdout] 119 | let doc_chunks = self.chunk_repo.read_by_doc(document_id).await?; [INFO] [stdout] | ----------- ^^^^^^^^^^^ expected `rbatis::rbdc::Uuid`, found `uuid::Uuid` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `uuid::Uuid` and `rbatis::rbdc::Uuid` have similar names, but are actually distinct types [INFO] [stdout] note: `uuid::Uuid` is defined in crate `uuid` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/uuid-1.17.0/src/lib.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | pub struct Uuid(Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `rbatis::rbdc::Uuid` is defined in crate `rbdc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rbdc-4.6.0/src/types/uuid.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Uuid(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/domain/document.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | async fn read_by_doc(&self, doc_id: rbatis::rbdc::Uuid) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^^^^^^ ------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/document.rs:118:52 [INFO] [stdout] | [INFO] [stdout] 118 | let mut document = self.document_repo.read(document_id).await?; [INFO] [stdout] | ---- ^^^^^^^^^^^ expected `rbatis::rbdc::Uuid`, found `uuid::Uuid` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `uuid::Uuid` and `rbatis::rbdc::Uuid` have similar names, but are actually distinct types [INFO] [stdout] note: `uuid::Uuid` is defined in crate `uuid` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/uuid-1.17.0/src/lib.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | pub struct Uuid(Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `rbatis::rbdc::Uuid` is defined in crate `rbdc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rbdc-4.6.0/src/types/uuid.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Uuid(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/domain/document.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | async fn read(&self, doc_id: rbatis::rbdc::Uuid) -> anyhow::Result; [INFO] [stdout] | ^^^^ ------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/service/document.rs:119:72 [INFO] [stdout] | [INFO] [stdout] 119 | let doc_chunks = self.chunk_repo.read_by_doc(document_id).await?; [INFO] [stdout] | ----------------------------------------------^ the trait `std::convert::From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anyhow::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/service/document.rs:118:70 [INFO] [stdout] | [INFO] [stdout] 118 | let mut document = self.document_repo.read(document_id).await?; [INFO] [stdout] | ------------------------------------------^ the trait `std::convert::From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anyhow::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/service/document.rs:130:50 [INFO] [stdout] | [INFO] [stdout] 130 | chunk_repo.delete(chunk.id).await?; [INFO] [stdout] | ---------------------------------^ the trait `std::convert::From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anyhow::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/service/document.rs:157:46 [INFO] [stdout] | [INFO] [stdout] 157 | chunk_repo.save(&chunk).await?; [INFO] [stdout] | -----------------------------^ the trait `std::convert::From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anyhow::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/document.rs:119:54 [INFO] [stdout] | [INFO] [stdout] 119 | let doc_chunks = self.chunk_repo.read_by_doc(document_id).await?; [INFO] [stdout] | ----------- ^^^^^^^^^^^ expected `rbatis::rbdc::Uuid`, found `uuid::Uuid` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `uuid::Uuid` and `rbatis::rbdc::Uuid` have similar names, but are actually distinct types [INFO] [stdout] note: `uuid::Uuid` is defined in crate `uuid` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/uuid-1.17.0/src/lib.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | pub struct Uuid(Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `rbatis::rbdc::Uuid` is defined in crate `rbdc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rbdc-4.6.0/src/types/uuid.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Uuid(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/domain/document.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | async fn read_by_doc(&self, doc_id: rbatis::rbdc::Uuid) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^^^^^^ ------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/service/document.rs:119:72 [INFO] [stdout] | [INFO] [stdout] 119 | let doc_chunks = self.chunk_repo.read_by_doc(document_id).await?; [INFO] [stdout] | ----------------------------------------------^ the trait `std::convert::From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anyhow::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/service/document.rs:130:50 [INFO] [stdout] | [INFO] [stdout] 130 | chunk_repo.delete(chunk.id).await?; [INFO] [stdout] | ---------------------------------^ the trait `std::convert::From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anyhow::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/service/document.rs:157:46 [INFO] [stdout] | [INFO] [stdout] 157 | chunk_repo.save(&chunk).await?; [INFO] [stdout] | -----------------------------^ the trait `std::convert::From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anyhow::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/unswer.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | self.question_repo.read(question_id).await, [INFO] [stdout] | ---- ^^^^^^^^^^^ expected `rbatis::rbdc::Uuid`, found `uuid::Uuid` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `uuid::Uuid` and `rbatis::rbdc::Uuid` have similar names, but are actually distinct types [INFO] [stdout] note: `uuid::Uuid` is defined in crate `uuid` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/uuid-1.17.0/src/lib.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | pub struct Uuid(Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `rbatis::rbdc::Uuid` is defined in crate `rbdc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rbdc-4.6.0/src/types/uuid.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Uuid(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/domain/question.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | async fn read(&self, question_id: rbatis::rbdc::Uuid) -> Result; [INFO] [stdout] | ^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________- [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result` is not a future [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `std::future::IntoFuture` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::maybe_done` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn maybe_done(future: F) -> MaybeDone { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `maybe_done` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/unswer.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | self.question_repo.read(question_id).await, [INFO] [stdout] | ---- ^^^^^^^^^^^ expected `rbatis::rbdc::Uuid`, found `uuid::Uuid` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `uuid::Uuid` and `rbatis::rbdc::Uuid` have similar names, but are actually distinct types [INFO] [stdout] note: `uuid::Uuid` is defined in crate `uuid` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/uuid-1.17.0/src/lib.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | pub struct Uuid(Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `rbatis::rbdc::Uuid` is defined in crate `rbdc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rbdc-4.6.0/src/types/uuid.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Uuid(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/domain/question.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | async fn read(&self, question_id: rbatis::rbdc::Uuid) -> Result; [INFO] [stdout] | ^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________- [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result` is not a future [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `std::future::IntoFuture` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::maybe_done` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn maybe_done(future: F) -> MaybeDone { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `maybe_done` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/unswer.rs:53:46 [INFO] [stdout] | [INFO] [stdout] 53 | self.question_embeding_repo.read(question_id).await [INFO] [stdout] | ---- ^^^^^^^^^^^ expected `rbatis::rbdc::Uuid`, found `uuid::Uuid` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `uuid::Uuid` and `rbatis::rbdc::Uuid` have similar names, but are actually distinct types [INFO] [stdout] note: `uuid::Uuid` is defined in crate `uuid` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/uuid-1.17.0/src/lib.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | pub struct Uuid(Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `rbatis::rbdc::Uuid` is defined in crate `rbdc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rbdc-4.6.0/src/types/uuid.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Uuid(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/domain/embedding.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | async fn read(&self, question_id: rbatis::rbdc::Uuid) -> Result; [INFO] [stdout] | ^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________- [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result` is not a future [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `std::future::IntoFuture` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::maybe_done` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn maybe_done(future: F) -> MaybeDone { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `maybe_done` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `poll` exists for struct `Pin<&mut MaybeDone>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ method cannot be called on `Pin<&mut MaybeDone>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: futures::Future` [INFO] [stdout] which is required by `tokio::future::maybe_done::MaybeDone>: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rag-a9c61aa44dbfb6e5.long-type-8817805753668884994.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/unswer.rs:53:46 [INFO] [stdout] | [INFO] [stdout] 53 | self.question_embeding_repo.read(question_id).await [INFO] [stdout] | ---- ^^^^^^^^^^^ expected `rbatis::rbdc::Uuid`, found `uuid::Uuid` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `uuid::Uuid` and `rbatis::rbdc::Uuid` have similar names, but are actually distinct types [INFO] [stdout] note: `uuid::Uuid` is defined in crate `uuid` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/uuid-1.17.0/src/lib.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | pub struct Uuid(Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `rbatis::rbdc::Uuid` is defined in crate `rbdc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rbdc-4.6.0/src/types/uuid.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Uuid(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/domain/embedding.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | async fn read(&self, question_id: rbatis::rbdc::Uuid) -> Result; [INFO] [stdout] | ^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________- [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result` is not a future [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `std::future::IntoFuture` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::maybe_done` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn maybe_done(future: F) -> MaybeDone { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `maybe_done` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `poll` exists for struct `Pin<&mut MaybeDone>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: futures::Future` [INFO] [stdout] which is required by `tokio::future::maybe_done::MaybeDone>: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rag-a9c61aa44dbfb6e5.long-type-12954501390794804669.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `poll` exists for struct `Pin<&mut MaybeDone>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ method cannot be called on `Pin<&mut MaybeDone>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: futures::Future` [INFO] [stdout] which is required by `tokio::future::maybe_done::MaybeDone>: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rag-ed218eef164f485b.long-type-16834516261517552966.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `take_output` exists for struct `Pin<&mut MaybeDone>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ method cannot be called on `Pin<&mut MaybeDone>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rag-a9c61aa44dbfb6e5.long-type-8431573820934835242.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `poll` exists for struct `Pin<&mut MaybeDone>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: futures::Future` [INFO] [stdout] which is required by `tokio::future::maybe_done::MaybeDone>: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rag-ed218eef164f485b.long-type-15092947745147379833.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `take_output` exists for struct `Pin<&mut MaybeDone>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rag-a9c61aa44dbfb6e5.long-type-7579040900262095801.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/service/unswer.rs:71:60 [INFO] [stdout] | [INFO] [stdout] 71 | let chunk = chunk_repo.read(chunk_id).await?; [INFO] [stdout] | -------------------------------^ the trait `std::convert::From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anyhow::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `take_output` exists for struct `Pin<&mut MaybeDone>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ method cannot be called on `Pin<&mut MaybeDone>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rag-ed218eef164f485b.long-type-9807816707788437918.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `take_output` exists for struct `Pin<&mut MaybeDone>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rag-ed218eef164f485b.long-type-2492148153815741639.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/service/unswer.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let (question, question_embedding) = tokio::join!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 52 | | self.question_repo.read(question_id).await, [INFO] [stdout] 53 | | self.question_embeding_repo.read(question_id).await [INFO] [stdout] 54 | | )?; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `tokio::future::maybe_done::MaybeDone` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/future/maybe_done.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pin_project! { [INFO] [stdout] 9 | | /// A future that may have completed. [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | #[project = MaybeDoneProj] [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub enum MaybeDone { [INFO] [stdout] | | --------- required by a bound in this enum [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ required by this bound in `MaybeDone` [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/service/unswer.rs:71:60 [INFO] [stdout] | [INFO] [stdout] 71 | let chunk = chunk_repo.read(chunk_id).await?; [INFO] [stdout] | -------------------------------^ the trait `std::convert::From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anyhow::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/unswer.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | id: Uuid::new_v4(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `rbatis::rbdc::Uuid`, found `uuid::Uuid` [INFO] [stdout] | [INFO] [stdout] = note: `uuid::Uuid` and `rbatis::rbdc::Uuid` have similar names, but are actually distinct types [INFO] [stdout] note: `uuid::Uuid` is defined in crate `uuid` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/uuid-1.17.0/src/lib.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | pub struct Uuid(Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `rbatis::rbdc::Uuid` is defined in crate `rbdc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rbdc-4.6.0/src/types/uuid.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Uuid(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/unswer.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | question_id: question_id.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `rbatis::rbdc::Uuid`, found `uuid::Uuid` [INFO] [stdout] | [INFO] [stdout] = note: `uuid::Uuid` and `rbatis::rbdc::Uuid` have similar names, but are actually distinct types [INFO] [stdout] note: `uuid::Uuid` is defined in crate `uuid` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/uuid-1.17.0/src/lib.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | pub struct Uuid(Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `rbatis::rbdc::Uuid` is defined in crate `rbdc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rbdc-4.6.0/src/types/uuid.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Uuid(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/unswer.rs:133:44 [INFO] [stdout] | [INFO] [stdout] 133 | .returning(move |_, _| Ok(vec![chunk_id])); [INFO] [stdout] | ^^^^^^^^ expected `rbatis::rbdc::Uuid`, found `uuid::Uuid` [INFO] [stdout] | [INFO] [stdout] = note: `uuid::Uuid` and `rbatis::rbdc::Uuid` have similar names, but are actually distinct types [INFO] [stdout] note: `uuid::Uuid` is defined in crate `uuid` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/uuid-1.17.0/src/lib.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | pub struct Uuid(Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `rbatis::rbdc::Uuid` is defined in crate `rbdc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rbdc-4.6.0/src/types/uuid.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Uuid(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/unswer.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 137 | Ok(Chunk::new( [INFO] [stdout] | ---------- arguments to this function are incorrect [INFO] [stdout] 138 | doc_id.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `rbatis::rbdc::Uuid`, found `uuid::Uuid` [INFO] [stdout] | [INFO] [stdout] = note: `uuid::Uuid` and `rbatis::rbdc::Uuid` have similar names, but are actually distinct types [INFO] [stdout] note: `uuid::Uuid` is defined in crate `uuid` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/uuid-1.17.0/src/lib.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | pub struct Uuid(Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `rbatis::rbdc::Uuid` is defined in crate `rbdc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rbdc-4.6.0/src/types/uuid.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Uuid(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/domain/document.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new(doc_id: rbatis::rbdc::Uuid, text: String) -> Self { [INFO] [stdout] | ^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `document.id` which is behind a shared reference [INFO] [stdout] --> src/service/document.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | chunks.push(Chunk::new(document.id, current_chunk.to_string())); [INFO] [stdout] | ^^^^^^^^^^^ move occurs because `document.id` has type `rbatis::rbdc::Uuid`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 48 | chunks.push(Chunk::new(document.id.clone(), current_chunk.to_string())); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `document.id` which is behind a shared reference [INFO] [stdout] --> src/service/document.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | chunks.push(Chunk::new(document.id, current_chunk.to_string())); [INFO] [stdout] | ^^^^^^^^^^^ move occurs because `document.id` has type `rbatis::rbdc::Uuid`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 57 | chunks.push(Chunk::new(document.id.clone(), current_chunk.to_string())); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let text = " [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0507, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rag` (bin "rag" test) due to 33 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0507]: cannot move out of `document.id` which is behind a shared reference [INFO] [stdout] --> src/service/document.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | chunks.push(Chunk::new(document.id, current_chunk.to_string())); [INFO] [stdout] | ^^^^^^^^^^^ move occurs because `document.id` has type `rbatis::rbdc::Uuid`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 48 | chunks.push(Chunk::new(document.id.clone(), current_chunk.to_string())); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `document.id` which is behind a shared reference [INFO] [stdout] --> src/service/document.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | chunks.push(Chunk::new(document.id, current_chunk.to_string())); [INFO] [stdout] | ^^^^^^^^^^^ move occurs because `document.id` has type `rbatis::rbdc::Uuid`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 57 | chunks.push(Chunk::new(document.id.clone(), current_chunk.to_string())); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let text = " [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0507, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rag` (bin "rag") due to 29 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f10118879139dbdebb0c16f8707b650342d1bb23cb2d0d1cd3137b590fde91f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f10118879139dbdebb0c16f8707b650342d1bb23cb2d0d1cd3137b590fde91f3", kill_on_drop: false }` [INFO] [stdout] f10118879139dbdebb0c16f8707b650342d1bb23cb2d0d1cd3137b590fde91f3