[INFO] fetching crate rust-query-macros 0.4.4... [INFO] testing rust-query-macros-0.4.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rust-query-macros 0.4.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rust-query-macros 0.4.4 [INFO] finished tweaking crates.io crate rust-query-macros 0.4.4 [INFO] tweaked toml for crates.io crate rust-query-macros 0.4.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-query-macros 0.4.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust-query-macros 0.4.4 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 095776d50e234603c59b638daba40ae0cca80a99eea7d8829a6243c71d7bde87 [INFO] running `Command { std: "docker" "start" "-a" "095776d50e234603c59b638daba40ae0cca80a99eea7d8829a6243c71d7bde87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "095776d50e234603c59b638daba40ae0cca80a99eea7d8829a6243c71d7bde87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "095776d50e234603c59b638daba40ae0cca80a99eea7d8829a6243c71d7bde87", kill_on_drop: false }` [INFO] [stdout] 095776d50e234603c59b638daba40ae0cca80a99eea7d8829a6243c71d7bde87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 12b66b1e4869432541d567a8ce1a3883d0b43b4393fccdba490b3e11f3eb4df3 [INFO] running `Command { std: "docker" "start" "-a" "12b66b1e4869432541d567a8ce1a3883d0b43b4393fccdba490b3e11f3eb4df3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling rust-query-macros v0.4.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.07s [INFO] running `Command { std: "docker" "inspect" "12b66b1e4869432541d567a8ce1a3883d0b43b4393fccdba490b3e11f3eb4df3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12b66b1e4869432541d567a8ce1a3883d0b43b4393fccdba490b3e11f3eb4df3", kill_on_drop: false }` [INFO] [stdout] 12b66b1e4869432541d567a8ce1a3883d0b43b4393fccdba490b3e11f3eb4df3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] de2db650d0d3c16f3bae5d1fc55b79b8aaeecf3ff7b5e44c99bb31ba5b758d0e [INFO] running `Command { std: "docker" "start" "-a" "de2db650d0d3c16f3bae5d1fc55b79b8aaeecf3ff7b5e44c99bb31ba5b758d0e", kill_on_drop: false }` [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling rust-query-macros v0.4.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.81s [INFO] running `Command { std: "docker" "inspect" "de2db650d0d3c16f3bae5d1fc55b79b8aaeecf3ff7b5e44c99bb31ba5b758d0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de2db650d0d3c16f3bae5d1fc55b79b8aaeecf3ff7b5e44c99bb31ba5b758d0e", kill_on_drop: false }` [INFO] [stdout] de2db650d0d3c16f3bae5d1fc55b79b8aaeecf3ff7b5e44c99bb31ba5b758d0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 95fabce2bb9bdc1c61aa0c80139880bc3fbc46770a9383d2ff880d162fe353f2 [INFO] running `Command { std: "docker" "start" "-a" "95fabce2bb9bdc1c61aa0c80139880bc3fbc46770a9383d2ff880d162fe353f2", 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/rust_query_macros-08a193f791f1ad3f) [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 8 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 35) ... FAILED [INFO] [stdout] test src/lib.rs - schema (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - schema (line 70) ... FAILED [INFO] [stdout] test src/lib.rs - schema (line 146) ... FAILED [INFO] [stdout] test src/lib.rs - schema (line 173) ... 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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - 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 - 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::{LocalClient, 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[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:54 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn migrate(client: &mut LocalClient) -> 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(client: &mut LocalClient) -> Database { [INFO] [stdout] 18 + pub fn migrate(client: &mut LocalClient) -> Database { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0609. [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 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 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 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, LocalClient}; [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[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:54 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn migrate(client: &mut LocalClient) -> 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(client: &mut LocalClient) -> Database { [INFO] [stdout] 21 + pub fn migrate(client: &mut LocalClient) -> Database { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0609. [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 - 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; 6 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "95fabce2bb9bdc1c61aa0c80139880bc3fbc46770a9383d2ff880d162fe353f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95fabce2bb9bdc1c61aa0c80139880bc3fbc46770a9383d2ff880d162fe353f2", kill_on_drop: false }` [INFO] [stdout] 95fabce2bb9bdc1c61aa0c80139880bc3fbc46770a9383d2ff880d162fe353f2