WIP container trait bounds #472
rust.yml
on: push
Clippy
39s
Format
22s
Test Nightly
46s
Test Beta
47s
Test Stable
48s
Annotations
22 errors and 30 warnings
Format
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
the trait bound `<SC as containers::scope::ScopeContainer<'sg, 'rslv, LABEL, DATA, DWFO>>::PathContainer<_>: std::clone::Clone` is not satisfied:
scopegraphs/src/containers/scope.rs#L59
error[E0277]: the trait bound `<SC as containers::scope::ScopeContainer<'sg, 'rslv, LABEL, DATA, DWFO>>::PathContainer<_>: std::clone::Clone` is not satisfied
--> scopegraphs/src/containers/scope.rs:59:9
|
59 | FutureWrapper::new(async move { self.0.await.lift_step(lbl, prefix.clone()) })
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `<SC as containers::scope::ScopeContainer<'sg, 'rslv, LABEL, DATA, DWFO>>::PathContainer<_>`
|
note: required by a bound in `future_wrapper::FutureWrapper::<'fut, T>::new`
--> scopegraphs/src/future_wrapper.rs:20:15
|
20 | impl<'fut, T: Clone> FutureWrapper<'fut, T> {
| ^^^^^ required by this bound in `FutureWrapper::<'fut, T>::new`
21 | pub fn new(f: impl Future<Output = T> + 'fut) -> Self {
| --- required by a bound in this associated function
|
impl has stricter requirements than trait:
scopegraphs/src/containers/scope.rs#L55
error[E0276]: impl has stricter requirements than trait
--> scopegraphs/src/containers/scope.rs:55:93
|
13 | type PathContainer<DWFO_INNER> : PathContainer<'sg, 'rslv, LABEL, DATA, DWFO>;
| ----------------------------------------------------------------------------- definition of `PathContainer` from trait
...
55 | SC::PathContainer<DWFO_INNER>: PathContainer<'sg, 'rslv, LABEL, DATA, DWFO_INNER> + Clone
| ^^^^^ impl has extra requirement `<SC as containers::scope::ScopeContainer<'sg, 'rslv, LABEL, DATA, DWFO>>::PathContainer<DWFO_INNER>: std::clone::Clone`
|
impl has stricter requirements than trait:
scopegraphs/src/containers/scope.rs#L55
error[E0276]: impl has stricter requirements than trait
--> scopegraphs/src/containers/scope.rs:55:40
|
13 | type PathContainer<DWFO_INNER> : PathContainer<'sg, 'rslv, LABEL, DATA, DWFO>;
| ----------------------------------------------------------------------------- definition of `PathContainer` from trait
...
55 | SC::PathContainer<DWFO_INNER>: PathContainer<'sg, 'rslv, LABEL, DATA, DWFO_INNER> + Clone
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `<SC as containers::scope::ScopeContainer<'sg, 'rslv, LABEL, DATA, DWFO>>::PathContainer<DWFO_INNER>: containers::path::PathContainer<'sg, 'rslv, LABEL, DATA, DWFO_INNER>`
|
method `lift_step` has 0 type parameters but its trait declaration has 1 type parameter:
scopegraphs/src/containers/scope.rs#L41
error[E0049]: method `lift_step` has 0 type parameters but its trait declaration has 1 type parameter
--> scopegraphs/src/containers/scope.rs:41:17
|
19 | fn lift_step<DWFO_INNER>(self, lbl: LABEL, prefix: Path<LABEL>) -> Self::PathContainer<DWFO_INNER>;
| ---------- expected 1 type parameter
...
41 | fn lift_step(self, lbl: LABEL, prefix: Path<LABEL>) -> Self::PathContainer {
| ^ found 0 type parameters
|
type `PathContainer` has 0 type parameters but its trait declaration has 1 type parameter:
scopegraphs/src/containers/scope.rs#L39
error[E0049]: type `PathContainer` has 0 type parameters but its trait declaration has 1 type parameter
--> scopegraphs/src/containers/scope.rs:39:23
|
13 | type PathContainer<DWFO_INNER> : PathContainer<'sg, 'rslv, LABEL, DATA, DWFO>;
| ---------- expected 1 type parameter
...
39 | type PathContainer = Result<SC::PathContainer, E>;
| ^ found 0 type parameters
|
method `lift_step` has 0 type parameters but its trait declaration has 1 type parameter:
scopegraphs/src/containers/scope.rs#L28
error[E0049]: method `lift_step` has 0 type parameters but its trait declaration has 1 type parameter
--> scopegraphs/src/containers/scope.rs:28:17
|
19 | fn lift_step<DWFO_INNER>(self, lbl: LABEL, prefix: Path<LABEL>) -> Self::PathContainer<DWFO_INNER>;
| ---------- expected 1 type parameter
...
28 | fn lift_step(self, lbl: LABEL, prefix: Path<LABEL>) -> Self::PathContainer {
| ^ found 0 type parameters
|
type `PathContainer` has 0 type parameters but its trait declaration has 1 type parameter:
scopegraphs/src/containers/scope.rs#L26
error[E0049]: type `PathContainer` has 0 type parameters but its trait declaration has 1 type parameter
--> scopegraphs/src/containers/scope.rs:26:23
|
13 | type PathContainer<DWFO_INNER> : PathContainer<'sg, 'rslv, LABEL, DATA, DWFO>;
| ---------- expected 1 type parameter
...
26 | type PathContainer = Vec<Path<LABEL>>;
| ^ found 0 type parameters
|
missing generics for associated type `containers::scope::ScopeContainer::PathContainer`:
scopegraphs/src/containers/scope.rs#L39
error[E0107]: missing generics for associated type `containers::scope::ScopeContainer::PathContainer`
--> scopegraphs/src/containers/scope.rs:39:37
|
39 | type PathContainer = Result<SC::PathContainer, E>;
| ^^^^^^^^^^^^^ expected 1 generic argument
|
note: associated type defined here, with 1 generic parameter: `DWFO_INNER`
--> scopegraphs/src/containers/scope.rs:13:10
|
13 | type PathContainer<DWFO_INNER> : PathContainer<'sg, 'rslv, LABEL, DATA, DWFO>;
| ^^^^^^^^^^^^^ ----------
help: add missing generic argument
|
39 | type PathContainer = Result<SC::PathContainer<DWFO_INNER>, E>;
| ++++++++++++
|
missing generics for associated type `containers::scope::ScopeContainer::PathContainer`:
scopegraphs/src/containers/scope.rs#L37
error[E0107]: missing generics for associated type `containers::scope::ScopeContainer::PathContainer`
--> scopegraphs/src/containers/scope.rs:37:20
|
37 | Result<SC::PathContainer, E>: PathContainer<'sg, 'rslv, LABEL, DATA, DWFO>
| ^^^^^^^^^^^^^ expected 1 generic argument
|
note: associated type defined here, with 1 generic parameter: `DWFO_INNER`
--> scopegraphs/src/containers/scope.rs:13:10
|
13 | type PathContainer<DWFO_INNER> : PathContainer<'sg, 'rslv, LABEL, DATA, DWFO>;
| ^^^^^^^^^^^^^ ----------
help: add missing generic argument
|
37 | Result<SC::PathContainer<DWFO_INNER>, E>: PathContainer<'sg, 'rslv, LABEL, DATA, DWFO>
| ++++++++++++
|
missing generics for associated type `containers::scope::ScopeContainer::PathContainer`:
scopegraphs/src/containers/scope.rs#L41
error[E0107]: missing generics for associated type `containers::scope::ScopeContainer::PathContainer`
--> scopegraphs/src/containers/scope.rs:41:66
|
41 | fn lift_step(self, lbl: LABEL, prefix: Path<LABEL>) -> Self::PathContainer {
| ^^^^^^^^^^^^^ expected 1 generic argument
|
note: associated type defined here, with 1 generic parameter: `DWFO_INNER`
--> scopegraphs/src/containers/scope.rs:13:10
|
13 | type PathContainer<DWFO_INNER> : PathContainer<'sg, 'rslv, LABEL, DATA, DWFO>;
| ^^^^^^^^^^^^^ ----------
help: add missing generic argument
|
41 | fn lift_step(self, lbl: LABEL, prefix: Path<LABEL>) -> Self::PathContainer<DWFO_INNER> {
| ++++++++++++
|
missing generics for associated type `containers::scope::ScopeContainer::PathContainer`:
scopegraphs/src/containers/scope.rs#L28
error[E0107]: missing generics for associated type `containers::scope::ScopeContainer::PathContainer`
--> scopegraphs/src/containers/scope.rs:28:66
|
28 | fn lift_step(self, lbl: LABEL, prefix: Path<LABEL>) -> Self::PathContainer {
| ^^^^^^^^^^^^^ expected 1 generic argument
|
note: associated type defined here, with 1 generic parameter: `DWFO_INNER`
--> scopegraphs/src/containers/scope.rs:13:10
|
13 | type PathContainer<DWFO_INNER> : PathContainer<'sg, 'rslv, LABEL, DATA, DWFO>;
| ^^^^^^^^^^^^^ ----------
help: add missing generic argument
|
28 | fn lift_step(self, lbl: LABEL, prefix: Path<LABEL>) -> Self::PathContainer<DWFO_INNER> {
| ++++++++++++
|
missing generics for associated type `containers::scope::ScopeContainer::PathContainer`:
scopegraphs/src/resolve/lookup.rs#L100
error[E0107]: missing generics for associated type `containers::scope::ScopeContainer::PathContainer`
--> scopegraphs/src/resolve/lookup.rs:100:54
|
100 | > as ScopeContainer<'sg, 'rslv, LABEL, DATA, DWFO>>::PathContainer as PathContainer<'sg, 'rslv, LABEL, DATA, DWFO>>::EnvContainer;
| ^^^^^^^^^^^^^ expected 1 generic argument
|
note: associated type defined here, with 1 generic parameter: `DWFO_INNER`
--> scopegraphs/src/containers/scope.rs:13:10
|
13 | type PathContainer<DWFO_INNER> : PathContainer<'sg, 'rslv, LABEL, DATA, DWFO>;
| ^^^^^^^^^^^^^ ----------
help: add missing generic argument
|
100 | > as ScopeContainer<'sg, 'rslv, LABEL, DATA, DWFO>>::PathContainer<DWFO_INNER> as PathContainer<'sg, 'rslv, LABEL, DATA, DWFO>>::EnvContainer;
| ++++++++++++
|
unused import: `DataEquivalence`:
scopegraphs/src/containers/path.rs#L2
error: unused import: `DataEquivalence`
--> scopegraphs/src/containers/path.rs:2:22
|
2 | use crate::resolve::{DataEquivalence, Env, Path, ResolvedPath};
| ^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
type parameter `DWFO_INNER` should have an upper camel case name:
scopegraphs/src/containers/scope.rs#L58
error: type parameter `DWFO_INNER` should have an upper camel case name
--> scopegraphs/src/containers/scope.rs:58:18
|
58 | fn lift_step<DWFO_INNER>(self, lbl: LABEL, prefix: Path<LABEL>) -> Self::PathContainer<DWFO_INNER> {
| ^^^^^^^^^^ help: convert the identifier to upper camel case: `DwfoInner`
|
type parameter `DWFO_INNER` should have an upper camel case name:
scopegraphs/src/containers/scope.rs#L53
error: type parameter `DWFO_INNER` should have an upper camel case name
--> scopegraphs/src/containers/scope.rs:53:24
|
53 | type PathContainer<DWFO_INNER> = FutureWrapper<'rslv, SC::PathContainer<DWFO_INNER>>
| ^^^^^^^^^^ help: convert the identifier to upper camel case: `DwfoInner`
|
type parameter `DWFO_INNER` should have an upper camel case name:
scopegraphs/src/containers/scope.rs#L19
error: type parameter `DWFO_INNER` should have an upper camel case name
--> scopegraphs/src/containers/scope.rs:19:18
|
19 | fn lift_step<DWFO_INNER>(self, lbl: LABEL, prefix: Path<LABEL>) -> Self::PathContainer<DWFO_INNER>;
| ^^^^^^^^^^ help: convert the identifier to upper camel case: `DwfoInner`
|
type parameter `DWFO_INNER` should have an upper camel case name:
scopegraphs/src/containers/scope.rs#L13
error: type parameter `DWFO_INNER` should have an upper camel case name
--> scopegraphs/src/containers/scope.rs:13:24
|
13 | type PathContainer<DWFO_INNER> : PathContainer<'sg, 'rslv, LABEL, DATA, DWFO>;
| ^^^^^^^^^^ help: convert the identifier to upper camel case: `DwfoInner`
|
= note: `-D non-camel-case-types` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(non_camel_case_types)]`
|
Clippy
Clippy had exited with the 101 exit code
|
Test Nightly
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
Test Beta
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
Test Stable
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
Format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Format
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Nightly
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test Nightly
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test Nightly
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Nightly
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Nightly
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Nightly
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Beta
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test Beta
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test Beta
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Beta
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Beta
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Beta
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Stable
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test Stable
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test Stable
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Stable
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Stable
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Stable
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|