[INFO] fetching crate modyne 0.3.0... [INFO] testing modyne-0.3.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate modyne 0.3.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate modyne 0.3.0 [INFO] finished tweaking crates.io crate modyne 0.3.0 [INFO] tweaked toml for crates.io crate modyne 0.3.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate modyne 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 240 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 serde_dynamo v4.2.14 [INFO] [stderr] Downloaded aliri_braid_impl v0.4.0 [INFO] [stderr] Downloaded modyne-derive v0.3.0 [INFO] [stderr] Downloaded aliri_braid v0.4.0 [INFO] [stderr] Downloaded aws-sdk-dynamodb v1.92.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 94c770fef95f3e4c6ebe578868f3e160288afedee003bcbdbd54155af8cee7c6 [INFO] running `Command { std: "docker" "start" "-a" "94c770fef95f3e4c6ebe578868f3e160288afedee003bcbdbd54155af8cee7c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94c770fef95f3e4c6ebe578868f3e160288afedee003bcbdbd54155af8cee7c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94c770fef95f3e4c6ebe578868f3e160288afedee003bcbdbd54155af8cee7c6", kill_on_drop: false }` [INFO] [stdout] 94c770fef95f3e4c6ebe578868f3e160288afedee003bcbdbd54155af8cee7c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 186f50eed364324f67f96fef7183e7fefee773ddba17a24ac85a5c6506a7ea02 [INFO] running `Command { std: "docker" "start" "-a" "186f50eed364324f67f96fef7183e7fefee773ddba17a24ac85a5c6506a7ea02", kill_on_drop: false }` [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling aliri_braid_impl v0.4.0 [INFO] [stderr] Compiling aws-smithy-xml v0.60.10 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling aws-types v1.3.8 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling aliri_braid v0.4.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling aws-smithy-async v1.2.5 [INFO] [stderr] Compiling aws-smithy-types v1.3.2 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.9.0 [INFO] [stderr] Compiling aws-smithy-json v0.61.5 [INFO] [stderr] Compiling aws-smithy-query v0.60.7 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling aws-credential-types v1.2.6 [INFO] [stderr] Compiling aws-smithy-http v0.62.3 [INFO] [stderr] Compiling aws-smithy-observability v0.1.3 [INFO] [stderr] Compiling aws-sigv4 v1.3.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling aws-smithy-http-client v1.1.1 [INFO] [stderr] Compiling aws-smithy-runtime v1.9.1 [INFO] [stderr] Compiling aws-runtime v1.5.10 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.84.0 [INFO] [stderr] Compiling aws-sdk-sso v1.83.0 [INFO] [stderr] Compiling aws-sdk-dynamodb v1.92.0 [INFO] [stderr] Compiling aws-sdk-sts v1.85.0 [INFO] [stderr] Compiling aws-config v1.8.6 [INFO] [stderr] Compiling serde_dynamo v4.2.14 [INFO] [stderr] Compiling modyne v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "186f50eed364324f67f96fef7183e7fefee773ddba17a24ac85a5c6506a7ea02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "186f50eed364324f67f96fef7183e7fefee773ddba17a24ac85a5c6506a7ea02", kill_on_drop: false }` [INFO] [stdout] 186f50eed364324f67f96fef7183e7fefee773ddba17a24ac85a5c6506a7ea02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 5196d691f3da991f1b83c4a3cd58b5718d5055429240e96070ae7129f2abf992 [INFO] running `Command { std: "docker" "start" "-a" "5196d691f3da991f1b83c4a3cd58b5718d5055429240e96070ae7129f2abf992", kill_on_drop: false }` [INFO] [stderr] Compiling modyne v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.59s [INFO] running `Command { std: "docker" "inspect" "5196d691f3da991f1b83c4a3cd58b5718d5055429240e96070ae7129f2abf992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5196d691f3da991f1b83c4a3cd58b5718d5055429240e96070ae7129f2abf992", kill_on_drop: false }` [INFO] [stdout] 5196d691f3da991f1b83c4a3cd58b5718d5055429240e96070ae7129f2abf992 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a4377aa832ceaaefbeaad838a88d83862c4595f99600524921a3a825339f6003 [INFO] running `Command { std: "docker" "start" "-a" "a4377aa832ceaaefbeaad838a88d83862c4595f99600524921a3a825339f6003", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/modyne-a2bb869b6d46bb4d) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test expr::tests::key_condition_expression_between ... ok [INFO] [stdout] test expr::tests::key_condition_expression_partition_only_doesnt_include_sort_key_variable ... ok [INFO] [stdout] test expr::tests::ensure_expected_substitutions_for_projection_expression ... ok [INFO] [stdout] test expr::tests::projection_expression_filters_out_duplicates ... ok [INFO] [stdout] test keys::tests::test_gsi_key ... ok [INFO] [stdout] test keys::tests::test_lsi_key ... ok [INFO] [stdout] test keys::tests::test_primary_key ... ok [INFO] [stdout] test tests::alternate_attribute::test_entity_deserializes_as_expected ... ok [INFO] [stdout] test types::tests::timestamp_matches_expected_format ... ok [INFO] [stdout] test types::tests::timestamp_removes_fractional_seconds ... ok [INFO] [stdout] test types::tests::timestamp_moves_to_utc ... ok [INFO] [stdout] test tests::alternate_attribute::test_entity_serializes_as_expected ... ok [INFO] [stdout] test tests::as_string_set::test_entity_deserializes_as_expected ... ok [INFO] [stdout] test tests::as_string_set::test_entity_serializes_as_expected ... ok [INFO] [stdout] test keys::tests::test_composite_key ... ok [INFO] [stdout] test tests::standard::test_entity_serializes_as_expected ... ok [INFO] [stdout] test types::tests::timestamp_as_attribute_item_is_timestamp ... ok [INFO] [stdout] test tests::standard::test_entity_deserializes_as_expected ... ok [INFO] [stdout] test expr::tests::key_condition_expression_specific_item ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Doc-tests modyne [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/lib.rs - Entity::KeyInput (line 252) ... ok [INFO] [stdout] test src/lib.rs - (line 137) ... FAILED [INFO] [stdout] test src/lib.rs - Entity (line 181) ... FAILED [INFO] [stdout] test src/lib.rs - (line 212) - compile fail ... ok [INFO] [stdout] test src/lib.rs - Entity::KeyInput (line 263) ... ok [INFO] [stdout] test src/lib.rs - (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - (line 246) ... FAILED [INFO] [stdout] test src/lib.rs - (line 175) ... FAILED [INFO] [stdout] test src/lib.rs - EntityDef (line 107) ... FAILED [INFO] [stdout] test src/lib.rs - (line 285) ... FAILED [INFO] [stdout] test src/lib.rs - (line 389) ... ok [INFO] [stdout] test src/lib.rs - (line 45) ... ok [INFO] [stdout] test src/lib.rs - Entity::IndexKeys (line 283) ... ok [INFO] [stdout] test src/lib.rs - EntityDef (line 121) ... ok [INFO] [stdout] test src/lib.rs - Entity::IndexKeys (line 290) ... ok [INFO] [stdout] test src/lib.rs - (line 422) ... ok [INFO] [stdout] test src/lib.rs - (line 17) ... ok [INFO] [stdout] test src/lib.rs - once_projection_expression (line 556) ... ok [INFO] [stdout] test src/keys.rs - keys (line 38) ... ok [INFO] [stdout] test src/keys.rs - keys (line 18) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 137) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `EntityDef` in `modyne` [INFO] [stdout] --> src/lib.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, modyne::EntityDef, serde::Serialize)] [INFO] [stdout] | ^^^^^^^^^ could not find `EntityDef` in `modyne` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "derive")] [INFO] [stdout] | ------------------ the item is gated behind the `derive` feature [INFO] [stdout] 25 | pub use modyne_derive::EntityDef; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn primary_key(input: Self::KeyInput<'_>) -> modyne::keys::Primary {modyne::keys::Primary { hash: String::new(), range: String::new() }} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct Session {user_id: String,session_token: String} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn full_key(&self) -> modyne::keys::FullKey {modyne::keys::FullKey { primary:Self::primary_ke... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct Session {user_id: String,session_token: String} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 14 | impl modyne::Entity for Session { [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct Session {user_id: String,session_token: String} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:153:122 [INFO] [stdout] | [INFO] [stdout] 19 | ...y, Self::IndexKeys> {modyne::keys::FullKey { primary:Self::primary_key(""), indexes:()}} [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct Session {user_id: String,session_token: String} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `primary_key` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity::primary_key` [INFO] [stdout] ... [INFO] [stdout] 300 | fn primary_key(input: Self::KeyInput<'_>) -> ::PrimaryKey; [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Entity (line 181) stdout ---- [INFO] [stdout] error: cannot find derive macro `EntityDef` in this scope [INFO] [stdout] --> src/lib.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, EntityDef, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EntityDef` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:183:28 [INFO] [stdout] | [INFO] [stdout] 5 | use modyne::{keys, Entity, EntityDef}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Order: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 40 | fn primary_key(input: Self::KeyInput<'_>) -> keys::Primary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Order` [INFO] [stdout] --> src/lib.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct Order { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Order: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 47 | fn full_key(&self) -> keys::FullKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Order` [INFO] [stdout] --> src/lib.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct Order { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Order: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 35 | impl Entity for Order { [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Order` [INFO] [stdout] --> src/lib.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct Order { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Order: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 50 | primary: Self::primary_key(OrderKeyInput { order_id: &self.order_id }), [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Order` [INFO] [stdout] --> src/lib.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct Order { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `primary_key` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity::primary_key` [INFO] [stdout] ... [INFO] [stdout] 300 | fn primary_key(input: Self::KeyInput<'_>) -> ::PrimaryKey; [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/lib.rs - (line 92) stdout ---- [INFO] [stdout] error: cannot find derive macro `EntityDef` in this scope [INFO] [stdout] --> src/lib.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, EntityDef, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EntityDef` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 5 | use modyne::{keys, Entity, EntityDef}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn primary_key(input: Self::KeyInput<'_>) -> keys::Primary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct Session { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 34 | fn full_key(&self) -> keys::FullKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:106:1 [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | [INFO] [stdout] 17 | struct Session { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 22 | impl Entity for Session { [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct Session { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 36 | primary: Self::primary_key(&self.session_token), [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct Session { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `primary_key` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity::primary_key` [INFO] [stdout] ... [INFO] [stdout] 300 | fn primary_key(input: Self::KeyInput<'_>) -> ::PrimaryKey; [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/lib.rs - (line 246) stdout ---- [INFO] [stdout] error: cannot find derive macro `EntityDef` in this scope [INFO] [stdout] --> src/lib.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, EntityDef, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EntityDef` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:248:14 [INFO] [stdout] | [INFO] [stdout] 5 | use modyne::{EntityDef, Projection}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Projection` in this scope [INFO] [stdout] --> src/lib.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Projection, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Projection` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:248:25 [INFO] [stdout] | [INFO] [stdout] 5 | use modyne::{EntityDef, Projection}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> src/lib.rs:272:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[entity(Session)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn primary_key(input: Self::KeyInput<'_>) -> modyne::keys::Primary {unimplemented!()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Session { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn full_key(&self) -> modyne::keys::FullKey {unimplemented!()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Session { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:257:25 [INFO] [stdout] | [INFO] [stdout] 14 | impl modyne::Entity for Session { [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Session { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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/lib.rs - (line 175) stdout ---- [INFO] [stdout] error: cannot find derive macro `EntityDef` in this scope [INFO] [stdout] --> src/lib.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, EntityDef, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EntityDef` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 5 | use modyne::{EntityDef, Projection}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Projection` in this scope [INFO] [stdout] --> src/lib.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Projection, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Projection` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 5 | use modyne::{EntityDef, Projection}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> src/lib.rs:201:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[entity(Session)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn primary_key(input: Self::KeyInput<'_>) -> modyne::keys::Primary {unimplemented!()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Session { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn full_key(&self) -> modyne::keys::FullKey {unimplemented!()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Session { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 14 | impl modyne::Entity for Session { [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct Session { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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/lib.rs - EntityDef (line 107) stdout ---- [INFO] [stdout] error: cannot find derive macro `EntityDef` in this scope [INFO] [stdout] --> src/lib.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(EntityDef)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EntityDef` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 5 | use modyne::EntityDef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[serde(rename = "orange", rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[serde(rename = "second-field")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 285) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `EntityDef` in `modyne` [INFO] [stdout] --> src/lib.rs:295:25 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, modyne::EntityDef, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^ could not find `EntityDef` in `modyne` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "derive")] [INFO] [stdout] | ------------------ the item is gated behind the `derive` feature [INFO] [stdout] 25 | pub use modyne_derive::EntityDef; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `EntityDef` in `modyne` [INFO] [stdout] --> src/lib.rs:305:25 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, modyne::EntityDef, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^ could not find `EntityDef` in `modyne` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "derive")] [INFO] [stdout] | ------------------ the item is gated behind the `derive` feature [INFO] [stdout] 25 | pub use modyne_derive::EntityDef; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn primary_key(input: Self::KeyInput<'_>) -> modyne::keys::Primary {unimplemented!()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Session {user_id: String,session_token: String} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 20 | fn full_key(&self) -> modyne::keys::FullKey {unimplemented!()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Session {user_id: String,session_token: String} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 15 | impl modyne::Entity for Session { [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Session {user_id: String,session_token: String} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UserMetadata: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 29 | fn primary_key(input: Self::KeyInput<'_>) -> modyne::keys::Primary {unimplemented!()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `UserMetadata` [INFO] [stdout] --> src/lib.rs:306:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct UserMetadata {user_id: String} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UserMetadata: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn full_key(&self) -> modyne::keys::FullKey {unimplemented!()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `UserMetadata` [INFO] [stdout] --> src/lib.rs:306:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct UserMetadata {user_id: String} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UserMetadata: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:307:25 [INFO] [stdout] | [INFO] [stdout] 25 | impl modyne::Entity for UserMetadata { [INFO] [stdout] | ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `UserMetadata` [INFO] [stdout] --> src/lib.rs:306:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct UserMetadata {user_id: String} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Entity` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 57 | / projections! { [INFO] [stdout] 58 | | enum UserInfoEntities { [INFO] [stdout] 59 | | Session, [INFO] [stdout] 60 | | UserMetadata, [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Session {user_id: String,session_token: String} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `projections` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UserMetadata: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 57 | / projections! { [INFO] [stdout] 58 | | enum UserInfoEntities { [INFO] [stdout] 59 | | Session, [INFO] [stdout] 60 | | UserMetadata, [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `UserMetadata` [INFO] [stdout] --> src/lib.rs:306:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct UserMetadata {user_id: String} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `projections` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 57 | / projections! { [INFO] [stdout] 58 | | enum UserInfoEntities { [INFO] [stdout] 59 | | Session, [INFO] [stdout] 60 | | UserMetadata, [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Session {user_id: String,session_token: String} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `modyne::Entity::Table` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity::Table` [INFO] [stdout] ... [INFO] [stdout] 272 | type Table: Table; [INFO] [stdout] | ----- required by a bound in this associated type [INFO] [stdout] = note: this error originates in the macro `$crate::once_projection_expression` which comes from the expansion of the macro `projections` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Session: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 57 | / projections! { [INFO] [stdout] 58 | | enum UserInfoEntities { [INFO] [stdout] 59 | | Session, [INFO] [stdout] 60 | | UserMetadata, [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `Session` [INFO] [stdout] --> src/lib.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Session {user_id: String,session_token: String} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `modyne::Entity::Table` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity::Table` [INFO] [stdout] ... [INFO] [stdout] 272 | type Table: Table; [INFO] [stdout] | ----- required by a bound in this associated type [INFO] [stdout] = note: this error originates in the macro `$crate::ensure_table_types_are_same` which comes from the expansion of the macro `projections` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UserMetadata: EntityDef` is not satisfied [INFO] [stdout] --> src/lib.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 57 | / projections! { [INFO] [stdout] 58 | | enum UserInfoEntities { [INFO] [stdout] 59 | | Session, [INFO] [stdout] 60 | | UserMetadata, [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `EntityDef` is not implemented for `UserMetadata` [INFO] [stdout] --> src/lib.rs:306:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct UserMetadata {user_id: String} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `modyne::Entity::Table` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | pub trait Entity: EntityDef + Sized { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Entity::Table` [INFO] [stdout] ... [INFO] [stdout] 272 | type Table: Table; [INFO] [stdout] | ----- required by a bound in this associated type [INFO] [stdout] = note: this error originates in the macro `$crate::ensure_table_types_are_same` which comes from the expansion of the macro `projections` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 137) [INFO] [stdout] src/lib.rs - (line 175) [INFO] [stdout] src/lib.rs - (line 246) [INFO] [stdout] src/lib.rs - (line 285) [INFO] [stdout] src/lib.rs - (line 92) [INFO] [stdout] src/lib.rs - Entity (line 181) [INFO] [stdout] src/lib.rs - EntityDef (line 107) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 13 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.98s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a4377aa832ceaaefbeaad838a88d83862c4595f99600524921a3a825339f6003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4377aa832ceaaefbeaad838a88d83862c4595f99600524921a3a825339f6003", kill_on_drop: false }` [INFO] [stdout] a4377aa832ceaaefbeaad838a88d83862c4595f99600524921a3a825339f6003