[INFO] fetching crate presage 0.3.0... [INFO] testing presage-0.3.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate presage 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate presage 0.3.0 [INFO] finished tweaking crates.io crate presage 0.3.0 [INFO] tweaked toml for crates.io crate presage 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate presage 0.3.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded presage-macros v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2d493bff8d25d0016c78122d449593b6250f67ca98e4c4f396eb6b2bcec8d73 [INFO] running `Command { std: "docker" "start" "-a" "c2d493bff8d25d0016c78122d449593b6250f67ca98e4c4f396eb6b2bcec8d73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2d493bff8d25d0016c78122d449593b6250f67ca98e4c4f396eb6b2bcec8d73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2d493bff8d25d0016c78122d449593b6250f67ca98e4c4f396eb6b2bcec8d73", kill_on_drop: false }` [INFO] [stdout] c2d493bff8d25d0016c78122d449593b6250f67ca98e4c4f396eb6b2bcec8d73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a18c2d9aedcdf0c31ae4698f96d5dcea010733954848491dc5adb3016983ea23 [INFO] running `Command { std: "docker" "start" "-a" "a18c2d9aedcdf0c31ae4698f96d5dcea010733954848491dc5adb3016983ea23", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling presage-macros v0.3.0 [INFO] [stderr] Compiling presage v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `__docs` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | #![cfg_attr(__docs, feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(__docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(__docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestEventHandler1` is never constructed [INFO] [stdout] --> src/configuration.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | struct TestEventHandler1; [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 `TestEventHandler2` is never constructed [INFO] [stdout] --> src/configuration.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | struct TestEventHandler2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.60s [INFO] running `Command { std: "docker" "inspect" "a18c2d9aedcdf0c31ae4698f96d5dcea010733954848491dc5adb3016983ea23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a18c2d9aedcdf0c31ae4698f96d5dcea010733954848491dc5adb3016983ea23", kill_on_drop: false }` [INFO] [stdout] a18c2d9aedcdf0c31ae4698f96d5dcea010733954848491dc5adb3016983ea23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1def5e83b192142d6948318219f9e6fa5fa09b97d2aa59642a4e705635e57a96 [INFO] running `Command { std: "docker" "start" "-a" "1def5e83b192142d6948318219f9e6fa5fa09b97d2aa59642a4e705635e57a96", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `__docs` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | #![cfg_attr(__docs, feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(__docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(__docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestEventHandler1` is never constructed [INFO] [stdout] --> src/configuration.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | struct TestEventHandler1; [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 `TestEventHandler2` is never constructed [INFO] [stdout] --> src/configuration.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | struct TestEventHandler2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling presage v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `__docs` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | #![cfg_attr(__docs, feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(__docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(__docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "1def5e83b192142d6948318219f9e6fa5fa09b97d2aa59642a4e705635e57a96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1def5e83b192142d6948318219f9e6fa5fa09b97d2aa59642a4e705635e57a96", kill_on_drop: false }` [INFO] [stdout] 1def5e83b192142d6948318219f9e6fa5fa09b97d2aa59642a4e705635e57a96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 950ac2c2b29322d7fc4524af47ecd1ee53a8eb1bd795ac2f6a6a333543c84482 [INFO] running `Command { std: "docker" "start" "-a" "950ac2c2b29322d7fc4524af47ecd1ee53a8eb1bd795ac2f6a6a333543c84482", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `__docs` [INFO] [stderr] --> src/lib.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | #![cfg_attr(__docs, feature(doc_auto_cfg))] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(__docs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(__docs)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `TestEventHandler1` is never constructed [INFO] [stderr] --> src/configuration.rs:95:12 [INFO] [stderr] | [INFO] [stderr] 95 | struct TestEventHandler1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `TestEventHandler2` is never constructed [INFO] [stderr] --> src/configuration.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 108 | struct TestEventHandler2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `presage` (lib) generated 3 warnings [INFO] [stderr] warning: `presage` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/presage-ce2c868e66718b9d) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test configuration::test::test_add_assign ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests presage [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/command.rs - command::Command (line 17) ... FAILED [INFO] [stdout] test src/command_bus.rs - command_bus::CommandBus::configure (line 43) ... FAILED [INFO] [stdout] test src/event.rs - event::Event (line 20) ... FAILED [INFO] [stdout] test src/aggregate.rs - aggregate::Aggregate (line 22) ... ok [INFO] [stdout] test src/event.rs - event::AggregateEvent (line 49) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/command.rs - command::Command (line 17) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Todo` in this scope [INFO] [stdout] --> src/command.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub id: Id, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CreateTodo { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command_bus.rs - command_bus::CommandBus::configure (line 43) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `some_event_handler` in this scope [INFO] [stdout] --> src/command_bus.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 8 | .event_handler(&some_event_handler) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `some_command_handler` in this scope [INFO] [stdout] --> src/command_bus.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 9 | .command_handler(&some_command_handler) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/event.rs - event::Event (line 20) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Instant: Serialize` is not satisfied [INFO] [stdout] --> src/event.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `Instant` [INFO] [stdout] 6 | struct SystemStarted(std::time::Instant); [INFO] [stdout] | ------------------ required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Instant` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 133 others [INFO] [stdout] note: required by a bound in `serialize_newtype_struct` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:907:21 [INFO] [stdout] | [INFO] [stdout] 901 | fn serialize_newtype_struct( [INFO] [stdout] | ------------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 907 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_struct` [INFO] [stdout] = note: this error originates in the derive macro `serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Instant: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/event.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 6 | struct SystemStarted(std::time::Instant); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Instant` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Instant` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] `&'a Path` implements `Deserialize<'de>` [INFO] [stdout] `&'a [u8]` implements `Deserialize<'de>` [INFO] [stdout] `&'a str` implements `Deserialize<'de>` [INFO] [stdout] `()` implements `Deserialize<'de>` [INFO] [stdout] `(T,)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Deserialize<'de>` [INFO] [stdout] and 144 others [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Instant: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/event.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 6 | struct SystemStarted(std::time::Instant); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Instant` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Instant` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] `&'a Path` implements `Deserialize<'de>` [INFO] [stdout] `&'a [u8]` implements `Deserialize<'de>` [INFO] [stdout] `&'a str` implements `Deserialize<'de>` [INFO] [stdout] `()` implements `Deserialize<'de>` [INFO] [stdout] `(T,)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Deserialize<'de>` [INFO] [stdout] and 144 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/event.rs - event::AggregateEvent (line 49) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Todo` in this scope [INFO] [stdout] --> src/event.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub id: Id, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TodoCreated { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Todo` in this scope [INFO] [stdout] --> src/event.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub id: Id, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Todo` in this scope [INFO] [stdout] --> src/event.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 18 | type Aggregate = Todo; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/command.rs - command::Command (line 17) [INFO] [stdout] src/command_bus.rs - command_bus::CommandBus::configure (line 43) [INFO] [stdout] src/event.rs - event::AggregateEvent (line 49) [INFO] [stdout] src/event.rs - event::Event (line 20) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.53s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "950ac2c2b29322d7fc4524af47ecd1ee53a8eb1bd795ac2f6a6a333543c84482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "950ac2c2b29322d7fc4524af47ecd1ee53a8eb1bd795ac2f6a6a333543c84482", kill_on_drop: false }` [INFO] [stdout] 950ac2c2b29322d7fc4524af47ecd1ee53a8eb1bd795ac2f6a6a333543c84482