[INFO] fetching crate cqrs-core 0.2.2... [INFO] checking cqrs-core-0.2.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate cqrs-core 0.2.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate cqrs-core 0.2.2 [INFO] finished tweaking crates.io crate cqrs-core 0.2.2 [INFO] tweaked toml for crates.io crate cqrs-core 0.2.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cqrs-core 0.2.2 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0072d5e0699338cc675c84cb68afad439d722e7cbf1ec4d55ad5ec3c58e55798 [INFO] running `Command { std: "docker" "start" "-a" "0072d5e0699338cc675c84cb68afad439d722e7cbf1ec4d55ad5ec3c58e55798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0072d5e0699338cc675c84cb68afad439d722e7cbf1ec4d55ad5ec3c58e55798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0072d5e0699338cc675c84cb68afad439d722e7cbf1ec4d55ad5ec3c58e55798", kill_on_drop: false }` [INFO] [stdout] 0072d5e0699338cc675c84cb68afad439d722e7cbf1ec4d55ad5ec3c58e55798 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea4652d99e8e5eee1b4d069a07029a8ca26e296807ced8a17f28a2f5896cc1f3 [INFO] running `Command { std: "docker" "start" "-a" "ea4652d99e8e5eee1b4d069a07029a8ca26e296807ced8a17f28a2f5896cc1f3", kill_on_drop: false }` [INFO] [stderr] Checking cqrs-core v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `TestAggregate` is never constructed [INFO] [stdout] --> src/store.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct TestAggregate; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestEvent` is never constructed [INFO] [stdout] --> src/store.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct TestEvent; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestCommand` is never constructed [INFO] [stdout] --> src/store.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct TestCommand; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestMetadata` is never constructed [INFO] [stdout] --> src/store.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct TestMetadata; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub mod reactor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/reactor.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AggregatePredicate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/reactor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | AllAggregates(EventTypesPredicate), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub mod reactor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/reactor.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AggregatePredicate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/reactor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | AllAggregates(EventTypesPredicate), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/reactor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | SpecificAggregates(&'static [SpecificAggregatePredicate]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/reactor.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum EventTypesPredicate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/reactor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | AllEventTypes, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/reactor.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | SpecificEventTypes(&'static [&'static str]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/reactor.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ReactionPredicate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/reactor.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub aggregate_predicate: AggregatePredicate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/reactor.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SpecificAggregatePredicate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/reactor.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub aggregate_type: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/reactor.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub event_types: EventTypesPredicate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/reactor.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | fn start_reaction(reaction: R); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/reactor.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn stop_reaction(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/reactor.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | type Error: CqrsError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/reactor.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | fn reaction_name() -> &'static str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/reactor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | SpecificAggregates(&'static [SpecificAggregatePredicate]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/reactor.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum EventTypesPredicate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/reactor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | AllEventTypes, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/reactor.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | SpecificEventTypes(&'static [&'static str]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/reactor.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ReactionPredicate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/reactor.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub aggregate_predicate: AggregatePredicate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/reactor.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SpecificAggregatePredicate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/reactor.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub aggregate_type: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/reactor.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub event_types: EventTypesPredicate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/reactor.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | fn start_reaction(reaction: R); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/reactor.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn stop_reaction(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/reactor.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | type Error: CqrsError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/reactor.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | fn reaction_name() -> &'static str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/reactor.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | fn react(&mut self, event: RawEvent) -> Result<(), Self::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/reactor.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | fn predicate(&self) -> ReactionPredicate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/reactor.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | fn interval() -> std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/reactor.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | fn react(&mut self, event: RawEvent) -> Result<(), Self::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/reactor.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | fn predicate(&self) -> ReactionPredicate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/reactor.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | fn interval() -> std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Void> [INFO] [stdout] --> src/store.rs:159:94 [INFO] [stdout] | [INFO] [stdout] 159 | fn execute_on(self, _aggregate: &TestAggregate) -> Result { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 160 | | Ok(Vec::default()) [INFO] [stdout] 161 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Void> [INFO] [stdout] --> src/store.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | Ok(Vec::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cqrs-core` (lib test) due to 2 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ea4652d99e8e5eee1b4d069a07029a8ca26e296807ced8a17f28a2f5896cc1f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea4652d99e8e5eee1b4d069a07029a8ca26e296807ced8a17f28a2f5896cc1f3", kill_on_drop: false }` [INFO] [stdout] ea4652d99e8e5eee1b4d069a07029a8ca26e296807ced8a17f28a2f5896cc1f3