[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] checking spritefullake/pomodoro against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspritefullake%2Fpomodoro" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/spritefullake/pomodoro on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 918a4fa0370bccf3327ab28ee59478c5a943cab36994a5061757cca5f880e8c1 [INFO] running `Command { std: "docker" "start" "-a" "918a4fa0370bccf3327ab28ee59478c5a943cab36994a5061757cca5f880e8c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "918a4fa0370bccf3327ab28ee59478c5a943cab36994a5061757cca5f880e8c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "918a4fa0370bccf3327ab28ee59478c5a943cab36994a5061757cca5f880e8c1", kill_on_drop: false }` [INFO] [stdout] 918a4fa0370bccf3327ab28ee59478c5a943cab36994a5061757cca5f880e8c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba29bf39a373a9209d8b789f9042bda27847727bbcb9797689bf9e5ec01ae840 [INFO] running `Command { std: "docker" "start" "-a" "ba29bf39a373a9209d8b789f9042bda27847727bbcb9797689bf9e5ec01ae840", kill_on_drop: false }` [INFO] [stderr] Checking 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 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: function `command_loop` is never used [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: method `is_done` is never used [INFO] [stdout] --> src/pomodoro.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Pomodoro{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn is_done(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stop` is never constructed [INFO] [stdout] --> src/timer_state/event.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Event{ [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 13 | Start, [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] [INFO] [stdout] [INFO] [stdout] warning: methods `decrement_seconds` and `set` are never used [INFO] [stdout] --> src/timer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Timer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn decrement_seconds(&mut self, amount: u64) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn set(&mut self, duration: time::Duration){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `begin` is never used [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 `TimerEvent` is never used [INFO] [stdout] --> src/input.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | type TimerEvent = Result>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stop` and `tick` are never used [INFO] [stdout] --> src/input.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl mailbox::Mailbox { [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn stop(&self) -> TimerState { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn tick(&self) -> TimerState { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [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 `command_loop` is never used [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: methods `decrement_seconds` and `set` are never used [INFO] [stdout] --> src/timer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Timer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn decrement_seconds(&mut self, amount: u64) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn set(&mut self, duration: time::Duration){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `begin` is never used [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 `TimerEvent` is never used [INFO] [stdout] --> src/input.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | type TimerEvent = Result>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stop` and `tick` are never used [INFO] [stdout] --> src/input.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl mailbox::Mailbox { [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn stop(&self) -> TimerState { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn tick(&self) -> TimerState { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "ba29bf39a373a9209d8b789f9042bda27847727bbcb9797689bf9e5ec01ae840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba29bf39a373a9209d8b789f9042bda27847727bbcb9797689bf9e5ec01ae840", kill_on_drop: false }` [INFO] [stdout] ba29bf39a373a9209d8b789f9042bda27847727bbcb9797689bf9e5ec01ae840 [INFO] checking spritefullake/pomodoro against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspritefullake%2Fpomodoro" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/spritefullake/pomodoro on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-7-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1601ddbb50f1bbddc9991a58d4b934dee60bba5eca3e2b43ba26036dec1418c3 [INFO] running `Command { std: "docker" "start" "-a" "1601ddbb50f1bbddc9991a58d4b934dee60bba5eca3e2b43ba26036dec1418c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1601ddbb50f1bbddc9991a58d4b934dee60bba5eca3e2b43ba26036dec1418c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1601ddbb50f1bbddc9991a58d4b934dee60bba5eca3e2b43ba26036dec1418c3", kill_on_drop: false }` [INFO] [stdout] 1601ddbb50f1bbddc9991a58d4b934dee60bba5eca3e2b43ba26036dec1418c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d1211e85eed5292b44e6464ef984133bdf4ded38315947ea4350d22c1bb6d4f [INFO] running `Command { std: "docker" "start" "-a" "5d1211e85eed5292b44e6464ef984133bdf4ded38315947ea4350d22c1bb6d4f", kill_on_drop: false }` [INFO] [stderr] Checking 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 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: 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/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 `command_loop` is never used [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: methods `decrement_seconds` and `set` are never used [INFO] [stdout] --> src/timer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Timer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn decrement_seconds(&mut self, amount: u64) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn set(&mut self, duration: time::Duration){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `begin` is never used [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 `TimerEvent` is never used [INFO] [stdout] --> src/input.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | type TimerEvent = Result>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stop` and `tick` are never used [INFO] [stdout] --> src/input.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl mailbox::Mailbox { [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn stop(&self) -> TimerState { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn tick(&self) -> TimerState { [INFO] [stdout] | ^^^^ [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 `command_loop` is never used [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: method `is_done` is never used [INFO] [stdout] --> src/pomodoro.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Pomodoro{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn is_done(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stop` is never constructed [INFO] [stdout] --> src/timer_state/event.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Event{ [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 13 | Start, [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] [INFO] [stdout] [INFO] [stdout] warning: methods `decrement_seconds` and `set` are never used [INFO] [stdout] --> src/timer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Timer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn decrement_seconds(&mut self, amount: u64) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn set(&mut self, duration: time::Duration){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `begin` is never used [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 `TimerEvent` is never used [INFO] [stdout] --> src/input.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | type TimerEvent = Result>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stop` and `tick` are never used [INFO] [stdout] --> src/input.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl mailbox::Mailbox { [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn stop(&self) -> TimerState { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn tick(&self) -> TimerState { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "5d1211e85eed5292b44e6464ef984133bdf4ded38315947ea4350d22c1bb6d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d1211e85eed5292b44e6464ef984133bdf4ded38315947ea4350d22c1bb6d4f", kill_on_drop: false }` [INFO] [stdout] 5d1211e85eed5292b44e6464ef984133bdf4ded38315947ea4350d22c1bb6d4f