[INFO] fetching crate sea-orm-macros 0.7.0... [INFO] testing sea-orm-macros-0.7.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate sea-orm-macros 0.7.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate sea-orm-macros 0.7.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sea-orm-macros 0.7.0 [INFO] finished tweaking crates.io crate sea-orm-macros 0.7.0 [INFO] tweaked toml for crates.io crate sea-orm-macros 0.7.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1460fda8eb4294e637126fb44796e9bdfadeba201d5d10afcdb1d64de1857192 [INFO] running `Command { std: "docker" "start" "-a" "1460fda8eb4294e637126fb44796e9bdfadeba201d5d10afcdb1d64de1857192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1460fda8eb4294e637126fb44796e9bdfadeba201d5d10afcdb1d64de1857192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1460fda8eb4294e637126fb44796e9bdfadeba201d5d10afcdb1d64de1857192", kill_on_drop: false }` [INFO] [stdout] 1460fda8eb4294e637126fb44796e9bdfadeba201d5d10afcdb1d64de1857192 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8fd3c34786c4713e2933892f59432c04ae57ff9bf90a9f3ccc190c54558b9573 [INFO] running `Command { std: "docker" "start" "-a" "8fd3c34786c4713e2933892f59432c04ae57ff9bf90a9f3ccc190c54558b9573", kill_on_drop: false }` [INFO] [stderr] Compiling bae v0.1.7 [INFO] [stderr] Compiling sea-orm-macros v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.61s [INFO] running `Command { std: "docker" "inspect" "8fd3c34786c4713e2933892f59432c04ae57ff9bf90a9f3ccc190c54558b9573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fd3c34786c4713e2933892f59432c04ae57ff9bf90a9f3ccc190c54558b9573", kill_on_drop: false }` [INFO] [stdout] 8fd3c34786c4713e2933892f59432c04ae57ff9bf90a9f3ccc190c54558b9573 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19804a0fe34b61bac42981a9656f0167cd5234e80267df9878fa858a708421e0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "19804a0fe34b61bac42981a9656f0167cd5234e80267df9878fa858a708421e0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling sea-orm-macros v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.79s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/sea_orm_macros-0afc7dac46cb8f66) [INFO] running `Command { std: "docker" "inspect" "19804a0fe34b61bac42981a9656f0167cd5234e80267df9878fa858a708421e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19804a0fe34b61bac42981a9656f0167cd5234e80267df9878fa858a708421e0", kill_on_drop: false }` [INFO] [stdout] 19804a0fe34b61bac42981a9656f0167cd5234e80267df9878fa858a708421e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 30ae223a8631b3f5ff46d9a4cf0fe25561672c37b2fc83d4c131e00510226491 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "30ae223a8631b3f5ff46d9a4cf0fe25561672c37b2fc83d4c131e00510226491", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sea_orm_macros-0afc7dac46cb8f66) [INFO] [stderr] Doc-tests sea_orm_macros [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - derive_from_query_result (line 534) ... FAILED [INFO] [stdout] test src/lib.rs - derive_custom_column (line 237) ... FAILED [INFO] [stdout] test src/lib.rs - derive_primary_key (line 138) ... FAILED [INFO] [stdout] test src/lib.rs - derive_model (line 272) ... FAILED [INFO] [stdout] test src/lib.rs - derive_column (line 214) ... FAILED [INFO] [stdout] test src/lib.rs - derive_relation (line 557) ... FAILED [INFO] [stdout] test src/lib.rs - derive_active_model_behavior (line 426) ... FAILED [INFO] [stdout] test src/lib.rs - derive_entity (line 14) ... FAILED [INFO] [stdout] test src/lib.rs - derive_entity_model (line 86) ... FAILED [INFO] [stdout] test src/lib.rs - derive_active_model (line 344) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - derive_from_query_result (line 534) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sea_orm` [INFO] [stdout] --> src/lib.rs:535:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::{entity::prelude::*, FromQueryResult}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sea_orm` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sea_orm` [INFO] [stdout] --> src/lib.rs:535:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::{entity::prelude::*, FromQueryResult}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sea_orm` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `FromQueryResult` [INFO] [stdout] --> src/lib.rs:537:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, FromQueryResult)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_custom_column (line 237) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sea_orm` [INFO] [stdout] --> src/lib.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::entity::prelude::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sea_orm` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:240:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Copy, Clone, Debug, EnumIter, DeriveCustomColumn)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveCustomColumn` in this scope [INFO] [stdout] --> src/lib.rs:240:40 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Copy, Clone, Debug, EnumIter, DeriveCustomColumn)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveCustomColumn [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IdenStatic` in this scope [INFO] [stdout] --> src/lib.rs:247:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl IdenStatic for Column { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_primary_key (line 138) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sea_orm` [INFO] [stdout] --> src/lib.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::entity::prelude::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sea_orm` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Copy, Clone, Debug, EnumIter, DerivePrimaryKey)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DerivePrimaryKey` in this scope [INFO] [stdout] --> src/lib.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Copy, Clone, Debug, EnumIter, DerivePrimaryKey)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DerivePrimaryKey [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveEntity` in this scope [INFO] [stdout] --> src/lib.rs:147:39 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Copy, Clone, Default, Debug, DeriveEntity)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveEntity [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveModel` in this scope [INFO] [stdout] --> src/lib.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, DeriveModel, DeriveActiveModel)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveModel [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveActiveModel` in this scope [INFO] [stdout] --> src/lib.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, DeriveModel, DeriveActiveModel)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveActiveModel [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Copy, Clone, Debug, EnumIter, DeriveColumn)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveColumn` in this scope [INFO] [stdout] --> src/lib.rs:162:40 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Copy, Clone, Debug, EnumIter, DeriveColumn)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveColumn [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Copy, Clone, Debug, EnumIter)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColumnType` [INFO] [stdout] --> src/lib.rs:176:29 [INFO] [stdout] | [INFO] [stdout] 40 | Self::CakeId => ColumnType::Integer.def(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ColumnType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColumnType` [INFO] [stdout] --> src/lib.rs:177:32 [INFO] [stdout] | [INFO] [stdout] 41 | Self::FillingId => ColumnType::Integer.def(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ColumnType` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityName` in this scope [INFO] [stdout] --> src/lib.rs:150:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl EntityName for Entity { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ColumnTrait` in this scope [INFO] [stdout] --> src/lib.rs:171:6 [INFO] [stdout] | [INFO] [stdout] 35 | impl ColumnTrait for Column { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ColumnDef` in this scope [INFO] [stdout] --> src/lib.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Column { [INFO] [stdout] | --------------- similarly named enum `Column` defined here [INFO] [stdout] ... [INFO] [stdout] 38 | fn def(&self) -> ColumnDef { [INFO] [stdout] | ^^^^^^^^^ help: an enum with a similar name exists: `Column` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PrimaryKeyTrait` in this scope [INFO] [stdout] --> src/lib.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 46 | impl PrimaryKeyTrait for PrimaryKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `RelationTrait` in this scope [INFO] [stdout] --> src/lib.rs:190:6 [INFO] [stdout] | [INFO] [stdout] 54 | impl RelationTrait for Relation { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RelationDef` in this scope [INFO] [stdout] --> src/lib.rs:191:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Relation {} [INFO] [stdout] | ----------------- similarly named enum `Relation` defined here [INFO] [stdout] ... [INFO] [stdout] 55 | fn def(&self) -> RelationDef { [INFO] [stdout] | ^^^^^^^^^^^ help: an enum with a similar name exists: `Relation` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ActiveModelBehavior` in this scope [INFO] [stdout] --> src/lib.rs:196:6 [INFO] [stdout] | [INFO] [stdout] 60 | impl ActiveModelBehavior for ActiveModel {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ActiveModel` in this scope [INFO] [stdout] --> src/lib.rs:196:30 [INFO] [stdout] | [INFO] [stdout] 60 | impl ActiveModelBehavior for ActiveModel {} [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_model (line 272) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sea_orm` [INFO] [stdout] --> src/lib.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::entity::prelude::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sea_orm` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveModel` in this scope [INFO] [stdout] --> src/lib.rs:275:35 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Debug, PartialEq, DeriveModel, DeriveActiveModel)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveModel [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveActiveModel` in this scope [INFO] [stdout] --> src/lib.rs:275:48 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Debug, PartialEq, DeriveModel, DeriveActiveModel)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveActiveModel [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveEntity` in this scope [INFO] [stdout] --> src/lib.rs:281:39 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Copy, Clone, Default, Debug, DeriveEntity)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveEntity [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:290:30 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Copy, Clone, Debug, EnumIter, DeriveColumn)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveColumn` in this scope [INFO] [stdout] --> src/lib.rs:290:40 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Copy, Clone, Debug, EnumIter, DeriveColumn)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveColumn [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:296:30 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Copy, Clone, Debug, EnumIter, DerivePrimaryKey)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DerivePrimaryKey` in this scope [INFO] [stdout] --> src/lib.rs:296:40 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Copy, Clone, Debug, EnumIter, DerivePrimaryKey)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DerivePrimaryKey [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:309:30 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Copy, Clone, Debug, EnumIter)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColumnType` [INFO] [stdout] --> src/lib.rs:317:25 [INFO] [stdout] | [INFO] [stdout] 47 | Self::Id => ColumnType::Integer.def(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ColumnType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColumnType` [INFO] [stdout] --> src/lib.rs:318:27 [INFO] [stdout] | [INFO] [stdout] 48 | Self::Name => ColumnType::String(None).def(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ColumnType` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityName` in this scope [INFO] [stdout] --> src/lib.rs:284:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl EntityName for Entity { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PrimaryKeyTrait` in this scope [INFO] [stdout] --> src/lib.rs:301:6 [INFO] [stdout] | [INFO] [stdout] 31 | impl PrimaryKeyTrait for PrimaryKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ColumnTrait` in this scope [INFO] [stdout] --> src/lib.rs:312:6 [INFO] [stdout] | [INFO] [stdout] 42 | impl ColumnTrait for Column { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ColumnDef` in this scope [INFO] [stdout] --> src/lib.rs:315:22 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Column { [INFO] [stdout] | --------------- similarly named enum `Column` defined here [INFO] [stdout] ... [INFO] [stdout] 45 | fn def(&self) -> ColumnDef { [INFO] [stdout] | ^^^^^^^^^ help: an enum with a similar name exists: `Column` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `RelationTrait` in this scope [INFO] [stdout] --> src/lib.rs:323:6 [INFO] [stdout] | [INFO] [stdout] 53 | impl RelationTrait for Relation { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RelationDef` in this scope [INFO] [stdout] --> src/lib.rs:324:22 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum Relation {} [INFO] [stdout] | ----------------- similarly named enum `Relation` defined here [INFO] [stdout] ... [INFO] [stdout] 54 | fn def(&self) -> RelationDef { [INFO] [stdout] | ^^^^^^^^^^^ help: an enum with a similar name exists: `Relation` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ActiveModelBehavior` in this scope [INFO] [stdout] --> src/lib.rs:329:6 [INFO] [stdout] | [INFO] [stdout] 59 | impl ActiveModelBehavior for ActiveModel {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ActiveModel` in this scope [INFO] [stdout] --> src/lib.rs:329:30 [INFO] [stdout] | [INFO] [stdout] 59 | impl ActiveModelBehavior for ActiveModel {} [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_column (line 214) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sea_orm` [INFO] [stdout] --> src/lib.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::entity::prelude::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sea_orm` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:217:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Copy, Clone, Debug, EnumIter, DeriveColumn)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveColumn` in this scope [INFO] [stdout] --> src/lib.rs:217:40 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Copy, Clone, Debug, EnumIter, DeriveColumn)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveColumn [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_relation (line 557) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sea_orm` [INFO] [stdout] --> src/lib.rs:559:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sea_orm::entity::prelude::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sea_orm` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sea_orm` [INFO] [stdout] --> src/lib.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::tests_cfg::fruit::Entity; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sea_orm` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sea_orm::tests_cfg::fruit::Entity` [INFO] [stdout] --> src/lib.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::tests_cfg::fruit::Entity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:561:30 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveRelation` in this scope [INFO] [stdout] --> src/lib.rs:561:40 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveRelation [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sea_orm` in this scope [INFO] [stdout] --> src/lib.rs:563:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[sea_orm( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sea_orm` in this scope [INFO] [stdout] --> src/lib.rs:569:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[sea_orm( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_active_model_behavior (line 426) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sea_orm` [INFO] [stdout] --> src/lib.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::entity::prelude::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sea_orm` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveModel` in this scope [INFO] [stdout] --> src/lib.rs:430:30 [INFO] [stdout] | [INFO] [stdout] 6 | Clone, Debug, PartialEq, DeriveModel, DeriveActiveModel, DeriveActiveModelBehavior, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveModel [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveActiveModel` in this scope [INFO] [stdout] --> src/lib.rs:430:43 [INFO] [stdout] | [INFO] [stdout] 6 | Clone, Debug, PartialEq, DeriveModel, DeriveActiveModel, DeriveActiveModelBehavior, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveActiveModel [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveActiveModelBehavior` in this scope [INFO] [stdout] --> src/lib.rs:430:62 [INFO] [stdout] | [INFO] [stdout] 6 | Clone, Debug, PartialEq, DeriveModel, DeriveActiveModel, DeriveActiveModelBehavior, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveActiveModelBehavior [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveEntity` in this scope [INFO] [stdout] --> src/lib.rs:437:39 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Clone, Default, Debug, DeriveEntity)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveEntity [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:446:30 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Copy, Clone, Debug, EnumIter, DeriveColumn)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveColumn` in this scope [INFO] [stdout] --> src/lib.rs:446:40 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Copy, Clone, Debug, EnumIter, DeriveColumn)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveColumn [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:452:30 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Copy, Clone, Debug, EnumIter, DerivePrimaryKey)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DerivePrimaryKey` in this scope [INFO] [stdout] --> src/lib.rs:452:40 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Copy, Clone, Debug, EnumIter, DerivePrimaryKey)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DerivePrimaryKey [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:465:30 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Copy, Clone, Debug, EnumIter)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColumnType` [INFO] [stdout] --> src/lib.rs:473:25 [INFO] [stdout] | [INFO] [stdout] 49 | Self::Id => ColumnType::Integer.def(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ColumnType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColumnType` [INFO] [stdout] --> src/lib.rs:474:27 [INFO] [stdout] | [INFO] [stdout] 50 | Self::Name => ColumnType::String(None).def(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ColumnType` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityName` in this scope [INFO] [stdout] --> src/lib.rs:440:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl EntityName for Entity { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PrimaryKeyTrait` in this scope [INFO] [stdout] --> src/lib.rs:457:6 [INFO] [stdout] | [INFO] [stdout] 33 | impl PrimaryKeyTrait for PrimaryKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ColumnTrait` in this scope [INFO] [stdout] --> src/lib.rs:468:6 [INFO] [stdout] | [INFO] [stdout] 44 | impl ColumnTrait for Column { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ColumnDef` in this scope [INFO] [stdout] --> src/lib.rs:471:22 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Column { [INFO] [stdout] | --------------- similarly named enum `Column` defined here [INFO] [stdout] ... [INFO] [stdout] 47 | fn def(&self) -> ColumnDef { [INFO] [stdout] | ^^^^^^^^^ help: an enum with a similar name exists: `Column` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `RelationTrait` in this scope [INFO] [stdout] --> src/lib.rs:479:6 [INFO] [stdout] | [INFO] [stdout] 55 | impl RelationTrait for Relation { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RelationDef` in this scope [INFO] [stdout] --> src/lib.rs:480:22 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum Relation {} [INFO] [stdout] | ----------------- similarly named enum `Relation` defined here [INFO] [stdout] ... [INFO] [stdout] 56 | fn def(&self) -> RelationDef { [INFO] [stdout] | ^^^^^^^^^^^ help: an enum with a similar name exists: `Relation` [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_entity (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sea_orm` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::entity::prelude::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sea_orm` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveEntity` in this scope [INFO] [stdout] --> src/lib.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Copy, Clone, Default, Debug, DeriveEntity)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveEntity [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveModel` in this scope [INFO] [stdout] --> src/lib.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Debug, PartialEq, DeriveModel, DeriveActiveModel)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveModel [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveActiveModel` in this scope [INFO] [stdout] --> src/lib.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Debug, PartialEq, DeriveModel, DeriveActiveModel)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveActiveModel [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Copy, Clone, Debug, EnumIter, DeriveColumn)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveColumn` in this scope [INFO] [stdout] --> src/lib.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Copy, Clone, Debug, EnumIter, DeriveColumn)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveColumn [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Copy, Clone, Debug, EnumIter, DerivePrimaryKey)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DerivePrimaryKey` in this scope [INFO] [stdout] --> src/lib.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Copy, Clone, Debug, EnumIter, DerivePrimaryKey)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DerivePrimaryKey [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Copy, Clone, Debug, EnumIter)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColumnType` [INFO] [stdout] --> src/lib.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 47 | Self::Id => ColumnType::Integer.def(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ColumnType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColumnType` [INFO] [stdout] --> src/lib.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 48 | Self::Name => ColumnType::String(None).def(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ColumnType` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityName` in this scope [INFO] [stdout] --> src/lib.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl EntityName for Entity { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PrimaryKeyTrait` in this scope [INFO] [stdout] --> src/lib.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 31 | impl PrimaryKeyTrait for PrimaryKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ColumnTrait` in this scope [INFO] [stdout] --> src/lib.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 42 | impl ColumnTrait for Column { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ColumnDef` in this scope [INFO] [stdout] --> src/lib.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Column { [INFO] [stdout] | --------------- similarly named enum `Column` defined here [INFO] [stdout] ... [INFO] [stdout] 45 | fn def(&self) -> ColumnDef { [INFO] [stdout] | ^^^^^^^^^ help: an enum with a similar name exists: `Column` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `RelationTrait` in this scope [INFO] [stdout] --> src/lib.rs:65:6 [INFO] [stdout] | [INFO] [stdout] 53 | impl RelationTrait for Relation { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RelationDef` in this scope [INFO] [stdout] --> src/lib.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum Relation {} [INFO] [stdout] | ----------------- similarly named enum `Relation` defined here [INFO] [stdout] ... [INFO] [stdout] 54 | fn def(&self) -> RelationDef { [INFO] [stdout] | ^^^^^^^^^^^ help: an enum with a similar name exists: `Relation` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ActiveModelBehavior` in this scope [INFO] [stdout] --> src/lib.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 59 | impl ActiveModelBehavior for ActiveModel {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ActiveModel` in this scope [INFO] [stdout] --> src/lib.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 59 | impl ActiveModelBehavior for ActiveModel {} [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_entity_model (line 86) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sea_orm` [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::entity::prelude::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sea_orm` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveEntityModel` in this scope [INFO] [stdout] --> src/lib.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug, PartialEq, DeriveEntityModel, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveEntityModel [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sea_orm` in this scope [INFO] [stdout] --> src/lib.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[sea_orm(table_name = "posts")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sea_orm` in this scope [INFO] [stdout] --> src/lib.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[sea_orm(primary_key)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sea_orm` in this scope [INFO] [stdout] --> src/lib.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[sea_orm(column_type = "Text")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Copy, Clone, Debug, EnumIter)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `RelationTrait` in this scope [INFO] [stdout] --> src/lib.rs:103:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl RelationTrait for Relation { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RelationDef` in this scope [INFO] [stdout] --> src/lib.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Relation {} [INFO] [stdout] | ----------------- similarly named enum `Relation` defined here [INFO] [stdout] ... [INFO] [stdout] 20 | fn def(&self) -> RelationDef { [INFO] [stdout] | ^^^^^^^^^^^ help: an enum with a similar name exists: `Relation` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ActiveModelBehavior` in this scope [INFO] [stdout] --> src/lib.rs:109:6 [INFO] [stdout] | [INFO] [stdout] 25 | impl ActiveModelBehavior for ActiveModel {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ActiveModel` in this scope [INFO] [stdout] --> src/lib.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 25 | impl ActiveModelBehavior for ActiveModel {} [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_active_model (line 344) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sea_orm` [INFO] [stdout] --> src/lib.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::entity::prelude::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sea_orm` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveModel` in this scope [INFO] [stdout] --> src/lib.rs:347:35 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Debug, PartialEq, DeriveModel, DeriveActiveModel)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveModel [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveActiveModel` in this scope [INFO] [stdout] --> src/lib.rs:347:48 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Debug, PartialEq, DeriveModel, DeriveActiveModel)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveActiveModel [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveEntity` in this scope [INFO] [stdout] --> src/lib.rs:353:39 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Copy, Clone, Default, Debug, DeriveEntity)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveEntity [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:362:30 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Copy, Clone, Debug, EnumIter, DeriveColumn)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeriveColumn` in this scope [INFO] [stdout] --> src/lib.rs:362:40 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Copy, Clone, Debug, EnumIter, DeriveColumn)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DeriveColumn [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:368:30 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Copy, Clone, Debug, EnumIter, DerivePrimaryKey)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DerivePrimaryKey` in this scope [INFO] [stdout] --> src/lib.rs:368:40 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Copy, Clone, Debug, EnumIter, DerivePrimaryKey)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] sea_orm_macros::DerivePrimaryKey [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope [INFO] [stdout] --> src/lib.rs:381:30 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Copy, Clone, Debug, EnumIter)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColumnType` [INFO] [stdout] --> src/lib.rs:389:25 [INFO] [stdout] | [INFO] [stdout] 47 | Self::Id => ColumnType::Integer.def(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ColumnType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColumnType` [INFO] [stdout] --> src/lib.rs:390:27 [INFO] [stdout] | [INFO] [stdout] 48 | Self::Name => ColumnType::String(None).def(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ColumnType` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityName` in this scope [INFO] [stdout] --> src/lib.rs:356:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl EntityName for Entity { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PrimaryKeyTrait` in this scope [INFO] [stdout] --> src/lib.rs:373:6 [INFO] [stdout] | [INFO] [stdout] 31 | impl PrimaryKeyTrait for PrimaryKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ColumnTrait` in this scope [INFO] [stdout] --> src/lib.rs:384:6 [INFO] [stdout] | [INFO] [stdout] 42 | impl ColumnTrait for Column { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ColumnDef` in this scope [INFO] [stdout] --> src/lib.rs:387:22 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Column { [INFO] [stdout] | --------------- similarly named enum `Column` defined here [INFO] [stdout] ... [INFO] [stdout] 45 | fn def(&self) -> ColumnDef { [INFO] [stdout] | ^^^^^^^^^ help: an enum with a similar name exists: `Column` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `RelationTrait` in this scope [INFO] [stdout] --> src/lib.rs:395:6 [INFO] [stdout] | [INFO] [stdout] 53 | impl RelationTrait for Relation { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RelationDef` in this scope [INFO] [stdout] --> src/lib.rs:396:22 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum Relation {} [INFO] [stdout] | ----------------- similarly named enum `Relation` defined here [INFO] [stdout] ... [INFO] [stdout] 54 | fn def(&self) -> RelationDef { [INFO] [stdout] | ^^^^^^^^^^^ help: an enum with a similar name exists: `Relation` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ActiveModelBehavior` in this scope [INFO] [stdout] --> src/lib.rs:401:6 [INFO] [stdout] | [INFO] [stdout] 59 | impl ActiveModelBehavior for ActiveModel {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ActiveModel` in this scope [INFO] [stdout] --> src/lib.rs:401:30 [INFO] [stdout] | [INFO] [stdout] 59 | impl ActiveModelBehavior for ActiveModel {} [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - derive_active_model (line 344) [INFO] [stdout] src/lib.rs - derive_active_model_behavior (line 426) [INFO] [stdout] src/lib.rs - derive_column (line 214) [INFO] [stdout] src/lib.rs - derive_custom_column (line 237) [INFO] [stdout] src/lib.rs - derive_entity (line 14) [INFO] [stdout] src/lib.rs - derive_entity_model (line 86) [INFO] [stdout] src/lib.rs - derive_from_query_result (line 534) [INFO] [stdout] src/lib.rs - derive_model (line 272) [INFO] [stdout] src/lib.rs - derive_primary_key (line 138) [INFO] [stdout] src/lib.rs - derive_relation (line 557) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.93s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "30ae223a8631b3f5ff46d9a4cf0fe25561672c37b2fc83d4c131e00510226491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30ae223a8631b3f5ff46d9a4cf0fe25561672c37b2fc83d4c131e00510226491", kill_on_drop: false }` [INFO] [stdout] 30ae223a8631b3f5ff46d9a4cf0fe25561672c37b2fc83d4c131e00510226491