[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 try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkus-k%2Fmtt" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/markus-k/mtt on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cdb5d3c8bb592d4d0119cce4f40cc3f95272900893369c21553fd17365b8a946
[INFO] running `Command { std: "docker" "start" "-a" "cdb5d3c8bb592d4d0119cce4f40cc3f95272900893369c21553fd17365b8a946", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cdb5d3c8bb592d4d0119cce4f40cc3f95272900893369c21553fd17365b8a946", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cdb5d3c8bb592d4d0119cce4f40cc3f95272900893369c21553fd17365b8a946", kill_on_drop: false }`
[INFO] [stdout] cdb5d3c8bb592d4d0119cce4f40cc3f95272900893369c21553fd17365b8a946
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5e080d49205282190ebaeb01c430a6ad8d9d29ee1c576d2a4244f1249dd6155a
[INFO] running `Command { std: "docker" "start" "-a" "5e080d49205282190ebaeb01c430a6ad8d9d29ee1c576d2a4244f1249dd6155a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling serde_derive v1.0.127
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling serde v1.0.127
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling serde_json v1.0.66
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking os_str_bytes v6.0.0
[INFO] [stderr]     Checking dirs-sys v0.3.6
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking directories v3.0.2
[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: 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] [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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.41s
[INFO] running `Command { std: "docker" "inspect" "5e080d49205282190ebaeb01c430a6ad8d9d29ee1c576d2a4244f1249dd6155a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e080d49205282190ebaeb01c430a6ad8d9d29ee1c576d2a4244f1249dd6155a", kill_on_drop: false }`
[INFO] [stdout] 5e080d49205282190ebaeb01c430a6ad8d9d29ee1c576d2a4244f1249dd6155a
