Skip to content

Feat/graphql api

Feat/graphql api #20

Triggered via pull request December 20, 2024 00:17
Status Failure
Total duration 45s
Artifacts

ci.yaml

on: pull_request
stable / fmt
11s
stable / fmt
stable / clippy
17s
stable / clippy
stable / test
36s
stable / test
stable / doc
20s
stable / doc
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 4 warnings
unresolved import `sink::kg::mapping`: codegen/src/lib.rs#L5
error[E0432]: unresolved import `sink::kg::mapping` --> codegen/src/lib.rs:5:15 | 5 | use sink::kg::mapping::{Named, Node}; | ^^^^^^^ could not find `mapping` in `kg`
no method named `attribute_nodes` found for reference `&sink::kg::Client` in the current scope: codegen/src/lib.rs#L164
error[E0599]: no method named `attribute_nodes` found for reference `&sink::kg::Client` in the current scope --> codegen/src/lib.rs:164:20 | 164 | let attrs = kg.attribute_nodes::<Named>(entity.id()).await?; | ^^^^^^^^^^^^^^^ method not found in `&Client`
no method named `value_type_node` found for reference `&sink::kg::Client` in the current scope: codegen/src/lib.rs#L168
error[E0599]: no method named `value_type_node` found for reference `&sink::kg::Client` in the current scope --> codegen/src/lib.rs:168:33 | 168 | let value_type = kg.value_type_node(attr.id()).await?; | ^^^^^^^^^^^^^^^ method not found in `&Client`
type annotations needed for `std::vec::Vec<_>`: codegen/src/lib.rs#L107
error[E0282]: type annotations needed for `std::vec::Vec<_>` --> codegen/src/lib.rs:107:13 | 107 | let entities = self.into_iter().collect::<Vec<_>>(); | ^^^^^^^^ ... 110 | let count = name_counts.entry(entity.name_or_id()).or_insert(0); | ---------- type must be known at this point | help: consider giving `entities` an explicit type, where the placeholders `_` are specified | 107 | let entities: std::vec::Vec<_> = self.into_iter().collect::<Vec<_>>(); | ++++++++++++++++++
unused import: `StreamExt`: codegen/src/lib.rs#L3
error: unused import: `StreamExt` --> codegen/src/lib.rs:3:23 | 3 | use futures::{stream, StreamExt, TryStreamExt}; | ^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
unused import: `TryStreamExt`: codegen/src/lib.rs#L3
error: unused import: `TryStreamExt` --> codegen/src/lib.rs:3:34 | 3 | use futures::{stream, StreamExt, TryStreamExt}; | ^^^^^^^^^^^^
stable / clippy
Clippy has exited with exit code 101
stable / doc: codegen/src/lib.rs#L5
unresolved import `sink::kg::mapping`
stable / doc: codegen/src/lib.rs#L164
no method named `attribute_nodes` found for reference `&sink::kg::Client` in the current scope
stable / doc: codegen/src/lib.rs#L168
no method named `value_type_node` found for reference `&sink::kg::Client` in the current scope
stable / doc: codegen/src/lib.rs#L107
type annotations needed for `Vec<_>`
stable / doc: codegen/src/lib.rs#L3
unused import: `StreamExt`
stable / doc: codegen/src/lib.rs#L3
unused import: `TryStreamExt`
stable / doc
Process completed with exit code 101.
stable / test: codegen/src/lib.rs#L5
unresolved import `sink::kg::mapping`
stable / test: codegen/src/lib.rs#L164
no method named `attribute_nodes` found for reference `&sink::kg::Client` in the current scope
stable / test: codegen/src/lib.rs#L168
no method named `value_type_node` found for reference `&sink::kg::Client` in the current scope
stable / test: codegen/src/lib.rs#L107
type annotations needed for `Vec<_>`
stable / test: codegen/src/lib.rs#L3
unused import: `StreamExt`
stable / test: codegen/src/lib.rs#L3
unused import: `TryStreamExt`
stable / test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
stable / fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
stable / clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
stable / doc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
stable / test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636