[INFO] fetching crate typed_sqlx_client_macros 0.2.0... [INFO] testing typed_sqlx_client_macros-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate typed_sqlx_client_macros 0.2.0 into /workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate typed_sqlx_client_macros 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9145f82324f760c6e63640a344054445391f5699acda179417d327e00b30b341 [INFO] running `Command { std: "docker" "start" "-a" "9145f82324f760c6e63640a344054445391f5699acda179417d327e00b30b341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9145f82324f760c6e63640a344054445391f5699acda179417d327e00b30b341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9145f82324f760c6e63640a344054445391f5699acda179417d327e00b30b341", kill_on_drop: false }` [INFO] [stdout] 9145f82324f760c6e63640a344054445391f5699acda179417d327e00b30b341 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 454485b8a0c3a9264cd463b9d96dbd6fb68e02acb53b75c2a47c21e0233eada4 [INFO] running `Command { std: "docker" "start" "-a" "454485b8a0c3a9264cd463b9d96dbd6fb68e02acb53b75c2a47c21e0233eada4", 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.77s [INFO] running `Command { std: "docker" "inspect" "454485b8a0c3a9264cd463b9d96dbd6fb68e02acb53b75c2a47c21e0233eada4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "454485b8a0c3a9264cd463b9d96dbd6fb68e02acb53b75c2a47c21e0233eada4", kill_on_drop: false }` [INFO] [stdout] 454485b8a0c3a9264cd463b9d96dbd6fb68e02acb53b75c2a47c21e0233eada4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a3f2851b5aebd3660d8def47fd6b004b43019bad1dbbfd56bce0c712f008eef [INFO] running `Command { std: "docker" "start" "-a" "1a3f2851b5aebd3660d8def47fd6b004b43019bad1dbbfd56bce0c712f008eef", 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.14s [INFO] running `Command { std: "docker" "inspect" "1a3f2851b5aebd3660d8def47fd6b004b43019bad1dbbfd56bce0c712f008eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a3f2851b5aebd3660d8def47fd6b004b43019bad1dbbfd56bce0c712f008eef", kill_on_drop: false }` [INFO] [stdout] 1a3f2851b5aebd3660d8def47fd6b004b43019bad1dbbfd56bce0c712f008eef [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9f5854780a2bc2ff4b48bd0c90533d4b83954273a3f237ee31db0dfcdd0c6f8a [INFO] running `Command { std: "docker" "start" "-a" "9f5854780a2bc2ff4b48bd0c90533d4b83954273a3f237ee31db0dfcdd0c6f8a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [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 57) ... 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 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 41) ... 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 84) ... FAILED [INFO] [stdout] test src/lib.rs - derive_crud_ops_ref (line 108) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 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 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] ---- 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] [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.52s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9f5854780a2bc2ff4b48bd0c90533d4b83954273a3f237ee31db0dfcdd0c6f8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f5854780a2bc2ff4b48bd0c90533d4b83954273a3f237ee31db0dfcdd0c6f8a", kill_on_drop: false }` [INFO] [stdout] 9f5854780a2bc2ff4b48bd0c90533d4b83954273a3f237ee31db0dfcdd0c6f8a