[INFO] cloning repository https://github.com/moonseokchoi-kr/clock_cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moonseokchoi-kr/clock_cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoonseokchoi-kr%2Fclock_cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoonseokchoi-kr%2Fclock_cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4a9bbbb82c82d2d5baf2d8ad7db87979c3d9ae7 [INFO] checking moonseokchoi-kr/clock_cli against master#ca77504943887037504c7fc0b9bf06dab3910373 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoonseokchoi-kr%2Fclock_cli" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/moonseokchoi-kr/clock_cli [INFO] finished tweaking git repo https://github.com/moonseokchoi-kr/clock_cli [INFO] tweaked toml for git repo https://github.com/moonseokchoi-kr/clock_cli written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/moonseokchoi-kr/clock_cli on toolchain ca77504943887037504c7fc0b9bf06dab3910373 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/moonseokchoi-kr/clock_cli 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" "+ca77504943887037504c7fc0b9bf06dab3910373" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.about [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a08a6fbb7465f9b6473b36a82b26d247b34201397ef8d6fedf762a1cb212405 [INFO] running `Command { std: "docker" "start" "-a" "3a08a6fbb7465f9b6473b36a82b26d247b34201397ef8d6fedf762a1cb212405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a08a6fbb7465f9b6473b36a82b26d247b34201397ef8d6fedf762a1cb212405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a08a6fbb7465f9b6473b36a82b26d247b34201397ef8d6fedf762a1cb212405", kill_on_drop: false }` [INFO] [stdout] 3a08a6fbb7465f9b6473b36a82b26d247b34201397ef8d6fedf762a1cb212405 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4cd3db1b3cc653f02fa4a8f5c0e62098b48b15205f4befe24d4cacf75e0ffba [INFO] running `Command { std: "docker" "start" "-a" "a4cd3db1b3cc653f02fa4a8f5c0e62098b48b15205f4befe24d4cacf75e0ffba", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.about [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking clock v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chrono::Date` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::Date; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::servent` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use libc::servent; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::hash; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format::format` [INFO] [stdout] --> src/main.rs:12:81 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{DateTime,Local,TimeZone, Timelike, Duration as ChronoDuration,Utc, format::format}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArgAction`, `Arg`, and `command` [INFO] [stdout] --> src/main.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use clap::{Command, Arg, ValueEnum, builder::PossibleValue, value_parser, arg, ArgAction, ArgMatches, command}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::zeroed` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::mem::zeroed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Date` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::Date; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::servent` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use libc::servent; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::hash; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format::format` [INFO] [stdout] --> src/main.rs:12:81 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{DateTime,Local,TimeZone, Timelike, Duration as ChronoDuration,Utc, format::format}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArgAction`, `Arg`, and `command` [INFO] [stdout] --> src/main.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use clap::{Command, Arg, ValueEnum, builder::PossibleValue, value_parser, arg, ArgAction, ArgMatches, command}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::zeroed` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::mem::zeroed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::Date; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::Date; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `action_type` is never read [INFO] [stdout] --> src/main.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | let mut action_type : OptionMode = OptionMode::Get; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `standard_type` is never read [INFO] [stdout] --> src/main.rs:403:17 [INFO] [stdout] | [INFO] [stdout] 403 | let mut standard_type : StandardType = StandardType::RFC2822; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | _ =>println!("Wrong type string, please check to type"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 436 | StandardType::TIMESTAMP =>println!("{}", local_time.timestamp()), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 437 | StandardType::RFC2822 => println!("{}", local_time.to_rfc2822()), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 438 | StandardType::RFC3339 => println!("{}", local_time.to_rfc3339()), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 439 | _ =>println!("Wrong type string, please check to type"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | _ => println!("{}", now.to_rfc3339()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 475 | OptionMode::Get =>{ [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 478 | OptionMode::Set =>{ [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 481 | OptionMode::CheckNtp => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 484 | _ => println!("{}", now.to_rfc3339()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `action_type` is never read [INFO] [stdout] --> src/main.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | let mut action_type : OptionMode = OptionMode::Get; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `standard_type` is never read [INFO] [stdout] --> src/main.rs:403:17 [INFO] [stdout] | [INFO] [stdout] 403 | let mut standard_type : StandardType = StandardType::RFC2822; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | _ =>println!("Wrong type string, please check to type"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 436 | StandardType::TIMESTAMP =>println!("{}", local_time.timestamp()), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 437 | StandardType::RFC2822 => println!("{}", local_time.to_rfc2822()), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 438 | StandardType::RFC3339 => println!("{}", local_time.to_rfc3339()), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 439 | _ =>println!("Wrong type string, please check to type"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | _ => println!("{}", now.to_rfc3339()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 475 | OptionMode::Get =>{ [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 478 | OptionMode::Set =>{ [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 481 | OptionMode::CheckNtp => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 484 | _ => println!("{}", now.to_rfc3339()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.18s [INFO] running `Command { std: "docker" "inspect" "a4cd3db1b3cc653f02fa4a8f5c0e62098b48b15205f4befe24d4cacf75e0ffba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4cd3db1b3cc653f02fa4a8f5c0e62098b48b15205f4befe24d4cacf75e0ffba", kill_on_drop: false }` [INFO] [stdout] a4cd3db1b3cc653f02fa4a8f5c0e62098b48b15205f4befe24d4cacf75e0ffba