[INFO] cloning repository https://github.com/andrechen77/metime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrechen77/metime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrechen77%2Fmetime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrechen77%2Fmetime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05cc700e5bf7db2f5a8553370481f70f31c81e98 [INFO] checking andrechen77/metime/05cc700e5bf7db2f5a8553370481f70f31c81e98 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrechen77%2Fmetime" "/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/andrechen77/metime 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/andrechen77/metime [INFO] finished tweaking git repo https://github.com/andrechen77/metime [INFO] tweaked toml for git repo https://github.com/andrechen77/metime written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/andrechen77/metime 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rrule v0.12.0 [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] 4982c6aff57869fb0ad60fd98ef20b310dae30cf909ccde3c97aaa94540822c5 [INFO] running `Command { std: "docker" "start" "-a" "4982c6aff57869fb0ad60fd98ef20b310dae30cf909ccde3c97aaa94540822c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4982c6aff57869fb0ad60fd98ef20b310dae30cf909ccde3c97aaa94540822c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4982c6aff57869fb0ad60fd98ef20b310dae30cf909ccde3c97aaa94540822c5", kill_on_drop: false }` [INFO] [stdout] 4982c6aff57869fb0ad60fd98ef20b310dae30cf909ccde3c97aaa94540822c5 [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] 28a9bd1745d10972108385b6b3e3542c1c46cb01553906ac0f22364e42a47db6 [INFO] running `Command { std: "docker" "start" "-a" "28a9bd1745d10972108385b6b3e3542c1c46cb01553906ac0f22364e42a47db6", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking rrule v0.12.0 [INFO] [stderr] Checking metime_core v0.1.0 (/opt/rustwide/workdir/metime_core) [INFO] [stdout] warning: unused imports: `collections::HashMap` and `rc::Rc` [INFO] [stdout] --> metime_core/src/data/event.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, convert::identity, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Moment` [INFO] [stdout] --> metime_core/src/data/event.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | time::{IcalRecurrenceDesc, Moment, Period}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `rc::Rc` [INFO] [stdout] --> metime_core/src/data/event.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, convert::identity, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Datelike` [INFO] [stdout] --> metime_core/src/data/event.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | use chrono::{Datelike, Duration, TimeZone as _}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::time::Moment` [INFO] [stdout] --> metime_core/src/data/time.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | use crate::data::time::Moment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `categories` is never read [INFO] [stdout] --> metime_core/src/data/database.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | manifest: DatabaseManifest, [INFO] [stdout] 13 | categories: CategoriesTable, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Database` 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: trait `Digestible` is never used [INFO] [stdout] --> metime_core/src/digest.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Digestible { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `steal` is never used [INFO] [stdout] --> metime_core/src/sync.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Steal { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 13 | fn steal(&mut self, other: T); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `OutdatedBasis`, `InvalidSequenceNumber`, and `InvalidTransaction` are never constructed [INFO] [stdout] --> metime_core/src/sync.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum FastForwardError { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 29 | #[error("The client's basis version does not match the server's blessed version.")] [INFO] [stdout] 30 | OutdatedBasis, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | InvalidSequenceNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | #[error("Client's transaction {index} could not be executed: {error}")] [INFO] [stdout] 36 | InvalidTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FastForwardError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClientSync` is never constructed [INFO] [stdout] --> metime_core/src/sync/client.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ClientSync [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_server_sync` is never used [INFO] [stdout] --> metime_core/src/sync/client.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 40 | / impl ClientSync [INFO] [stdout] 41 | | where [INFO] [stdout] 42 | | V: Digestible + Debug + Steal, [INFO] [stdout] 43 | | S: ServerApi, [INFO] [stdout] 44 | | S::DownloadWhole: Into, [INFO] [stdout] | |______________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn with_server_sync(server_api: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_basis_version`, `synchronize_value`, `apply_transaction`, `get_working_copy`, and `get_unsynced_transactions` are never used [INFO] [stdout] --> metime_core/src/sync/client.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 53 | / impl ClientSync [INFO] [stdout] 54 | | where [INFO] [stdout] 55 | | V: Digestible + Debug + Steal, [INFO] [stdout] 56 | | S: ServerApi, [INFO] [stdout] | |____________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn with_basis_version(server_api: S, basis_version: V, sequence_number: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn synchronize_value(&mut self) -> Result<(), CommunicationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn apply_transaction(&mut self, transaction: S::Tx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn get_working_copy(&self) -> &V { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn get_unsynced_transactions(&self) -> &[S::Tx] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ServerApi` is never used [INFO] [stdout] --> metime_core/src/sync/client.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | pub trait ServerApi> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NetworkError` is never constructed [INFO] [stdout] --> metime_core/src/sync/client.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub enum CommunicationError { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 221 | NetworkError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommunicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sequence_number` and `last_digest_confirmed` are never read [INFO] [stdout] --> metime_core/src/sync/server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ClientInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | sequence_number: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | last_digest_confirmed: Option, // TODO keep this updated as the client makes requests [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerSync` is never constructed [INFO] [stdout] --> metime_core/src/sync/server.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ServerSync> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_blessed`, `register_client`, `get_client_sequence_number`, `get_transactions_since`, and `fast_forward_transactions` are never used [INFO] [stdout] --> metime_core/src/sync/server.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 32 | / impl ServerSync [INFO] [stdout] 33 | | where [INFO] [stdout] 34 | | V: Digestible + Debug, [INFO] [stdout] 35 | | T: Transaction + Debug, [INFO] [stdout] | |______________________________- associated items in this implementation [INFO] [stdout] 36 | { [INFO] [stdout] 37 | pub fn new(blessed_version: V) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_blessed(&self) -> &V { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn register_client(&mut self, client_id: ClientId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_client_sequence_number(&self, client: &ClientId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_transactions_since( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn fast_forward_transactions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Transaction` is never used [INFO] [stdout] --> metime_core/src/sync/transaction.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Transaction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Rollback` is never used [INFO] [stdout] --> metime_core/src/sync/transaction.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type Rollback = Box; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Invalid` is never constructed [INFO] [stdout] --> metime_core/src/sync/transaction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum TransactionError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Invalid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_all_or_roll_back` is never used [INFO] [stdout] --> metime_core/src/sync/transaction.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn execute_all_or_roll_back( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `categories` is never read [INFO] [stdout] --> metime_core/src/data/database.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | manifest: DatabaseManifest, [INFO] [stdout] 13 | categories: CategoriesTable, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Database` 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: field `last_digest_confirmed` is never read [INFO] [stdout] --> metime_core/src/sync/server.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ClientInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | last_digest_confirmed: Option, // TODO keep this updated as the client makes requests [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Pop` is never constructed [INFO] [stdout] --> metime_core/src/sync.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 53 | enum VecOperation { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 54 | Push(u32), [INFO] [stdout] 55 | Pop(u32), // expects the given value to be popped [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VecOperation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.77s [INFO] running `Command { std: "docker" "inspect" "28a9bd1745d10972108385b6b3e3542c1c46cb01553906ac0f22364e42a47db6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28a9bd1745d10972108385b6b3e3542c1c46cb01553906ac0f22364e42a47db6", kill_on_drop: false }` [INFO] [stdout] 28a9bd1745d10972108385b6b3e3542c1c46cb01553906ac0f22364e42a47db6