WIP making regex parametric #74
Annotations
12 errors and 15 warnings
Test Beta
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
cannot return reference to temporary value:
scopegraphs-regular-expressions/src/parse.rs#L175
error[E0515]: cannot return reference to temporary value
--> scopegraphs-regular-expressions/src/parse.rs:175:9
|
175 | &value.to_string()
| ^-----------------
| ||
| |temporary value created here
| returns a reference to data owned by the current function
|
cannot return reference to temporary value:
scopegraphs-regular-expressions/src/parse.rs#L175
error[E0515]: cannot return reference to temporary value
--> scopegraphs-regular-expressions/src/parse.rs:175:9
|
175 | &value.to_string()
| ^-----------------
| ||
| |temporary value created here
| returns a reference to data owned by the current function
|
`l` does not live long enough:
scopegraphs-regular-expressions/src/compile.rs#L44
error[E0597]: `l` does not live long enough
--> scopegraphs-regular-expressions/src/compile.rs:44:28
|
27 | impl<'a, L: 'a> MatchState<L> {
| -- lifetime `'a` defined here
...
44 | .map(|(l, st)| l.as_ref().try_into().map(|t| (Rc::new(t), st)))
| - ^-------------------- - `l` dropped here while still borrowed
| | |
| | borrowed value does not live long enough
| | argument requires that `l` is borrowed for `'a`
| binding `l` declared here
|
`k` does not live long enough:
scopegraphs-regular-expressions/src/compile.rs#L32
error[E0597]: `k` does not live long enough
--> scopegraphs-regular-expressions/src/compile.rs:32:95
|
27 | impl<'a, L: 'a> MatchState<L> {
| -- lifetime `'a` defined here
...
32 | transition_table: self.transition_table.clone().into_iter().map(|(k, v)| (Rc::new(k.as_ref().into()), v)).collect(),
| - ^---------------- - `k` dropped here while still borrowed
| | |
| | borrowed value does not live long enough
| | argument requires that `k` is borrowed for `'a`
| binding `k` declared here
|
`l` does not live long enough:
scopegraphs-regular-expressions/src/compile.rs#L44
error[E0597]: `l` does not live long enough
--> scopegraphs-regular-expressions/src/compile.rs:44:28
|
27 | impl<'a, L: 'a> MatchState<L> {
| -- lifetime `'a` defined here
...
44 | .map(|(l, st)| l.as_ref().try_into().map(|t| (Rc::new(t), st)))
| - ^-------------------- - `l` dropped here while still borrowed
| | |
| | borrowed value does not live long enough
| | argument requires that `l` is borrowed for `'a`
| binding `l` declared here
|
`k` does not live long enough:
scopegraphs-regular-expressions/src/compile.rs#L32
error[E0597]: `k` does not live long enough
--> scopegraphs-regular-expressions/src/compile.rs:32:95
|
27 | impl<'a, L: 'a> MatchState<L> {
| -- lifetime `'a` defined here
...
32 | transition_table: self.transition_table.clone().into_iter().map(|(k, v)| (Rc::new(k.as_ref().into()), v)).collect(),
| - ^---------------- - `k` dropped here while still borrowed
| | |
| | borrowed value does not live long enough
| | argument requires that `k` is borrowed for `'a`
| binding `k` declared here
|
unused import: `std::error::Error`:
scopegraphs-regular-expressions/src/parse.rs#L138
error: unused import: `std::error::Error`
--> scopegraphs-regular-expressions/src/parse.rs:138:5
|
138 | use std::error::Error;
| ^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
unused import: `std::error::Error`:
scopegraphs-regular-expressions/src/parse.rs#L138
error: unused import: `std::error::Error`
--> scopegraphs-regular-expressions/src/parse.rs:138:5
|
138 | use std::error::Error;
| ^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
Format
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
Clippy
Clippy had exited with the 101 exit code
|
Test Miri
Process completed with exit code 101.
|
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 `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/
|
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 `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 `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/
|