[INFO] fetching crate modyne 0.3.0... [INFO] testing modyne-0.3.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate modyne 0.3.0 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate modyne 0.3.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 236 packages to latest compatible versions [INFO] [stderr] Adding libloading v0.8.8 (available: v0.8.9) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2883f18a49f0984eeef50b5b9d6f38411bec8c3b3efed5100e2570c709987c6 [INFO] running `Command { std: "docker" "start" "-a" "a2883f18a49f0984eeef50b5b9d6f38411bec8c3b3efed5100e2570c709987c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2883f18a49f0984eeef50b5b9d6f38411bec8c3b3efed5100e2570c709987c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2883f18a49f0984eeef50b5b9d6f38411bec8c3b3efed5100e2570c709987c6", kill_on_drop: false }` [INFO] [stdout] a2883f18a49f0984eeef50b5b9d6f38411bec8c3b3efed5100e2570c709987c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c00da6494a7b84cba26d1704de2c1e45583b6c1e1e87853f1ae127cf94570f1 [INFO] running `Command { std: "docker" "start" "-a" "8c00da6494a7b84cba26d1704de2c1e45583b6c1e1e87853f1ae127cf94570f1", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling aws-lc-sys v0.32.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-rs v1.14.1 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling aws-types v1.3.8 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling aws-smithy-xml v0.60.10 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling aws-smithy-async v1.2.5 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling aliri_braid_impl v0.4.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling aliri_braid v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling aws-smithy-types v1.3.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [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 hyper-rustls v0.24.2 [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 rustls-webpki v0.103.7 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling aws-smithy-http-client v1.1.2 [INFO] [stderr] Compiling aws-smithy-runtime v1.9.2 [INFO] [stderr] Compiling aws-runtime v1.5.10 [INFO] [stderr] Compiling aws-sdk-dynamodb v1.93.0 [INFO] [stderr] Compiling aws-sdk-sso v1.84.0 [INFO] [stderr] Compiling aws-sdk-sts v1.86.0 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.86.0 [INFO] [stderr] Compiling aws-config v1.8.6 [INFO] [stderr] Compiling serde_dynamo v4.3.0 [INFO] [stderr] Compiling modyne v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 30s [INFO] running `Command { std: "docker" "inspect" "8c00da6494a7b84cba26d1704de2c1e45583b6c1e1e87853f1ae127cf94570f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c00da6494a7b84cba26d1704de2c1e45583b6c1e1e87853f1ae127cf94570f1", kill_on_drop: false }` [INFO] [stdout] 8c00da6494a7b84cba26d1704de2c1e45583b6c1e1e87853f1ae127cf94570f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a90868b80b0ee7b919b33cf7dc12524aa44a20f549794ee062f03caa3846602 [INFO] running `Command { std: "docker" "start" "-a" "0a90868b80b0ee7b919b33cf7dc12524aa44a20f549794ee062f03caa3846602", 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.31s [INFO] running `Command { std: "docker" "inspect" "0a90868b80b0ee7b919b33cf7dc12524aa44a20f549794ee062f03caa3846602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a90868b80b0ee7b919b33cf7dc12524aa44a20f549794ee062f03caa3846602", kill_on_drop: false }` [INFO] [stdout] 0a90868b80b0ee7b919b33cf7dc12524aa44a20f549794ee062f03caa3846602 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b54f1fdba9ab84c503dad1e186b08c790eaee6f6710bfe17aca719787cd9ce34 [INFO] running `Command { std: "docker" "start" "-a" "b54f1fdba9ab84c503dad1e186b08c790eaee6f6710bfe17aca719787cd9ce34", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/modyne-8b6e1f948a0edd15) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test expr::tests::ensure_expected_substitutions_for_projection_expression ... ok [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 keys::tests::test_composite_key ... ok [INFO] [stdout] test tests::alternate_attribute::test_entity_deserializes_as_expected ... ok [INFO] [stdout] test expr::tests::key_condition_expression_specific_item ... ok [INFO] [stdout] test tests::alternate_attribute::test_entity_serializes_as_expected ... ok [INFO] [stdout] test keys::tests::test_gsi_key ... ok [INFO] [stdout] test keys::tests::test_lsi_key ... 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 tests::standard::test_entity_deserializes_as_expected ... 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 types::tests::timestamp_removes_fractional_seconds ... ok [INFO] [stdout] test expr::tests::projection_expression_filters_out_duplicates ... ok [INFO] [stdout] test types::tests::timestamp_matches_expected_format ... ok [INFO] [stdout] test types::tests::timestamp_moves_to_utc ... ok [INFO] [stdout] test keys::tests::test_primary_key ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests modyne [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/lib.rs - (line 212) - compile fail ... ok [INFO] [stdout] test src/lib.rs - (line 175) ... FAILED [INFO] [stdout] test src/lib.rs - (line 246) ... FAILED [INFO] [stdout] test src/lib.rs - (line 285) ... FAILED [INFO] [stdout] test src/lib.rs - (line 17) ... ok [INFO] [stdout] test src/lib.rs - (line 137) ... FAILED [INFO] [stdout] test src/lib.rs - (line 389) ... ok [INFO] [stdout] test src/lib.rs - Entity (line 181) ... FAILED [INFO] [stdout] test src/lib.rs - (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - (line 422) ... ok [INFO] [stdout] test src/lib.rs - Entity::IndexKeys (line 283) ... ok [INFO] [stdout] test src/lib.rs - Entity::KeyInput (line 252) ... ok [INFO] [stdout] test src/lib.rs - Entity::KeyInput (line 263) ... ok [INFO] [stdout] test src/lib.rs - (line 45) ... ok [INFO] [stdout] test src/lib.rs - EntityDef (line 121) ... ok [INFO] [stdout] test src/keys.rs - keys (line 18) ... ok [INFO] [stdout] test src/lib.rs - EntityDef (line 107) ... FAILED [INFO] [stdout] test src/lib.rs - Entity::IndexKeys (line 290) ... ok [INFO] [stdout] test src/keys.rs - keys (line 38) ... ok [INFO] [stdout] test src/lib.rs - once_projection_expression (line 556) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EntityDef` is not implemented for `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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EntityDef` is not implemented for `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] | ^^^^^^^ the trait `EntityDef` is not implemented for `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 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EntityDef` is not implemented for `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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EntityDef` is not implemented for `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] | ^^^^^^^ the trait `EntityDef` is not implemented for `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 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EntityDef` is not implemented for `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:302:5 [INFO] [stdout] | [INFO] [stdout] 20 | fn full_key(&self) -> modyne::keys::FullKey {unimplemented!()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EntityDef` is not implemented for `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:297:25 [INFO] [stdout] | [INFO] [stdout] 15 | impl modyne::Entity for Session { [INFO] [stdout] | ^^^^^^^ the trait `EntityDef` is not implemented for `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 `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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EntityDef` is not implemented for `UserMetadata` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EntityDef` is not implemented for `UserMetadata` [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] | ^^^^^^^^^^^^ the trait `EntityDef` is not implemented for `UserMetadata` [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] | |_^ the trait `EntityDef` is not implemented for `Session` [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] | |_^ the trait `EntityDef` is not implemented for `UserMetadata` [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] | |_^ the trait `EntityDef` is not implemented for `Session` [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] | |_^ the trait `EntityDef` is not implemented for `Session` [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] | |_^ the trait `EntityDef` is not implemented for `UserMetadata` [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] ---- 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EntityDef` is not implemented for `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:153:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn full_key(&self) -> modyne::keys::FullKey {modyne::keys::FullKey { primary:Self::primary_ke... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EntityDef` is not implemented for `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:148:25 [INFO] [stdout] | [INFO] [stdout] 14 | impl modyne::Entity for Session { [INFO] [stdout] | ^^^^^^^ the trait `EntityDef` is not implemented for `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:153:122 [INFO] [stdout] | [INFO] [stdout] 19 | ...ys> {modyne::keys::FullKey { primary:Self::primary_key(""), indexes:()}} [INFO] [stdout] | ^^^^ the trait `EntityDef` is not implemented for `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] 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EntityDef` is not implemented for `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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EntityDef` is not implemented for `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] | ^^^^^ the trait `EntityDef` is not implemented for `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] | ^^^^ the trait `EntityDef` is not implemented for `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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EntityDef` is not implemented for `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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EntityDef` is not implemented for `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] | ^^^^^^^ the trait `EntityDef` is not implemented for `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] | ^^^^ the trait `EntityDef` is not implemented for `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 - 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 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 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] [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 4.97s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b54f1fdba9ab84c503dad1e186b08c790eaee6f6710bfe17aca719787cd9ce34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b54f1fdba9ab84c503dad1e186b08c790eaee6f6710bfe17aca719787cd9ce34", kill_on_drop: false }` [INFO] [stdout] b54f1fdba9ab84c503dad1e186b08c790eaee6f6710bfe17aca719787cd9ce34