Skip to content

Added function that allows to export to GraphML with a guaranteed order. #663

Added function that allows to export to GraphML with a guaranteed order.

Added function that allows to export to GraphML with a guaranteed order. #663

Triggered via pull request January 10, 2024 20:31
Status Success
Total duration 3m 33s
Artifacts

test.yml

on: pull_request
Execute automated tests on Ubuntu Linux
1m 7s
Execute automated tests on Ubuntu Linux
Execute automated tests on Windows
3m 21s
Execute automated tests on Windows
Execute automated tests on OSX
1m 55s
Execute automated tests on OSX
Execute search tests
2m 12s
Execute search tests
Fit to window
Zoom out
Zoom in

Annotations

29 warnings
creating a `Box` from a void raw pointer: capi/src/data.rs#L26
warning: creating a `Box` from a void raw pointer --> capi/src/data.rs:26:15 | 26 | let ptr = Box::from_raw(ptr); | ^^^^^^^^^^^^^^^^^^ | help: cast this to a pointer of the appropriate type --> capi/src/data.rs:26:29 | 26 | let ptr = Box::from_raw(ptr); | ^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_raw_with_void_ptr = note: `#[warn(clippy::from_raw_with_void_ptr)]` on by default
this function has too many arguments (8/7): graphannis/src/annis/db/sort_matches.rs#L134
warning: this function has too many arguments (8/7) --> graphannis/src/annis/db/sort_matches.rs:134:1 | 134 | / pub fn compare_match_by_text_pos( 135 | | m1: &Match, 136 | | m2: &Match, 137 | | node_annos: &dyn NodeAnnotationStorage, ... | 142 | | cache: &mut SortCache, 143 | | ) -> Result<Ordering> { | |_____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
this function has too many arguments (8/7): graphannis/src/annis/db/sort_matches.rs#L35
warning: this function has too many arguments (8/7) --> graphannis/src/annis/db/sort_matches.rs:35:1 | 35 | / pub fn compare_matchgroup_by_text_pos( 36 | | m1: &[Match], 37 | | m2: &[Match], 38 | | node_annos: &dyn NodeAnnotationStorage, ... | 43 | | cache: &mut SortCache, 44 | | ) -> Result<Ordering> { | |_____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
this function has too many arguments (8/7): graphannis/src/annis/db/exec/nodesearch.rs#L800
warning: this function has too many arguments (8/7) --> graphannis/src/annis/db/exec/nodesearch.rs:800:5 | 800 | / fn new_tokensearch( 801 | | db: &'a AnnotationGraph, 802 | | val: ValueSearch<String>, 803 | | filters: Vec<MatchValueFilterFunc>, ... | 808 | | timeout: TimeoutCheck, 809 | | ) -> Result<NodeSearch<'a>> { | |_______________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
this function has too many arguments (8/7): graphannis/src/annis/db/exec/nodesearch.rs#L703
warning: this function has too many arguments (8/7) --> graphannis/src/annis/db/exec/nodesearch.rs:703:5 | 703 | / fn new_annosearch_regex( 704 | | db: &'a AnnotationGraph, 705 | | qname: (Option<String>, String), 706 | | pattern: &str, ... | 711 | | timeout: TimeoutCheck, 712 | | ) -> Result<NodeSearch<'a>> { | |_______________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
this function has too many arguments (8/7): graphannis/src/annis/db/exec/nodesearch.rs#L599
warning: this function has too many arguments (8/7) --> graphannis/src/annis/db/exec/nodesearch.rs:599:5 | 599 | / fn new_annosearch_exact( 600 | | db: &'a AnnotationGraph, 601 | | qname: (Option<String>, String), 602 | | val: ValueSearch<String>, ... | 607 | | timeout: TimeoutCheck, 608 | | ) -> Result<NodeSearch<'a>> { | |_______________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
this function has too many arguments (8/7): graphannis/src/annis/db/corpusstorage.rs#L1570
warning: this function has too many arguments (8/7) --> graphannis/src/annis/db/corpusstorage.rs:1570:5 | 1570 | / fn create_find_iterator_for_query<'b>( 1571 | | &'b self, 1572 | | db: &'b AnnotationGraph, 1573 | | query: &'b Disjunction, ... | 1578 | | timeout: TimeoutCheck, 1579 | | ) -> Result<(FindIterator<'b>, Option<usize>)> { | |__________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
this function has too many arguments (8/7): graphannis/src/annis/db/aql/conjunction.rs#L592
warning: this function has too many arguments (8/7) --> graphannis/src/annis/db/aql/conjunction.rs:592:5 | 592 | / fn add_node_to_exec_plan<'a>( 593 | | &'a self, 594 | | node_nr: usize, 595 | | g: &'a AnnotationGraph, ... | 603 | | timeout: TimeoutCheck, 604 | | ) -> Result<()> { | |___________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments = note: `#[warn(clippy::too_many_arguments)]` on by default
call to `reserve` immediately after creation: graphannis/src/annis/db/aql/conjunction.rs#L471
warning: call to `reserve` immediately after creation --> graphannis/src/annis/db/aql/conjunction.rs:471:13 | 471 | / let mut family_operators: Vec<Vec<usize>> = Vec::new(); 472 | | family_operators.reserve(num_new_generations + 1); | |______________________________________________________________^ help: consider using `Vec::with_capacity(/* Space hint */)`: `let mut family_operators: Vec<Vec<usize>> = Vec::with_capacity(num_new_generations + 1);` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#reserve_after_initialization = note: `#[warn(clippy::reserve_after_initialization)]` on by default
Execute automated tests on Ubuntu Linux
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Execute automated tests on Ubuntu Linux
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/
Execute automated tests on Ubuntu Linux
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/
Execute automated tests on Ubuntu Linux
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/
Execute automated tests on Ubuntu Linux
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/
Execute automated tests on OSX
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Execute automated tests on OSX
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/
Execute automated tests on OSX
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/
Execute automated tests on OSX
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/
Execute automated tests on OSX
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/
Execute search tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/[email protected], actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Execute search tests
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/
Execute search tests
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/
Execute search tests
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/
Execute search tests
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/
Execute automated tests on Windows
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Execute automated tests on Windows
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/
Execute automated tests on Windows
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/
Execute automated tests on Windows
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/
Execute automated tests on Windows
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/