[INFO] cloning repository https://github.com/Franklyn-Sancho/logsync [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Franklyn-Sancho/logsync" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFranklyn-Sancho%2Flogsync", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFranklyn-Sancho%2Flogsync'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c3e46c13bada49760361988096ff6bf6c78dca8 [INFO] building Franklyn-Sancho/logsync against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFranklyn-Sancho%2Flogsync" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Franklyn-Sancho/logsync [INFO] finished tweaking git repo https://github.com/Franklyn-Sancho/logsync [INFO] tweaked toml for git repo https://github.com/Franklyn-Sancho/logsync written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Franklyn-Sancho/logsync on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Franklyn-Sancho/logsync 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba4e40ff9bf9d96926546efcb4fb984241a05c7153c27b36937307adbaf36782 [INFO] running `Command { std: "docker" "start" "-a" "ba4e40ff9bf9d96926546efcb4fb984241a05c7153c27b36937307adbaf36782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba4e40ff9bf9d96926546efcb4fb984241a05c7153c27b36937307adbaf36782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba4e40ff9bf9d96926546efcb4fb984241a05c7153c27b36937307adbaf36782", kill_on_drop: false }` [INFO] [stdout] ba4e40ff9bf9d96926546efcb4fb984241a05c7153c27b36937307adbaf36782 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f21c24d8b4e65394dec3ac6b713b7dd0bf2b7f5c518d4e040ca526483728d20 [INFO] running `Command { std: "docker" "start" "-a" "6f21c24d8b4e65394dec3ac6b713b7dd0bf2b7f5c518d4e040ca526483728d20", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling cc v1.1.35 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rustls v0.23.16 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling crossterm v0.26.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.11.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_with v3.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling hyper v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling yup-oauth2 v11.0.0 [INFO] [stderr] Compiling google-apis-common v7.0.0 [INFO] [stderr] Compiling google-drive3 v6.0.0+20240618 [INFO] [stderr] Compiling logsync v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `google_drive3::api::File` [INFO] [stdout] --> src/logger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use google_drive3::api::File; [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: `json` [INFO] [stdout] --> src/logger.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/logger.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `send_html_report_to_telegram` and `send_telegram_alert` [INFO] [stdout] --> src/logger.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::notifier::{handle_telegram_alert, send_html_report_to_telegram, send_log_to_channel, send_telegram_alert}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time` [INFO] [stdout] --> src/notifier.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::time; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogEntry`, `LogPriority`, `LogType`, and `config::LogMonitorConfig` [INFO] [stdout] --> src/parser.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{config::LogMonitorConfig, types::{LogEntry, LogPriority, LogType}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/utils.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | let naive = NaiveDateTime::from_timestamp(timestamp as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/logger.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `google_drive3::api::File` [INFO] [stdout] --> src/logger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use google_drive3::api::File; [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: `json` [INFO] [stdout] --> src/logger.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/logger.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `send_html_report_to_telegram` and `send_telegram_alert` [INFO] [stdout] --> src/logger.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::notifier::{handle_telegram_alert, send_html_report_to_telegram, send_log_to_channel, send_telegram_alert}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time` [INFO] [stdout] --> src/notifier.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::time; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogEntry`, `LogPriority`, `LogType`, and `config::LogMonitorConfig` [INFO] [stdout] --> src/parser.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{config::LogMonitorConfig, types::{LogEntry, LogPriority, LogType}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/utils.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | let naive = NaiveDateTime::from_timestamp(timestamp as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/logger.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LogType` is never used [INFO] [stdout] --> src/types.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum LogType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LogPriority` is never used [INFO] [stdout] --> src/types.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum LogPriority { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogMonitorConfig` is never constructed [INFO] [stdout] --> src/config.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct LogMonitorConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_log_file`, and `with_monitored_file` are never used [INFO] [stdout] --> src/config.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl LogMonitorConfig { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn with_log_file(mut self, path: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn with_monitored_file(mut self, path: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_log_message` is never used [INFO] [stdout] --> src/parser.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn sanitize_log_message(message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "6f21c24d8b4e65394dec3ac6b713b7dd0bf2b7f5c518d4e040ca526483728d20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f21c24d8b4e65394dec3ac6b713b7dd0bf2b7f5c518d4e040ca526483728d20", kill_on_drop: false }` [INFO] [stdout] 6f21c24d8b4e65394dec3ac6b713b7dd0bf2b7f5c518d4e040ca526483728d20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e8d242f1553b0c3ac81501429d249e04cb89296f7ee28ed4fc906c96a149899 [INFO] running `Command { std: "docker" "start" "-a" "0e8d242f1553b0c3ac81501429d249e04cb89296f7ee28ed4fc906c96a149899", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `google_drive3::api::File` [INFO] [stdout] --> src/logger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use google_drive3::api::File; [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: `json` [INFO] [stdout] --> src/logger.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/logger.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `send_html_report_to_telegram` and `send_telegram_alert` [INFO] [stdout] --> src/logger.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::notifier::{handle_telegram_alert, send_html_report_to_telegram, send_log_to_channel, send_telegram_alert}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time` [INFO] [stdout] --> src/notifier.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::time; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogEntry`, `LogPriority`, `LogType`, and `config::LogMonitorConfig` [INFO] [stdout] --> src/parser.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{config::LogMonitorConfig, types::{LogEntry, LogPriority, LogType}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/utils.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | let naive = NaiveDateTime::from_timestamp(timestamp as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/logger.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling logsync v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `google_drive3::api::File` [INFO] [stdout] --> src/logger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use google_drive3::api::File; [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: `json` [INFO] [stdout] --> src/logger.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/logger.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `send_html_report_to_telegram` and `send_telegram_alert` [INFO] [stdout] --> src/logger.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::notifier::{handle_telegram_alert, send_html_report_to_telegram, send_log_to_channel, send_telegram_alert}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time` [INFO] [stdout] --> src/notifier.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::time; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogEntry`, `LogPriority`, `LogType`, and `config::LogMonitorConfig` [INFO] [stdout] --> src/parser.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{config::LogMonitorConfig, types::{LogEntry, LogPriority, LogType}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `google_drive3::api::File` [INFO] [stdout] --> src/logger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use google_drive3::api::File; [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: `json` [INFO] [stdout] --> src/logger.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/logger.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `send_html_report_to_telegram` and `send_telegram_alert` [INFO] [stdout] --> src/logger.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::notifier::{handle_telegram_alert, send_html_report_to_telegram, send_log_to_channel, send_telegram_alert}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time` [INFO] [stdout] --> src/notifier.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::time; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogEntry`, `LogPriority`, `LogType`, and `config::LogMonitorConfig` [INFO] [stdout] --> src/parser.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{config::LogMonitorConfig, types::{LogEntry, LogPriority, LogType}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/utils.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | let naive = NaiveDateTime::from_timestamp(timestamp as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/logger.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/utils.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | let naive = NaiveDateTime::from_timestamp(timestamp as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/logger.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LogType` is never used [INFO] [stdout] --> src/types.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum LogType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LogPriority` is never used [INFO] [stdout] --> src/types.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum LogPriority { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogMonitorConfig` is never constructed [INFO] [stdout] --> src/config.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct LogMonitorConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_log_file`, and `with_monitored_file` are never used [INFO] [stdout] --> src/config.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl LogMonitorConfig { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn with_log_file(mut self, path: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn with_monitored_file(mut self, path: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_log_message` is never used [INFO] [stdout] --> src/parser.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn sanitize_log_message(message: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.76s [INFO] running `Command { std: "docker" "inspect" "0e8d242f1553b0c3ac81501429d249e04cb89296f7ee28ed4fc906c96a149899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e8d242f1553b0c3ac81501429d249e04cb89296f7ee28ed4fc906c96a149899", kill_on_drop: false }` [INFO] [stdout] 0e8d242f1553b0c3ac81501429d249e04cb89296f7ee28ed4fc906c96a149899