[INFO] cloning repository https://github.com/swordsmanluke/todor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swordsmanluke/todor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswordsmanluke%2Ftodor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswordsmanluke%2Ftodor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34826fee9c2495f056b5d5efdcbefcdb6409dba3 [INFO] testing swordsmanluke/todor against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswordsmanluke%2Ftodor" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swordsmanluke/todor on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-14/source/.cargo/config [INFO] started tweaking git repo https://github.com/swordsmanluke/todor [INFO] finished tweaking git repo https://github.com/swordsmanluke/todor [INFO] tweaked toml for git repo https://github.com/swordsmanluke/todor written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/swordsmanluke/todor already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7a2dad2b567bb7473f3c52f6ac3e169055c01b68adec32294ecc6156f0deeba2 [INFO] running `Command { std: "docker" "start" "-a" "7a2dad2b567bb7473f3c52f6ac3e169055c01b68adec32294ecc6156f0deeba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a2dad2b567bb7473f3c52f6ac3e169055c01b68adec32294ecc6156f0deeba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a2dad2b567bb7473f3c52f6ac3e169055c01b68adec32294ecc6156f0deeba2", kill_on_drop: false }` [INFO] [stdout] 7a2dad2b567bb7473f3c52f6ac3e169055c01b68adec32294ecc6156f0deeba2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db930564e5a799a6b1666be77bb4ec5a084359b81bb2ba1118d6f570d75e982e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "db930564e5a799a6b1666be77bb4ec5a084359b81bb2ba1118d6f570d75e982e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.14 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling iso8601 v0.4.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.50 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling webpki v0.18.1 [INFO] [stderr] Compiling sct v0.4.0 [INFO] [stderr] Compiling rustls v0.13.1 [INFO] [stderr] Compiling webpki-roots v0.15.0 [INFO] [stderr] Compiling hyper-native-tls v0.3.0 [INFO] [stderr] Compiling icalendar v0.10.0 [INFO] [stderr] Compiling date_time_parser v0.1.1 [INFO] [stderr] Compiling simplelog v0.7.6 [INFO] [stderr] Compiling event_parser v0.1.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling hyper-rustls v0.6.2 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling yup-oauth2 v1.0.12 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling google-calendar3 v1.0.12+20190702 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling restson v0.6.0 [INFO] [stderr] Compiling todor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Scheduler` [INFO] [stdout] --> src/commands.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::scheduled_item::{ScheduledItem, Scheduler}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scheduled_item::ScheduledItem` [INFO] [stdout] --> src/display/window_stack.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::scheduled_item::ScheduledItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/tasks/master_scheduler.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 34 | / loop { [INFO] [stdout] 35 | | match self.cmd_rx.recv_timeout(Duration::from_secs(60)) { [INFO] [stdout] 36 | | Ok(command) => { [INFO] [stdout] 37 | | match command { [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] 80 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 81 | [INFO] [stdout] 82 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/google_scheduler.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | fn add(&mut self, target: &String, due_date: Option>) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `due_date` [INFO] [stdout] --> src/google_scheduler.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | fn add(&mut self, target: &String, due_date: Option>) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_due_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/google_scheduler.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | fn update(&mut self, id: &String, description: &String, due_date: Option>) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `description` [INFO] [stdout] --> src/google_scheduler.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | fn update(&mut self, id: &String, description: &String, due_date: Option>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `due_date` [INFO] [stdout] --> src/google_scheduler.rs:65:61 [INFO] [stdout] | [INFO] [stdout] 65 | fn update(&mut self, id: &String, description: &String, due_date: Option>) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_due_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/google_scheduler.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | fn remove(&mut self, prefix: &String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/todoist_client.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(pid: u64, id: Option, description: String, due: DateTime) -> Task { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SetPrompt` [INFO] [stdout] --> src/commands.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | SetPrompt(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `UICommand` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/commands.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `message_type` [INFO] [stdout] --> src/display/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | message_type: PromptMessageType [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromptMessage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/display/mod.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_prompt` [INFO] [stdout] --> src/display/prompt_window.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn set_prompt(&mut self, prompt: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_message` [INFO] [stdout] --> src/display/prompt_window.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn set_message(&mut self, message: PromptMessage) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:63:61 [INFO] [stdout] | [INFO] [stdout] 63 | UICommand::Add(scheduler_id, task) => { cmd_tx.send(ScheduleCommand::Add(scheduler_id, task)); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:64:54 [INFO] [stdout] | [INFO] [stdout] 64 | UICommand::Execute(command) => { command_executor.execute_command(&command, None); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:65:68 [INFO] [stdout] | [INFO] [stdout] 65 | UICommand::ExecuteWithItem(command, item) => { command_executor.execute_command(&command, Some(&item)); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/todoist_scheduler.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | self.ui_tx.send(UICommand::Toast(PromptMessage::new(e.to_string(), Duration::from_secs(10), PromptMessageType::Error))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/todoist_scheduler.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | self.ui_tx.send(UICommand::SubmitCommand("refresh".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/todoist_scheduler.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | self.ui_tx.send(UICommand::Toast(PromptMessage::new(e.to_string(), Duration::from_secs(10), PromptMessageType::Error))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/todoist_scheduler.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | self.ui_tx.send(UICommand::SubmitCommand("refresh".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/todoist_scheduler.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | ... self.ui_tx.send(UICommand::SubmitCommand("refresh".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tasks/master_scheduler.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | self.ui_sched_tx.send(UICommand::Schedulers(self.schedulers())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tasks/master_scheduler.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | ... self.refresh(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tasks/master_scheduler.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | ... self.ui_sched_tx.send(UICommand::Toast(PromptMessage::new(msg, Duration::from_secs(10), PromptMessageType::Error))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tasks/master_scheduler.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | ... self.refresh(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tasks/master_scheduler.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | ... self.ui_sched_tx.send(UICommand::ClearSelection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tasks/master_scheduler.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | self.ui_sched_tx.send(UICommand::Toast(PromptMessage::new(msg, Duration::from_secs(10), PromptMessageType::Error))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tasks/master_scheduler.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | scheduler.add(task, Some(due_date)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tasks/master_scheduler.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | self.ui_sched_tx.send(UICommand::Toast(PromptMessage::new(msg, Duration::from_secs(10), PromptMessageType::Error))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tasks/master_scheduler.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | scheduler.update(&task.id.split(":").last().unwrap().to_string(), &task.description, Some(due_date)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tasks/command_executor.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | self.ui_tx.send(UICommand::TransitionPush("schedule_selection".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tasks/command_executor.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | self.ui_tx.send(UICommand::AddGetScheduler(remainder)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tasks/command_executor.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | / self.ui_tx.send(UICommand::Toast( [INFO] [stdout] 30 | | PromptMessage::new("Select a task first!".to_string(), [INFO] [stdout] 31 | | Duration::from_secs(10), [INFO] [stdout] 32 | | PromptMessageType::Normal))); [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tasks/command_executor.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | / self.cmd_tx.send(ScheduleCommand::Reschedule( [INFO] [stdout] 36 | | item.scheduler.clone(), [INFO] [stdout] 37 | | (*item).clone(), [INFO] [stdout] 38 | | remainder)); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/schedule_window.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | ... None => { self.ui_tx.send(UICommand::Execute(command.clone())); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/schedule_window.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | ... Some(item) => { self.ui_tx.send(UICommand::ExecuteWithItem(command.clone(), item.clone())); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/schedule_window.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | self.render_schedule(&self.schedules, self.selected_item_idx, target); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/prompt_window.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | self.ui_tx.send(UICommand::Execute(command.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/prompt_window.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | / write!(target, "{}{}{}{}", [INFO] [stdout] 77 | | termion::cursor::Goto(1, 999), [INFO] [stdout] 78 | | termion::cursor::Up(1), [INFO] [stdout] 79 | | termion::clear::AfterCursor, [INFO] [stdout] 80 | | msg.text [INFO] [stdout] 81 | | ); [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/prompt_window.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | / write!(target, "{}{}{} {}", [INFO] [stdout] 87 | | termion::cursor::Goto(1, 999), [INFO] [stdout] 88 | | termion::clear::AfterCursor, [INFO] [stdout] 89 | | self.prompt, self.user_input); [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/window_stack.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | stdout.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/schedule_selection_window.rs:53:45 [INFO] [stdout] | [INFO] [stdout] 53 | ... Some(task) => { self.ui_tx.send(UICommand::Add(sched_id, task.clone())); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/schedule_selection_window.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | self.ui_tx.send(UICommand::TransitionPop ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/schedule_selection_window.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | / write!(output, "{}{}Select Scheduler:\r\n-------------\r\n", [INFO] [stdout] 68 | | termion::clear::All, [INFO] [stdout] 69 | | termion::cursor::Goto(1, 1)); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/schedule_selection_window.rs:72:53 [INFO] [stdout] | [INFO] [stdout] 72 | if self.selected_item_idx == i as i32 { write!(output, "> {}\r\n", self.schedules.get(i).unwrap()); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/schedule_selection_window.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | else { write!(output, " {}\n\r", self.schedules.get(i).unwrap()); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/schedule_selection_window.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | write!(target, "{}", String::from_utf8(output).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 12s [INFO] running `Command { std: "docker" "inspect" "db930564e5a799a6b1666be77bb4ec5a084359b81bb2ba1118d6f570d75e982e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db930564e5a799a6b1666be77bb4ec5a084359b81bb2ba1118d6f570d75e982e", kill_on_drop: false }` [INFO] [stdout] db930564e5a799a6b1666be77bb4ec5a084359b81bb2ba1118d6f570d75e982e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6fc17c06e91e4d23e21e16ddff9cb51a05348c6cc558e93a64e82ba8f6c6c31 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e6fc17c06e91e4d23e21e16ddff9cb51a05348c6cc558e93a64e82ba8f6c6c31", kill_on_drop: false }` [INFO] [stderr] Compiling todor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Scheduler` [INFO] [stdout] --> src/commands.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::scheduled_item::{ScheduledItem, Scheduler}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scheduled_item::ScheduledItem` [INFO] [stdout] --> src/display/window_stack.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::scheduled_item::ScheduledItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> src/schedule_formatter.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | ScheduledItem::new("id".to_string(), "A meeting".to_string(), start_time, Some(end_time), location) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ---------------- ----------------------- ---------- -------------- -------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/scheduled_item.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | ...fn new(id: String, scheduler: String, item_type: ScheduleItemType, description: String, start_time: DateTime, end_time: Option>, place: Option) -... [INFO] [stdout] | ^^^ ---------- ----------------- --------------------------- ------------------- --------------------------- --------------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> src/schedule_colorer.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | ScheduledItem::new("id".to_string(), "A meeting".to_string(), scheduled_time, None,location) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ---------------- ----------------------- -------------- ---- -------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 7 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/scheduled_item.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | ...fn new(id: String, scheduler: String, item_type: ScheduleItemType, description: String, start_time: DateTime, end_time: Option>, place: Option) -... [INFO] [stdout] | ^^^ ---------- ----------------- --------------------------- ------------------- --------------------------- --------------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/tasks/master_scheduler.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 34 | / loop { [INFO] [stdout] 35 | | match self.cmd_rx.recv_timeout(Duration::from_secs(60)) { [INFO] [stdout] 36 | | Ok(command) => { [INFO] [stdout] 37 | | match command { [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] 80 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 81 | [INFO] [stdout] 82 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `todor` due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e6fc17c06e91e4d23e21e16ddff9cb51a05348c6cc558e93a64e82ba8f6c6c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6fc17c06e91e4d23e21e16ddff9cb51a05348c6cc558e93a64e82ba8f6c6c31", kill_on_drop: false }` [INFO] [stdout] e6fc17c06e91e4d23e21e16ddff9cb51a05348c6cc558e93a64e82ba8f6c6c31