[INFO] cloning repository https://github.com/bonyuta0204/metric-calc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bonyuta0204/metric-calc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbonyuta0204%2Fmetric-calc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbonyuta0204%2Fmetric-calc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17b76d18a4887b733cc60861236c05ea87ff8d4c [INFO] checking bonyuta0204/metric-calc/17b76d18a4887b733cc60861236c05ea87ff8d4c against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbonyuta0204%2Fmetric-calc" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bonyuta0204/metric-calc on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bonyuta0204/metric-calc [INFO] finished tweaking git repo https://github.com/bonyuta0204/metric-calc [INFO] tweaked toml for git repo https://github.com/bonyuta0204/metric-calc written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bonyuta0204/metric-calc 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b73da02cfc00953c14946d30b7d11285414ded0deda83b61d3253481524bd8f [INFO] running `Command { std: "docker" "start" "-a" "7b73da02cfc00953c14946d30b7d11285414ded0deda83b61d3253481524bd8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b73da02cfc00953c14946d30b7d11285414ded0deda83b61d3253481524bd8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b73da02cfc00953c14946d30b7d11285414ded0deda83b61d3253481524bd8f", kill_on_drop: false }` [INFO] [stdout] 7b73da02cfc00953c14946d30b7d11285414ded0deda83b61d3253481524bd8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc632065404933f314c4b184c4cb0e21d87e11ca65aa9e6797cddce6e519b81d [INFO] running `Command { std: "docker" "start" "-a" "cc632065404933f314c4b184c4cb0e21d87e11ca65aa9e6797cddce6e519b81d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking metric-calc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `format::parse` [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{format::parse, ParseError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDate` [INFO] [stdout] --> src/period_mapper.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Months, NaiveDate}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeSeries` [INFO] [stdout] --> src/period_mapper.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::time_series::{Period, TimeSeries}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::BorrowMut` [INFO] [stdout] --> src/time_series.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::BorrowMut, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Date` [INFO] [stdout] --> src/time_series.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, Datelike, NaiveDate, ParseError}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/timer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt, time::Instant}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time_series.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, Datelike, NaiveDate, ParseError}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format::parse` [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{format::parse, ParseError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDate` [INFO] [stdout] --> src/period_mapper.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Months, NaiveDate}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::BorrowMut` [INFO] [stdout] --> src/time_series.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::BorrowMut, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Date` [INFO] [stdout] --> src/time_series.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, Datelike, NaiveDate, ParseError}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/timer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt, time::Instant}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time_series.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, Datelike, NaiveDate, ParseError}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/metrics.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Metric<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 10 | pub label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metric` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `idx`, `year`, `month`, and `day` are never read [INFO] [stdout] --> src/time_series.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Period { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 14 | pub idx: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub date: NaiveDate, [INFO] [stdout] 16 | pub year: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub month: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub day: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Period` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/metrics.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Metric<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 10 | pub label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metric` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `idx`, `year`, `month`, and `day` are never read [INFO] [stdout] --> src/time_series.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Period { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 14 | pub idx: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub date: NaiveDate, [INFO] [stdout] 16 | pub year: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub month: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub day: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Period` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.32s [INFO] running `Command { std: "docker" "inspect" "cc632065404933f314c4b184c4cb0e21d87e11ca65aa9e6797cddce6e519b81d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc632065404933f314c4b184c4cb0e21d87e11ca65aa9e6797cddce6e519b81d", kill_on_drop: false }` [INFO] [stdout] cc632065404933f314c4b184c4cb0e21d87e11ca65aa9e6797cddce6e519b81d