Skip to content

Detect more bands and callers. #430

Detect more bands and callers.

Detect more bands and callers. #430

Triggered via push June 16, 2024 19:58
Status Success
Total duration 57s
Artifacts 1

package.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
assigning the result of `Clone::clone()` may be inefficient: src/importers/webfeet/mod.rs#L126
warning: assigning the result of `Clone::clone()` may be inefficient --> src/importers/webfeet/mod.rs:126:13 | 126 | name = event.value.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `name.clone_from(&event.value)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
single-character string constant used as pattern: src/importers/plugevents/mod.rs#L116
warning: single-character string constant used as pattern --> src/importers/plugevents/mod.rs:116:39 | 116 | price = price.replace("-", &format!("-{}", currency)); | ^^^ help: consider using a `char`: `'-'` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
single-character string constant used as pattern: src/importers/plugevents/mod.rs#L113
warning: single-character string constant used as pattern --> src/importers/plugevents/mod.rs:113:43 | 113 | let mut price = price.replace(" ", ""); | ^^^ help: consider using a `char`: `' '` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern = note: `#[warn(clippy::single_char_pattern)]` on by default
assigning the result of `ToOwned::to_owned()` may be inefficient: src/importers/icalendar/spreefolk.rs#L62
warning: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/importers/icalendar/spreefolk.rs:62:13 | 62 | / *details = details 63 | | .split("\n\n\n\n\n\n\nJavaScript ist in deinem Browser deaktiviert.") 64 | | .next() 65 | | .unwrap() ... | 68 | | .unwrap() 69 | | .to_owned(); | |___________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones help: use `clone_into()` | 62 ~ details 63 + .split("\n\n\n\n\n\n\nJavaScript ist in deinem Browser deaktiviert.") 64 + .next() 65 + .unwrap() 66 ~ .split("\n \n\n\n\nJavaScript ist in deinem Browser deaktiviert.") 67 + .next() 68 ~ .unwrap().clone_into(details); |
assigning the result of `ToOwned::to_owned()` may be inefficient: src/importers/icalendar/spreefolk.rs#L57
warning: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/importers/icalendar/spreefolk.rs:57:9 | 57 | / event.name = event 58 | | .name 59 | | .replace("Folk & Tanz am", "Folk & Dance at") 60 | | .to_owned(); | |_______________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones help: use `clone_into()` | 57 ~ event 58 + .name 59 ~ .replace("Folk & Tanz am", "Folk & Dance at").clone_into(&mut event.name); |
assigning the result of `ToOwned::to_owned()` may be inefficient: src/importers/icalendar/ceilidhclub.rs#L48
warning: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/importers/icalendar/ceilidhclub.rs:48:13 | 48 | country = "UK".to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `"UK".clone_into(&mut country)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/importers/icalendar/cdss.rs#L97
warning: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/importers/icalendar/cdss.rs:97:13 | 97 | country = "UK".to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `"UK".clone_into(&mut country)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/importers/icalendar/cdss.rs#L95
warning: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/importers/icalendar/cdss.rs:95:13 | 95 | country = "USA".to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `"USA".clone_into(&mut country)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/importers/icalendar/boulder.rs#L69
warning: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/importers/icalendar/boulder.rs:69:13 | 69 | country = "USA".to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `"USA".clone_into(&mut country)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones = note: `#[warn(clippy::assigning_clones)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: src/importers/icalendar/balfolknl.rs#L137
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/importers/icalendar/balfolknl.rs:137:35 | 137 | event.name = shorten_name(&raw_name); | ^^^^^^^^^ help: change this to: `raw_name` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default

Artifacts

Produced during runtime
Name Size
debian-packages Expired
3.42 MB