[INFO] cloning repository https://github.com/markus-k/mtt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/markus-k/mtt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkus-k%2Fmtt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkus-k%2Fmtt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1684d2a13eeb6f34c64a34f66ea83a5f64c97365
[INFO] checking markus-k/mtt against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkus-k%2Fmtt" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/markus-k/mtt
[INFO] finished tweaking git repo https://github.com/markus-k/mtt
[INFO] tweaked toml for git repo https://github.com/markus-k/mtt written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/markus-k/mtt on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/markus-k/mtt 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.127
[INFO] [stderr]   Downloaded clap_derive v3.1.7
[INFO] [stderr]   Downloaded serde v1.0.127
[INFO] [stderr]   Downloaded clap v3.1.8
[INFO] [stderr]   Downloaded serde_json v1.0.66
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a6faea868bc9291d7190d78b7da74a9e5212035e0349f7616779f8c191c15a4f
[INFO] running `Command { std: "docker" "start" "-a" "a6faea868bc9291d7190d78b7da74a9e5212035e0349f7616779f8c191c15a4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a6faea868bc9291d7190d78b7da74a9e5212035e0349f7616779f8c191c15a4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6faea868bc9291d7190d78b7da74a9e5212035e0349f7616779f8c191c15a4f", kill_on_drop: false }`
[INFO] [stdout] a6faea868bc9291d7190d78b7da74a9e5212035e0349f7616779f8c191c15a4f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5573e672cfe7b8e1941cc8f43bc544db74808397bb84d4e154436fdb2da6705f
[INFO] running `Command { std: "docker" "start" "-a" "5573e672cfe7b8e1941cc8f43bc544db74808397bb84d4e154436fdb2da6705f", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling serde_derive v1.0.127
[INFO] [stderr]    Compiling serde v1.0.127
[INFO] [stderr]    Compiling serde_json v1.0.66
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking dirs-sys v0.3.6
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking directories v3.0.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling clap_derive v3.1.7
[INFO] [stderr]     Checking clap v3.1.8
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking mtt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 261 |     let mut state = AppState::read_from_file(&state_path).unwrap_or_default();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AppError` is never used
[INFO] [stdout]   --> src/main.rs:71:6
[INFO] [stdout]    |
[INFO] [stdout] 71 | enum AppError {
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `duration` are never used
[INFO] [stdout]    --> src/main.rs:98:8
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl TimerRecord {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  98 |     fn new(start: DateTime<Utc>, end: DateTime<Utc>, comment: String) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn duration(&self) -> Duration {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `start_timer`, `stop_timer`, `total_duration`, and `is_running` are never used
[INFO] [stdout]    --> src/main.rs:128:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | impl Timer {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] 128 |     fn start_timer(&mut self, start_time: DateTime<Utc>) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     fn stop_timer(
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |     fn total_duration(&self) -> Duration {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn is_running(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_active_timer`, `has_active_timer`, `set_timer_active`, `create_timer`, and `get_timer` are never used
[INFO] [stdout]    --> src/main.rs:181:8
[INFO] [stdout]     |
[INFO] [stdout] 180 | impl AppState {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] 181 |     fn get_active_timer(&self) -> Option<&Timer> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn has_active_timer(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     fn set_timer_active(&mut self, timer_name: &str) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     fn create_timer(&mut self, name: &str) -> Option<&Timer> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 217 |     fn get_timer(&self, name: &str) -> Option<&Timer> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_duration_string` is never used
[INFO] [stdout]    --> src/main.rs:249:4
[INFO] [stdout]     |
[INFO] [stdout] 249 | fn get_duration_string(duration: &Duration) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 261 |     let mut state = AppState::read_from_file(&state_path).unwrap_or_default();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TimerAlreadyRunning` and `NoTimerRunning` are never constructed
[INFO] [stdout]   --> src/main.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 71 | enum AppError {
[INFO] [stdout]    |      -------- variants in this enum
[INFO] [stdout] 72 |     TimerAlreadyRunning,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 73 |     NoTimerRunning,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `start_timer`, `stop_timer`, and `is_running` are never used
[INFO] [stdout]    --> src/main.rs:128:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | impl Timer {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] 128 |     fn start_timer(&mut self, start_time: DateTime<Utc>) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     fn stop_timer(
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn is_running(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_active_timer` and `has_active_timer` are never used
[INFO] [stdout]    --> src/main.rs:181:8
[INFO] [stdout]     |
[INFO] [stdout] 180 | impl AppState {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] 181 |     fn get_active_timer(&self) -> Option<&Timer> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn has_active_timer(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_duration_string` is never used
[INFO] [stdout]    --> src/main.rs:249:4
[INFO] [stdout]     |
[INFO] [stdout] 249 | fn get_duration_string(duration: &Duration) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.56s
[INFO] running `Command { std: "docker" "inspect" "5573e672cfe7b8e1941cc8f43bc544db74808397bb84d4e154436fdb2da6705f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5573e672cfe7b8e1941cc8f43bc544db74808397bb84d4e154436fdb2da6705f", kill_on_drop: false }`
[INFO] [stdout] 5573e672cfe7b8e1941cc8f43bc544db74808397bb84d4e154436fdb2da6705f
