[INFO] cloning repository https://github.com/spritefullake/pomodoro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spritefullake/pomodoro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspritefullake%2Fpomodoro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspritefullake%2Fpomodoro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab34445292a458bda66d196044f145d8ee17206a [INFO] testing spritefullake/pomodoro against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspritefullake%2Fpomodoro" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/spritefullake/pomodoro on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/spritefullake/pomodoro [INFO] finished tweaking git repo https://github.com/spritefullake/pomodoro [INFO] tweaked toml for git repo https://github.com/spritefullake/pomodoro written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/spritefullake/pomodoro already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.60.0" "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] ab2254762b1a2800ec502e02823232c5ece17acbd8001c806607f357a71274a6 [INFO] running `Command { std: "docker" "start" "-a" "ab2254762b1a2800ec502e02823232c5ece17acbd8001c806607f357a71274a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab2254762b1a2800ec502e02823232c5ece17acbd8001c806607f357a71274a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2254762b1a2800ec502e02823232c5ece17acbd8001c806607f357a71274a6", kill_on_drop: false }` [INFO] [stdout] ab2254762b1a2800ec502e02823232c5ece17acbd8001c806607f357a71274a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.60.0" "build" "--frozen" "--message-format=json", 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] 7a156fba7acb2b7b24d251a6ad6a92580781dfe050357ce8ff61531830b01d91 [INFO] running `Command { std: "docker" "start" "-a" "7a156fba7acb2b7b24d251a6ad6a92580781dfe050357ce8ff61531830b01d91", kill_on_drop: false }` [INFO] [stderr] Compiling pomodoro-timer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `sync::mpsc::channel`, `thread`, `time` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | sync::mpsc::channel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | time, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Write`, `error::Error`, `process`, `self`, `thread` [INFO] [stdout] --> src/cli.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | fs, [INFO] [stdout] 15 | io::{self, ErrorKind, Write}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] 16 | process, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | time::{self, Duration}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Trigger`, `task::Task` [INFO] [stdout] --> src/input.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | fsm::{Stateful, Trigger}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | task::Task, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/input.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/input.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | 'event_response: loop{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/cli.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn command_loop(c: Mailbox, p: &mut Pomodoro) -> io::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/cli.rs:77:47 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn command_loop(c: Mailbox, p: &mut Pomodoro) -> io::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `command_loop` [INFO] [stdout] --> src/cli.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn command_loop(c: Mailbox, p: &mut Pomodoro) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_done` [INFO] [stdout] --> src/pomodoro.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn is_done(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decrement_seconds` [INFO] [stdout] --> src/timer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn decrement_seconds(&mut self, amount: u64) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/timer.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn set(&mut self, duration: time::Duration){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `begin` [INFO] [stdout] --> src/input.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn begin(t: Timer, p: &mut Pomodoro) -> Result,Box>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `TimerEvent` [INFO] [stdout] --> src/input.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | type TimerEvent = Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stop` [INFO] [stdout] --> src/input.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn stop(&self) -> TimerState { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick` [INFO] [stdout] --> src/input.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn tick(&self) -> TimerState { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Stop` [INFO] [stdout] --> src/timer_state/event.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Stop, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Event` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/timer_state/event.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.77s [INFO] running `Command { std: "docker" "inspect" "7a156fba7acb2b7b24d251a6ad6a92580781dfe050357ce8ff61531830b01d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a156fba7acb2b7b24d251a6ad6a92580781dfe050357ce8ff61531830b01d91", kill_on_drop: false }` [INFO] [stdout] 7a156fba7acb2b7b24d251a6ad6a92580781dfe050357ce8ff61531830b01d91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", 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] fdf996783c2dcc8da6309125f8a7b9316e5696ee715d53f1bd78bb19f577b1e4 [INFO] running `Command { std: "docker" "start" "-a" "fdf996783c2dcc8da6309125f8a7b9316e5696ee715d53f1bd78bb19f577b1e4", kill_on_drop: false }` [INFO] [stderr] Compiling pomodoro-timer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `sync::mpsc::channel`, `thread`, `time` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | sync::mpsc::channel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | time, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Write`, `error::Error`, `process`, `self`, `thread` [INFO] [stdout] --> src/cli.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | fs, [INFO] [stdout] 15 | io::{self, ErrorKind, Write}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] 16 | process, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | time::{self, Duration}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/mailbox.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Trigger` [INFO] [stdout] --> src/input.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | fsm::{Stateful, Trigger}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/input.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | 'event_response: loop{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/cli.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn command_loop(c: Mailbox, p: &mut Pomodoro) -> io::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/cli.rs:77:47 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn command_loop(c: Mailbox, p: &mut Pomodoro) -> io::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/input.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let p = Pomodoro::new(tasks); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `command_loop` [INFO] [stdout] --> src/cli.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn command_loop(c: Mailbox, p: &mut Pomodoro) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decrement_seconds` [INFO] [stdout] --> src/timer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn decrement_seconds(&mut self, amount: u64) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/timer.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn set(&mut self, duration: time::Duration){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `begin` [INFO] [stdout] --> src/input.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn begin(t: Timer, p: &mut Pomodoro) -> Result,Box>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `TimerEvent` [INFO] [stdout] --> src/input.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | type TimerEvent = Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stop` [INFO] [stdout] --> src/input.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn stop(&self) -> TimerState { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick` [INFO] [stdout] --> src/input.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn tick(&self) -> TimerState { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "fdf996783c2dcc8da6309125f8a7b9316e5696ee715d53f1bd78bb19f577b1e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdf996783c2dcc8da6309125f8a7b9316e5696ee715d53f1bd78bb19f577b1e4", kill_on_drop: false }` [INFO] [stdout] fdf996783c2dcc8da6309125f8a7b9316e5696ee715d53f1bd78bb19f577b1e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.60.0" "test" "--frozen", 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] 244262a5938c6600645d265cf65d1c42fc499ec898c933b56e85e7effb7e9802 [INFO] running `Command { std: "docker" "start" "-a" "244262a5938c6600645d265cf65d1c42fc499ec898c933b56e85e7effb7e9802", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `sync::mpsc::channel`, `thread`, `time` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | sync::mpsc::channel, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 3 | time, [INFO] [stderr] | ^^^^ [INFO] [stderr] 4 | thread, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ErrorKind`, `Write`, `error::Error`, `process`, `self`, `thread` [INFO] [stderr] --> src/cli.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | error::Error, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 14 | fs, [INFO] [stderr] 15 | io::{self, ErrorKind, Write}, [INFO] [stderr] | ^^^^^^^^^ ^^^^^ [INFO] [stderr] 16 | process, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 17 | time::{self, Duration}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 18 | thread, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/mailbox.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Trigger` [INFO] [stderr] --> src/input.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | fsm::{Stateful, Trigger}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused label [INFO] [stderr] --> src/input.rs:79:13 [INFO] [stderr] | [INFO] [stderr] 79 | 'event_response: loop{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_labels)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/cli.rs:77:21 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn command_loop(c: Mailbox, p: &mut Pomodoro) -> io::Result<()> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/cli.rs:77:47 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn command_loop(c: Mailbox, p: &mut Pomodoro) -> io::Result<()> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/input.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | let p = Pomodoro::new(tasks); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `command_loop` [INFO] [stderr] --> src/cli.rs:77:8 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn command_loop(c: Mailbox, p: &mut Pomodoro) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `decrement_seconds` [INFO] [stderr] --> src/timer.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn decrement_seconds(&mut self, amount: u64) -> &mut Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set` [INFO] [stderr] --> src/timer.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn set(&mut self, duration: time::Duration){ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `begin` [INFO] [stderr] --> src/input.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn begin(t: Timer, p: &mut Pomodoro) -> Result,Box>{ [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `TimerEvent` [INFO] [stderr] --> src/input.rs:46:1 [INFO] [stderr] | [INFO] [stderr] 46 | type TimerEvent = Result>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `stop` [INFO] [stderr] --> src/input.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn stop(&self) -> TimerState { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `tick` [INFO] [stderr] --> src/input.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn tick(&self) -> TimerState { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `pomodoro-timer` (bin "pomodoro-timer" test) generated 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 25.55s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pomodoro_timer-d9ebbe9fd0591989) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test input::tests::complete_task_on_timer_end ... ignored [INFO] [stdout] test mailbox::tests::watch_gets_responses ... ignored [INFO] [stdout] test timer_state::tests::fsm_none_on_wrong_input ... ok [INFO] [stdout] test pomodoro::tests::on_break_after_task_is_completed ... ok [INFO] [stdout] test pomodoro::tests::complete_next_on_empty ... ok [INFO] [stdout] test pomodoro::tests::verify_all_are_done ... ok [INFO] [stdout] test pomodoro::tests::toggle_on_break_with_next_task ... ok [INFO] [stdout] test timer_state::event::tests::timer_duration_stays_0_when_0 ... ok [INFO] [stdout] test timer_state::event::tests::timer_duration_changes_correctly_on_tick ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 1.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "244262a5938c6600645d265cf65d1c42fc499ec898c933b56e85e7effb7e9802", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "244262a5938c6600645d265cf65d1c42fc499ec898c933b56e85e7effb7e9802", kill_on_drop: false }` [INFO] [stdout] 244262a5938c6600645d265cf65d1c42fc499ec898c933b56e85e7effb7e9802