-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Calendar-55afa103cb40aae033638c4d332ceea8afe76464/target/rpm/build/libsqlite3-sys-dade9ca6beb92421/out -L native=/usr/lib64warning: unused import:Task--> src/app.rs:14:25 | 14 | use cosmic::app::{Core, Task}; | ^^^^ | = note:#[warn(unused_imports)](part of#[warn(unused)]`) on by default
warning: unused import: ExportHandler
--> src/update/calendar.rs:5:40
|
5 | use crate::services::{CalendarHandler, ExportHandler, NewCalendarData, UpdateCalendarData};
| ^^^^^^^^^^^^^
error[E0061]: this method takes 2 arguments but 1 argument was supplied
--> src/database/schema.rs:545:26
|
545 | let deleted = db.delete_event("event1").unwrap();
| ^^^^^^^^^^^^---------- argument #2 of type &str is missing
|
note: method defined here
--> src/database/schema.rs:404:12
|
404 | pub fn delete_event(&self, calendar_id: &str, uid: &str) -> Result<bool, Box> {
| ^^^^^^^^^^^^ ---------
help: provide the argument
|
545 | let deleted = db.delete_event("event1", /* &str */).unwrap();
| ++++++++++++
error[E0061]: this method takes 5 arguments but 4 arguments were supplied
--> src/selection/mod.rs:226:15
|
226 | state.start("event-123".to_string(), date, "Test Event".to_string(), "#0000ff".to_string());
| ^^^^^--------------------------------------------------------------------------------
| | | |
| | | expected chrono::NaiveDate, found std::string::String
| | expected std::string::String, found chrono::NaiveDate
| argument #5 of type std::string::String is missing
|
note: method defined here
--> src/selection/drag.rs:96:12
|
96 | pub fn start(&mut self, calendar_id: String, event_uid: String, original_date: NaiveDate, summary: String, color: String) {
| ^^^^^ -------------
help: did you mean
|
226 - state.start("event-123".to_string(), date, "Test Event".to_string(), "#0000ff".to_string());
226 + state.start("event-123".to_string(), "Test Event".to_string(), date, "#0000ff".to_string(), /* std::string::String */);
|
error[E0061]: this method takes 6 arguments but 5 arguments were supplied
--> src/selection/mod.rs:242:15
|
242 | state.start_with_time("event-123".to_string(), date, time, "Test Event".to_string(), "#0000ff".to_string());
| ^^^^^^^^^^^^^^^ ---- argument #2 of type std::string::String is missing
|
note: method defined here
--> src/selection/drag.rs:102:12
|
102 | pub fn start_with_time(&mut self, calendar_id: String, event_uid: String, original_date: NaiveDate, original_time: NaiveTime, summary...
| ^^^^^^^^^^^^^^^ -----------------
help: provide the argument
|
242 - state.start_with_time("event-123".to_string(), date, time, "Test Event".to_string(), "#0000ff".to_string());
242 + state.start_with_time("event-123".to_string(), /* std::string::String */, date, time, "#0000ff".to_string(), "Test Event".to_string());
|
error[E0061]: this method takes 5 arguments but 4 arguments were supplied
--> src/selection/mod.rs:255:15
|
255 | state.start("event-123".to_string(), original, "Test Event".to_string(), "#0000ff".to_string());
| ^^^^^------------------------------------------------------------------------------------
| | | |
| | | expected chrono::NaiveDate, found std::string::String
| | expected std::string::String, found chrono::NaiveDate
| argument #5 of type std::string::String is missing
|
note: method defined here
--> src/selection/drag.rs:96:12
|
96 | pub fn start(&mut self, calendar_id: String, event_uid: String, original_date: NaiveDate, summary: String, color: String) {
| ^^^^^ -------------
help: did you mean
|
255 - state.start("event-123".to_string(), original, "Test Event".to_string(), "#0000ff".to_string());
255 + state.start("event-123".to_string(), "Test Event".to_string(), original, "#0000ff".to_string(), /* std::string::String */);
|
error[E0061]: this method takes 5 arguments but 4 arguments were supplied
--> src/selection/mod.rs:269:15
|
269 | state.start("event-123".to_string(), original, "Test Event".to_string(), "#0000ff".to_string());
| ^^^^^------------------------------------------------------------------------------------
| | | |
| | | expected chrono::NaiveDate, found std::string::String
| | expected std::string::String, found chrono::NaiveDate
| argument #5 of type std::string::String is missing
|
note: method defined here
--> src/selection/drag.rs:96:12
|
96 | pub fn start(&mut self, calendar_id: String, event_uid: String, original_date: NaiveDate, summary: String, color: String) {
| ^^^^^ -------------
help: did you mean
|
269 - state.start("event-123".to_string(), original, "Test Event".to_string(), "#0000ff".to_string());
269 + state.start("event-123".to_string(), "Test Event".to_string(), original, "#0000ff".to_string(), /* std::string::String */);
|
error[E0308]: mismatched types
--> src/selection/mod.rs:275:13
|
275 | let (uid, orig, tgt) = result.unwrap();
| ^^^^^^^^^^^^^^^^ --------------- this expression has type (std::string::String, std::string::String, chrono::NaiveDate, chrono::NaiveDate)
| |
| expected a tuple with 4 elements, found one with 3 elements
|
= note: expected tuple (std::string::String, std::string::String, chrono::NaiveDate, chrono::NaiveDate)
found tuple (_, _, _)
error[E0061]: this method takes 5 arguments but 4 arguments were supplied
--> src/selection/mod.rs:286:15
|
286 | state.start("event-123".to_string(), date, "Test Event".to_string(), "#0000ff".to_string());
| ^^^^^--------------------------------------------------------------------------------
| | | |
| | | expected chrono::NaiveDate, found std::string::String
| | expected std::string::String, found chrono::NaiveDate
| argument #5 of type std::string::String is missing
|
note: method defined here
--> src/selection/drag.rs:96:12
|
96 | pub fn start(&mut self, calendar_id: String, event_uid: String, original_date: NaiveDate, summary: String, color: String) {
| ^^^^^ -------------
help: did you mean
|
286 - state.start("event-123".to_string(), date, "Test Event".to_string(), "#0000ff".to_string());
286 + state.start("event-123".to_string(), "Test Event".to_string(), date, "#0000ff".to_string(), /* std::string::String */);
|
error[E0061]: this method takes 6 arguments but 5 arguments were supplied
--> src/selection/mod.rs:301:15
|
301 | state.start_with_time("event-123".to_string(), date, original_time, "Test Event".to_string(), "#0000ff".to_string());
| ^^^^^^^^^^^^^^^ ---- argument #2 of type std::string::String is missing
|
note: method defined here
--> src/selection/drag.rs:102:12
|
102 | pub fn start_with_time(&mut self, calendar_id: String, event_uid: String, original_date: NaiveDate, original_time: NaiveTime, summary...
| ^^^^^^^^^^^^^^^ -----------------