[INFO] fetching crate rust-query-macros 0.5.2... [INFO] testing rust-query-macros-0.5.2 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate rust-query-macros 0.5.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rust-query-macros 0.5.2 [INFO] finished tweaking crates.io crate rust-query-macros 0.5.2 [INFO] tweaked toml for crates.io crate rust-query-macros 0.5.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-query-macros 0.5.2 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust-query-macros 0.5.2 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fac1ea9939ca68e47494e8d224014ca38e208a33edd1b4e7ddd13503255a6753 [INFO] running `Command { std: "docker" "start" "-a" "fac1ea9939ca68e47494e8d224014ca38e208a33edd1b4e7ddd13503255a6753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fac1ea9939ca68e47494e8d224014ca38e208a33edd1b4e7ddd13503255a6753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fac1ea9939ca68e47494e8d224014ca38e208a33edd1b4e7ddd13503255a6753", kill_on_drop: false }` [INFO] [stdout] fac1ea9939ca68e47494e8d224014ca38e208a33edd1b4e7ddd13503255a6753 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b7b643ca2380089292a44f44c012c849429a16fb969d293db924acfb1595662 [INFO] running `Command { std: "docker" "start" "-a" "6b7b643ca2380089292a44f44c012c849429a16fb969d293db924acfb1595662", kill_on_drop: false }` [INFO] [stderr] Compiling rust-query-macros v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.75s [INFO] running `Command { std: "docker" "inspect" "6b7b643ca2380089292a44f44c012c849429a16fb969d293db924acfb1595662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b7b643ca2380089292a44f44c012c849429a16fb969d293db924acfb1595662", kill_on_drop: false }` [INFO] [stdout] 6b7b643ca2380089292a44f44c012c849429a16fb969d293db924acfb1595662 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5b436df42952c445f658b6be27aeb1fd9f5b11260c277db2bed41c15f8ea60f [INFO] running `Command { std: "docker" "start" "-a" "c5b436df42952c445f658b6be27aeb1fd9f5b11260c277db2bed41c15f8ea60f", kill_on_drop: false }` [INFO] [stderr] Compiling rust-query-macros v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "c5b436df42952c445f658b6be27aeb1fd9f5b11260c277db2bed41c15f8ea60f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5b436df42952c445f658b6be27aeb1fd9f5b11260c277db2bed41c15f8ea60f", kill_on_drop: false }` [INFO] [stdout] c5b436df42952c445f658b6be27aeb1fd9f5b11260c277db2bed41c15f8ea60f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f51db7d0e493527ada9514c7ad70df06305e1a59e4b5ca6f91bcc0b1e747d65 [INFO] running `Command { std: "docker" "start" "-a" "1f51db7d0e493527ada9514c7ad70df06305e1a59e4b5ca6f91bcc0b1e747d65", 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/rust_query_macros-d2eb12cd83f3e661) [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 rust_query_macros [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - schema (line 59) ... ignored [INFO] [stdout] test src/lib.rs - schema (line 90) ... ignored [INFO] [stdout] test src/lib.rs - from_row (line 232) ... FAILED [INFO] [stdout] test src/lib.rs - schema (line 70) ... FAILED [INFO] [stdout] test src/lib.rs - schema (line 35) ... FAILED [INFO] [stdout] test src/lib.rs - from_expr_macro (line 295) ... FAILED [INFO] [stdout] test src/lib.rs - schema (line 173) ... FAILED [INFO] [stdout] test src/lib.rs - schema (line 146) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/lib.rs - schema (line 108) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - from_row (line 232) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `v0` [INFO] [stdout] --> src/lib.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 13 | use v0::*; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `v0` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 13 - use v0::*; [INFO] [stdout] 13 + use vN::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rust_query` [INFO] [stdout] --> src/lib.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rust_query::{Table, Select, Transaction}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_query`, use `cargo add rust_query` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] --> src/lib.rs:233:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[rust_query::migration::schema(Schema)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:262:15 [INFO] [stdout] | [INFO] [stdout] 31 | db.query(|rows| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | let thing = rows.join(Thing); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 31 | db.query(|rows: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - schema (line 70) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] --> src/lib.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[rust_query::migration::schema(Schema)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `version` in this scope [INFO] [stdout] --> src/lib.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[version(0..=1)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unique_email` in this scope [INFO] [stdout] --> src/lib.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[unique_email] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unique_username` in this scope [INFO] [stdout] --> src/lib.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[unique_username] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `version` in this scope [INFO] [stdout] --> src/lib.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[version(1..)] // <-- note that `Game`` has a version range [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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 - schema (line 35) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] --> src/lib.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[rust_query::migration::schema(Schema)] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `version` in this scope [INFO] [stdout] --> src/lib.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[version(0..=0)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unique_email` in this scope [INFO] [stdout] --> src/lib.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[unique_email] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unique_username` in this scope [INFO] [stdout] --> src/lib.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[unique_username] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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 - from_expr_macro (line 295) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] --> src/lib.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rust_query::migration::schema; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_query`, use `cargo add rust_query` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rust_query` [INFO] [stdout] --> src/lib.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_query::{TableRow, FromExpr}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_query`, use `cargo add rust_query` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rust_query` in this scope [INFO] [stdout] --> src/lib.rs:309:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[rust_query(From = v0::User)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `rust_query` is an attribute that can be used by the derive macro `FromExpr`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(FromExpr)] [INFO] [stdout] 17 | struct MyUserFields { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `v0` [INFO] [stdout] --> src/lib.rs:312:32 [INFO] [stdout] | [INFO] [stdout] 18 | best_game: Option>, [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `v0` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 18 - best_game: Option>, [INFO] [stdout] 18 + best_game: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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 - schema (line 173) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] --> src/lib.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rust_query::migration::{schema, Config}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_query`, use `cargo add rust_query` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rust_query` [INFO] [stdout] --> src/lib.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_query::Database; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_query`, use `cargo add rust_query` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `v0` [INFO] [stdout] --> src/lib.rs:197:34 [INFO] [stdout] | [INFO] [stdout] 25 | author: txn.migrate_ok(|old: v0::User!(name)| v0::migrate::Author { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `v0` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `version` in this scope [INFO] [stdout] --> src/lib.rs:178:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[version(0..=1)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `version` in this scope [INFO] [stdout] --> src/lib.rs:180:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[version(..1)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `version` in this scope [INFO] [stdout] --> src/lib.rs:184:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[version(1..)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/lib.rs:185:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[from(User)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `v0` [INFO] [stdout] --> src/lib.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 24 | let m = m.migrate(|txn| v0::migrate::Schema { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `v0` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 24 - let m = m.migrate(|txn| v0::migrate::Schema { [INFO] [stdout] 24 + let m = m.migrate(|txn| vN::migrate::Schema { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `v0` [INFO] [stdout] --> src/lib.rs:197:51 [INFO] [stdout] | [INFO] [stdout] 25 | author: txn.migrate_ok(|old: v0::User!(name)| v0::migrate::Author { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `v0` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 25 - author: txn.migrate_ok(|old: v0::User!(name)| v0::migrate::Author { [INFO] [stdout] 25 + author: txn.migrate_ok(|old: v0::User!(name)| vN::migrate::Author { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 24 | let m = m.migrate(|txn| v0::migrate::Schema { [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | author: txn.migrate_ok(|old: v0::User!(name)| v0::migrate::Author { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 24 | let m = m.migrate(|txn: /* Type */| v0::migrate::Schema { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `()` [INFO] [stdout] --> src/lib.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 26 | name: old.name, [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `v1` [INFO] [stdout] --> src/lib.rs:193:30 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn migrate() -> Database { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `v1` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 21 - pub fn migrate() -> Database { [INFO] [stdout] 21 + pub fn migrate() -> Database { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0609. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - schema (line 146) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] --> src/lib.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rust_query::migration::schema; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_query`, use `cargo add rust_query` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `version` in this scope [INFO] [stdout] --> src/lib.rs:150:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[version(0..=1)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `version` in this scope [INFO] [stdout] --> src/lib.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[version(..1)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `version` in this scope [INFO] [stdout] --> src/lib.rs:156:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[version(1..)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/lib.rs:157:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[from(User)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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 - schema (line 108) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rust_query::migration::{schema, Config}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_query`, use `cargo add rust_query` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rust_query` [INFO] [stdout] --> src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_query::Database; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rust_query` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rust_query`, use `cargo add rust_query` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `v0` [INFO] [stdout] --> src/lib.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 22 | user: txn.migrate_ok(|old: v0::User!(email)| v0::migrate::User { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `v0` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `version` in this scope [INFO] [stdout] --> src/lib.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[version(0..=1)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unique_email` in this scope [INFO] [stdout] --> src/lib.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[unique_email] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unique_username` in this scope [INFO] [stdout] --> src/lib.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[unique_username] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `version` in this scope [INFO] [stdout] --> src/lib.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[version(1..)] // <-- here [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `v0` [INFO] [stdout] --> src/lib.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 21 | let m = m.migrate(|txn| v0::migrate::Schema { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `v0` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 21 - let m = m.migrate(|txn| v0::migrate::Schema { [INFO] [stdout] 21 + let m = m.migrate(|txn| vN::migrate::Schema { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `v0` [INFO] [stdout] --> src/lib.rs:129:54 [INFO] [stdout] | [INFO] [stdout] 22 | user: txn.migrate_ok(|old: v0::User!(email)| v0::migrate::User { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `v0` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 22 - user: txn.migrate_ok(|old: v0::User!(email)| v0::migrate::User { [INFO] [stdout] 22 + user: txn.migrate_ok(|old: v0::User!(email)| vN::migrate::User { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 21 | let m = m.migrate(|txn| v0::migrate::Schema { [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | user: txn.migrate_ok(|old: v0::User!(email)| v0::migrate::User { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 21 | let m = m.migrate(|txn: /* Type */| v0::migrate::Schema { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `email` on type `()` [INFO] [stdout] --> src/lib.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 23 | score: old.email.len() as i64 // use the email length as the new score [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `v1` [INFO] [stdout] --> src/lib.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn migrate() -> Database { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `v1` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 18 - pub fn migrate() -> Database { [INFO] [stdout] 18 + pub fn migrate() -> Database { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0609. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - from_expr_macro (line 295) [INFO] [stdout] src/lib.rs - from_row (line 232) [INFO] [stdout] src/lib.rs - schema (line 108) [INFO] [stdout] src/lib.rs - schema (line 146) [INFO] [stdout] src/lib.rs - schema (line 173) [INFO] [stdout] src/lib.rs - schema (line 35) [INFO] [stdout] src/lib.rs - schema (line 70) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1f51db7d0e493527ada9514c7ad70df06305e1a59e4b5ca6f91bcc0b1e747d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f51db7d0e493527ada9514c7ad70df06305e1a59e4b5ca6f91bcc0b1e747d65", kill_on_drop: false }` [INFO] [stdout] 1f51db7d0e493527ada9514c7ad70df06305e1a59e4b5ca6f91bcc0b1e747d65