[INFO] cloning repository https://github.com/hbhavan/event_store [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hbhavan/event_store" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhbhavan%2Fevent_store", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhbhavan%2Fevent_store'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0de152a6c0911b0888172f387ce254ee62063ed [INFO] checking hbhavan/event_store against try#6cbf54b1453b438241487f195740266bb9d8c8ba for pr-139587-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhbhavan%2Fevent_store" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hbhavan/event_store on toolchain 6cbf54b1453b438241487f195740266bb9d8c8ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hbhavan/event_store [INFO] finished tweaking git repo https://github.com/hbhavan/event_store [INFO] tweaked toml for git repo https://github.com/hbhavan/event_store written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hbhavan/event_store 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" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1083c024cc379a9b7cb8e2523d825cd29b46b57ce583c2629224237976ae4c5b [INFO] running `Command { std: "docker" "start" "-a" "1083c024cc379a9b7cb8e2523d825cd29b46b57ce583c2629224237976ae4c5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1083c024cc379a9b7cb8e2523d825cd29b46b57ce583c2629224237976ae4c5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1083c024cc379a9b7cb8e2523d825cd29b46b57ce583c2629224237976ae4c5b", kill_on_drop: false }` [INFO] [stdout] 1083c024cc379a9b7cb8e2523d825cd29b46b57ce583c2629224237976ae4c5b [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1761a8836a2aeb2b2d3fcaac0631e4bf88c6d88a55d7f9d0970143a2861979b7 [INFO] running `Command { std: "docker" "start" "-a" "1761a8836a2aeb2b2d3fcaac0631e4bf88c6d88a55d7f9d0970143a2861979b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking uuid v1.14.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Checking event_store v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/contact.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | event_store::{operation::*, Event}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/event_store.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/event_store/event/serialize.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/event_store/operation.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Debug, Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamId` [INFO] [stdout] --> src/event_store/store.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{operation::Operation, Event, StreamId}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/event_store/store/query.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_store::{Event, StreamId}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/contact.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | event_store::{operation::*, Event}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/event_store.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/event_store/event/serialize.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/event_store/operation.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Debug, Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamId` [INFO] [stdout] --> src/event_store/store.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{operation::Operation, Event, StreamId}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/event_store/store/query.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::event_store::{Event, StreamId}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `first_name`, `last_name`, and `active` are never read [INFO] [stdout] --> src/contact.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Contact { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | first_name: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | last_name: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | age: u8, [INFO] [stdout] 13 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Contact` 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: associated items `new`, `apply`, and `get_operation` are never used [INFO] [stdout] --> src/event_store/event.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Event { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new(stream: Uuid, event_name: &str, operation: Operation) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn apply(&self, item: TData) -> TData { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_operation(&self) -> &Operation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Operable` is never used [INFO] [stdout] --> src/event_store/operation.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait Operable: Default + Debug + Clone {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stream` is never constructed [INFO] [stdout] --> src/event_store/stream.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Stream { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `first_name`, `last_name`, and `active` are never read [INFO] [stdout] --> src/contact.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Contact { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | first_name: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | last_name: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | age: u8, [INFO] [stdout] 13 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Contact` 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: associated items `new`, `apply`, and `get_operation` are never used [INFO] [stdout] --> src/event_store/event.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Event { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new(stream: Uuid, event_name: &str, operation: Operation) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn apply(&self, item: TData) -> TData { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_operation(&self) -> &Operation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Operable` is never used [INFO] [stdout] --> src/event_store/operation.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait Operable: Default + Debug + Clone {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stream` is never constructed [INFO] [stdout] --> src/event_store/stream.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Stream { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.45s [INFO] running `Command { std: "docker" "inspect" "1761a8836a2aeb2b2d3fcaac0631e4bf88c6d88a55d7f9d0970143a2861979b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1761a8836a2aeb2b2d3fcaac0631e4bf88c6d88a55d7f9d0970143a2861979b7", kill_on_drop: false }` [INFO] [stdout] 1761a8836a2aeb2b2d3fcaac0631e4bf88c6d88a55d7f9d0970143a2861979b7