[INFO] fetching crate typed_sqlx_client_macros 0.2.0... [INFO] testing typed_sqlx_client_macros-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate typed_sqlx_client_macros 0.2.0 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate typed_sqlx_client_macros 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c9507a07a2d174db5f87dae768864e13d5d7a379adb6b6d4806541b6ebf8bd3 [INFO] running `Command { std: "docker" "start" "-a" "6c9507a07a2d174db5f87dae768864e13d5d7a379adb6b6d4806541b6ebf8bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c9507a07a2d174db5f87dae768864e13d5d7a379adb6b6d4806541b6ebf8bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c9507a07a2d174db5f87dae768864e13d5d7a379adb6b6d4806541b6ebf8bd3", kill_on_drop: false }` [INFO] [stdout] 6c9507a07a2d174db5f87dae768864e13d5d7a379adb6b6d4806541b6ebf8bd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4617c40ab42d8470427f5bb035b95147b97dbb5725b9ed42e601a41da3704c93 [INFO] running `Command { std: "docker" "start" "-a" "4617c40ab42d8470427f5bb035b95147b97dbb5725b9ed42e601a41da3704c93", 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.74s [INFO] running `Command { std: "docker" "inspect" "4617c40ab42d8470427f5bb035b95147b97dbb5725b9ed42e601a41da3704c93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4617c40ab42d8470427f5bb035b95147b97dbb5725b9ed42e601a41da3704c93", kill_on_drop: false }` [INFO] [stdout] 4617c40ab42d8470427f5bb035b95147b97dbb5725b9ed42e601a41da3704c93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3470eb8c450b9869cb8ec2b6ca2780570c53b661fb4b6a2d45bc0833e9dc79c [INFO] running `Command { std: "docker" "start" "-a" "c3470eb8c450b9869cb8ec2b6ca2780570c53b661fb4b6a2d45bc0833e9dc79c", 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.33s [INFO] running `Command { std: "docker" "inspect" "c3470eb8c450b9869cb8ec2b6ca2780570c53b661fb4b6a2d45bc0833e9dc79c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3470eb8c450b9869cb8ec2b6ca2780570c53b661fb4b6a2d45bc0833e9dc79c", kill_on_drop: false }` [INFO] [stdout] c3470eb8c450b9869cb8ec2b6ca2780570c53b661fb4b6a2d45bc0833e9dc79c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4d4085c0a61ba900845582d2d8a901ebed8f03d6d99dc5b42946009c9e7dc994 [INFO] running `Command { std: "docker" "start" "-a" "4d4085c0a61ba900845582d2d8a901ebed8f03d6d99dc5b42946009c9e7dc994", 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 108) ... 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 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 130) ... 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] 119 | #[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] 119 | #[derive(FromRow, CrudOpsRef)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 108 + 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] 120 | #[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] 122 | #[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] 110 | #[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] 110 | #[derive(FromRow, CrudOpsRef)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 108 + 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] 111 | #[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] 113 | #[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 84) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `uuid` [INFO] [stdout] --> src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | 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] 87 | #[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] 87 | #[derive(FromRow, CrudOpsRef)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 84 + 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] 88 | #[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] 90 | #[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] 93 | #[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] 96 | #[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] 99 | #[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] 100 | 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 57) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `typed_sqlx_client` [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | 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] 59 | 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] 62 | #[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] 64 | #[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] 73 | 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] 72 | 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] 131 | 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] 133 | #[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] 133 | #[derive(FromRow, CrudOpsRef)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 130 + 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] 134 | #[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] 136 | #[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] 141 | #[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] 144 | #[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] 137 | 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] 135 | 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] 147 | 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] 147 | 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] 148 | 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] 148 | 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] [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.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4d4085c0a61ba900845582d2d8a901ebed8f03d6d99dc5b42946009c9e7dc994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d4085c0a61ba900845582d2d8a901ebed8f03d6d99dc5b42946009c9e7dc994", kill_on_drop: false }` [INFO] [stdout] 4d4085c0a61ba900845582d2d8a901ebed8f03d6d99dc5b42946009c9e7dc994