[INFO] fetching crate typed_sqlx_client_macros 0.2.0... [INFO] testing typed_sqlx_client_macros-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate typed_sqlx_client_macros 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate typed_sqlx_client_macros 0.2.0 [INFO] finished tweaking crates.io crate typed_sqlx_client_macros 0.2.0 [INFO] tweaked toml for crates.io crate typed_sqlx_client_macros 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate typed_sqlx_client_macros 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate typed_sqlx_client_macros 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8133e2fa87d7658ed5cfb504ebf245c771ed8a80783ec0f8b2b9dfad08b5245d [INFO] running `Command { std: "docker" "start" "-a" "8133e2fa87d7658ed5cfb504ebf245c771ed8a80783ec0f8b2b9dfad08b5245d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8133e2fa87d7658ed5cfb504ebf245c771ed8a80783ec0f8b2b9dfad08b5245d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8133e2fa87d7658ed5cfb504ebf245c771ed8a80783ec0f8b2b9dfad08b5245d", kill_on_drop: false }` [INFO] [stdout] 8133e2fa87d7658ed5cfb504ebf245c771ed8a80783ec0f8b2b9dfad08b5245d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9eb4faefaf4f77cc175cf1978499268587ffcd6be9f71ec2f1422a51d709ae9 [INFO] running `Command { std: "docker" "start" "-a" "d9eb4faefaf4f77cc175cf1978499268587ffcd6be9f71ec2f1422a51d709ae9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling typed_sqlx_client_macros v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.96s [INFO] running `Command { std: "docker" "inspect" "d9eb4faefaf4f77cc175cf1978499268587ffcd6be9f71ec2f1422a51d709ae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9eb4faefaf4f77cc175cf1978499268587ffcd6be9f71ec2f1422a51d709ae9", kill_on_drop: false }` [INFO] [stdout] d9eb4faefaf4f77cc175cf1978499268587ffcd6be9f71ec2f1422a51d709ae9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8e9d6625bf97cac63a4d6144627723bed45bb7f5dd029028ac91d568db56784 [INFO] running `Command { std: "docker" "start" "-a" "a8e9d6625bf97cac63a4d6144627723bed45bb7f5dd029028ac91d568db56784", kill_on_drop: false }` [INFO] [stderr] Compiling typed_sqlx_client_macros v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.47s [INFO] running `Command { std: "docker" "inspect" "a8e9d6625bf97cac63a4d6144627723bed45bb7f5dd029028ac91d568db56784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8e9d6625bf97cac63a4d6144627723bed45bb7f5dd029028ac91d568db56784", kill_on_drop: false }` [INFO] [stdout] a8e9d6625bf97cac63a4d6144627723bed45bb7f5dd029028ac91d568db56784 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ba42d8f10df02fb3d61d83c1efd9544e2def8f19f481674ab30a57fddbbf90ec [INFO] running `Command { std: "docker" "start" "-a" "ba42d8f10df02fb3d61d83c1efd9544e2def8f19f481674ab30a57fddbbf90ec", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/typed_sqlx_client_macros-8302b63aa65cd538) [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] [stderr] Doc-tests typed_sqlx_client_macros [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - derive_crud_ops_ref (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - derive_crud_ops_ref (line 130) ... FAILED [INFO] [stdout] test src/lib.rs - derive_crud_ops_ref (line 34) ... ok [INFO] [stdout] test src/lib.rs - derive_crud_ops_ref (line 57) ... FAILED [INFO] [stdout] test src/lib.rs - derive_crud_ops_ref (line 84) ... FAILED [INFO] [stdout] test src/lib.rs - derive_crud_ops_ref (line 160) ... ok [INFO] [stdout] test src/lib.rs - derive_crud_ops_ref (line 182) ... ok [INFO] [stdout] test src/lib.rs - derive_crud_ops_ref (line 41) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - derive_crud_ops_ref (line 108) stdout ---- [INFO] [stdout] error: cannot find derive macro `FromRow` in this scope [INFO] [stdout] --> src/lib.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(FromRow, CrudOpsRef)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `CrudOpsRef` in this scope [INFO] [stdout] --> src/lib.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(FromRow, CrudOpsRef)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use typed_sqlx_client_macros::CrudOpsRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crud` in this scope [INFO] [stdout] --> src/lib.rs:120:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[crud(table = "products", db = "sqlite")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crud` in this scope [INFO] [stdout] --> src/lib.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[crud(primary_key)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromRow` in this scope [INFO] [stdout] --> src/lib.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(FromRow, CrudOpsRef)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `CrudOpsRef` in this scope [INFO] [stdout] --> src/lib.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(FromRow, CrudOpsRef)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use typed_sqlx_client_macros::CrudOpsRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crud` in this scope [INFO] [stdout] --> src/lib.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[crud(table = "products", db = "mysql")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crud` in this scope [INFO] [stdout] --> src/lib.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[crud(primary_key)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_crud_ops_ref (line 130) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/lib.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromRow` in this scope [INFO] [stdout] --> src/lib.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(FromRow, CrudOpsRef)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `CrudOpsRef` in this scope [INFO] [stdout] --> src/lib.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(FromRow, CrudOpsRef)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use typed_sqlx_client_macros::CrudOpsRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crud` in this scope [INFO] [stdout] --> src/lib.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[crud(table = "advanced_users", db = "postgres")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `crud` is an attribute that can be used by the derive macro `CrudOpsRef`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crud` in this scope [INFO] [stdout] --> src/lib.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[crud(primary_key)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `crud` is an attribute that can be used by the derive macro `CrudOpsRef`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crud` in this scope [INFO] [stdout] --> src/lib.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[crud(rename = "metadata")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `crud` is an attribute that can be used by the derive macro `CrudOpsRef`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crud` in this scope [INFO] [stdout] --> src/lib.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[crud(rename = "tags")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `crud` is an attribute that can be used by the derive macro `CrudOpsRef`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/lib.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 9 | id: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | struct AdvancedUser { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `chrono` [INFO] [stdout] --> src/lib.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 19 | created_at: chrono::DateTime, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `chrono` [INFO] [stdout] --> src/lib.rs:147:34 [INFO] [stdout] | [INFO] [stdout] 19 | created_at: chrono::DateTime, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `chrono` [INFO] [stdout] --> src/lib.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 20 | updated_at: Option>, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `chrono` [INFO] [stdout] --> src/lib.rs:148:41 [INFO] [stdout] | [INFO] [stdout] 20 | updated_at: Option>, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_crud_ops_ref (line 57) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `typed_sqlx_client` [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 3 | use typed_sqlx_client::{CrudOpsRef, SqlPool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `typed_sqlx_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `typed_sqlx_client`, use `cargo add typed_sqlx_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::FromRow; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crud` in this scope [INFO] [stdout] --> src/lib.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[crud(table = "users", db = "postgres")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `crud` is an attribute that can be used by the derive macro `CrudOpsRef`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crud` in this scope [INFO] [stdout] --> src/lib.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[crud(primary_key)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `crud` is an attribute that can be used by the derive macro `CrudOpsRef`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pg_pool` in this scope [INFO] [stdout] --> src/lib.rs:73:41 [INFO] [stdout] | [INFO] [stdout] 18 | let pool = SqlPool::from_pool::(pg_pool); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/lib.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 17 | async fn example() -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_crud_ops_ref (line 84) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `uuid` [INFO] [stdout] --> src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromRow` in this scope [INFO] [stdout] --> src/lib.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(FromRow, CrudOpsRef)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `CrudOpsRef` in this scope [INFO] [stdout] --> src/lib.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(FromRow, CrudOpsRef)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use typed_sqlx_client_macros::CrudOpsRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crud` in this scope [INFO] [stdout] --> src/lib.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[crud(table = "user_profiles", db = "postgres")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `crud` is an attribute that can be used by the derive macro `CrudOpsRef`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crud` in this scope [INFO] [stdout] --> src/lib.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[crud(primary_key)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `crud` is an attribute that can be used by the derive macro `CrudOpsRef`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crud` in this scope [INFO] [stdout] --> src/lib.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[crud(rename = "full_name")] // Database column: full_name [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `crud` is an attribute that can be used by the derive macro `CrudOpsRef`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crud` in this scope [INFO] [stdout] --> src/lib.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[crud(rename = "email_address")] // Database column: email_address [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `crud` is an attribute that can be used by the derive macro `CrudOpsRef`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crud` in this scope [INFO] [stdout] --> src/lib.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[crud(rename = "birth_date")] // Database column: birth_date [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `crud` is an attribute that can be used by the derive macro `CrudOpsRef`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `chrono` [INFO] [stdout] --> src/lib.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 18 | birthday: Option, // Rust field: birthday [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - derive_crud_ops_ref (line 108) [INFO] [stdout] src/lib.rs - derive_crud_ops_ref (line 130) [INFO] [stdout] src/lib.rs - derive_crud_ops_ref (line 57) [INFO] [stdout] src/lib.rs - derive_crud_ops_ref (line 84) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.59s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ba42d8f10df02fb3d61d83c1efd9544e2def8f19f481674ab30a57fddbbf90ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba42d8f10df02fb3d61d83c1efd9544e2def8f19f481674ab30a57fddbbf90ec", kill_on_drop: false }` [INFO] [stdout] ba42d8f10df02fb3d61d83c1efd9544e2def8f19f481674ab30a57fddbbf90ec