[INFO] cloning repository https://github.com/monaqa/tiem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/monaqa/tiem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonaqa%2Ftiem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonaqa%2Ftiem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b83f1f3f7f207fa82a6160dc8ffcbae6de1bcb82 [INFO] checking monaqa/tiem against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonaqa%2Ftiem" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/monaqa/tiem [INFO] finished tweaking git repo https://github.com/monaqa/tiem [INFO] tweaked toml for git repo https://github.com/monaqa/tiem written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/monaqa/tiem 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/monaqa/tiem 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a2e8cd3dcf0aab15c7d9c9d44cd9da6bd40aa01b4dfe570e48531f3b875c2ac0 [INFO] running `Command { std: "docker" "start" "-a" "a2e8cd3dcf0aab15c7d9c9d44cd9da6bd40aa01b4dfe570e48531f3b875c2ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2e8cd3dcf0aab15c7d9c9d44cd9da6bd40aa01b4dfe570e48531f3b875c2ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2e8cd3dcf0aab15c7d9c9d44cd9da6bd40aa01b4dfe570e48531f3b875c2ac0", kill_on_drop: false }` [INFO] [stdout] a2e8cd3dcf0aab15c7d9c9d44cd9da6bd40aa01b4dfe570e48531f3b875c2ac0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a341fd30bbef4a3906a786fd75693469abc843ba2f3dde895989c76112261a16 [INFO] running `Command { std: "docker" "start" "-a" "a341fd30bbef4a3906a786fd75693469abc843ba2f3dde895989c76112261a16", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_with v1.11.0 [INFO] [stderr] Checking tiem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/lib.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/lib.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDate` [INFO] [stdout] --> src/files.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{NaiveDate, NaiveDateTime, NaiveTime, Timelike}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log` [INFO] [stdout] --> src/files.rs:165:36 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn append_today_log(&self, log: &LogRecord) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/lib.rs:28:44 [INFO] [stdout] | [INFO] [stdout] 28 | if let Ok(files::Status::Running { task, started }) = status_file.get_status() {} [INFO] [stdout] | ^^^^ help: try ignoring the field: `task: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `started` [INFO] [stdout] --> src/lib.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | if let Ok(files::Status::Running { task, started }) = status_file.get_status() {} [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `started: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `log_dir` is never read [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Tiem { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 10 | status_file: StatusFile, [INFO] [stdout] 11 | log_dir: LogDir, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_status_stopped` is never used [INFO] [stdout] --> src/files.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl StatusFile { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn set_status_stopped(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/files.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct LogDir(PathBuf); [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogRecord` is never constructed [INFO] [stdout] --> src/files.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct LogRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogFile` is never constructed [INFO] [stdout] --> src/files.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct LogFile(Vec); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_today_file`, `get_today_log`, and `append_today_log` are never used [INFO] [stdout] --> src/files.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 149 | impl LogDir { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn create_today_file(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn get_today_log(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn append_today_log(&self, log: &LogRecord) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log` [INFO] [stdout] --> src/files.rs:165:36 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn append_today_log(&self, log: &LogRecord) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/lib.rs:28:44 [INFO] [stdout] | [INFO] [stdout] 28 | if let Ok(files::Status::Running { task, started }) = status_file.get_status() {} [INFO] [stdout] | ^^^^ help: try ignoring the field: `task: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `started` [INFO] [stdout] --> src/lib.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | if let Ok(files::Status::Running { task, started }) = status_file.get_status() {} [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `started: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `log_dir` is never read [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Tiem { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 10 | status_file: StatusFile, [INFO] [stdout] 11 | log_dir: LogDir, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_status_stopped` is never used [INFO] [stdout] --> src/files.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl StatusFile { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn set_status_stopped(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/files.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct LogDir(PathBuf); [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogRecord` is never constructed [INFO] [stdout] --> src/files.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct LogRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogFile` is never constructed [INFO] [stdout] --> src/files.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct LogFile(Vec); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_today_file`, `get_today_log`, and `append_today_log` are never used [INFO] [stdout] --> src/files.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 149 | impl LogDir { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn create_today_file(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn get_today_log(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn append_today_log(&self, log: &LogRecord) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::PathBuf` and `str::FromStr` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::PathBuf, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::PathBuf` and `str::FromStr` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::PathBuf, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.53s [INFO] running `Command { std: "docker" "inspect" "a341fd30bbef4a3906a786fd75693469abc843ba2f3dde895989c76112261a16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a341fd30bbef4a3906a786fd75693469abc843ba2f3dde895989c76112261a16", kill_on_drop: false }` [INFO] [stdout] a341fd30bbef4a3906a786fd75693469abc843ba2f3dde895989c76112261a16