Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.
# rustc version
rustc 1.84.0-nightly (917a50a03 2024-11-15)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/sqlx-models-0.0.5/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/sqlx-models-0.0.5/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241115-1.84.0-nightly-917a50a03\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 63da3eb439e79589e02caade9c31dc4f2786248c2a0c7fb264e7da2b13c8e4cd
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "63da3eb439e79589e02caade9c31dc4f2786248c2a0c7fb264e7da2b13c8e4cd", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Checking zerovec v0.10.4
[INFO] [stderr] Compiling sqlx-models-proc-macro v0.0.3
[INFO] [stderr] error[E0658]: use of unstable library feature `proc_macro_totokens`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sqlx-models-proc-macro-0.0.3/src/model/mod.rs:61:5
[INFO] [stderr] |
[INFO] [stderr] 61 | / fn to_tokens(&self, tokens: &mut TokenStream2) {
[INFO] [stderr] 62 | | let name = &self.name;
[INFO] [stderr] 63 | | let name_lowercase = &self.name_lowercase;
[INFO] [stderr] 64 | | let columns = &self.get_columns();
[INFO] [stderr] ... |
[INFO] [stderr] 76 | | tokens.extend(template);
[INFO] [stderr] 77 | | }
[INFO] [stderr] | |_____^
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #130977 <https://github.com/rust-lang/rust/issues/130977> for more information
[INFO] [stderr] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2024-11-15; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable library feature `proc_macro_totokens`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sqlx-models-proc-macro-0.0.3/src/model/mod.rs:60:6
[INFO] [stderr] |
[INFO] [stderr] 60 | impl ToTokens for Model {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #130977 <https://github.com/rust-lang/rust/issues/130977> for more information
[INFO] [stderr] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2024-11-15; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable library feature `proc_macro_totokens`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sqlx-models-proc-macro-0.0.3/src/model/column/mod.rs:13:5
[INFO] [stderr] |
[INFO] [stderr] 13 | / fn to_tokens(&self, tokens: &mut TokenStream2) {
[INFO] [stderr] 14 | | let col_name = &self.name;
[INFO] [stderr] 15 | | let ty = &self.ty;
[INFO] [stderr] 16 | | let default = &self.default;
[INFO] [stderr] ... |
[INFO] [stderr] 37 | | tokens.extend(temp);
[INFO] [stderr] 38 | | }
[INFO] [stderr] | |_____^
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #130977 <https://github.com/rust-lang/rust/issues/130977> for more information
[INFO] [stderr] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2024-11-15; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable library feature `proc_macro_totokens`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sqlx-models-proc-macro-0.0.3/src/model/column/mod.rs:12:6
[INFO] [stderr] |
[INFO] [stderr] 12 | impl ToTokens for Column {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #130977 <https://github.com/rust-lang/rust/issues/130977> for more information
[INFO] [stderr] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2024-11-15; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable library feature `proc_macro_totokens`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sqlx-models-proc-macro-0.0.3/src/model/column/default.rs:10:5
[INFO] [stderr] |
[INFO] [stderr] 10 | / fn to_tokens(&self, tokens: &mut TokenStream2) {
[INFO] [stderr] 11 | | let expr = &self.expr;
[INFO] [stderr] 12 | | if !self.is_string {
[INFO] [stderr] 13 | | tokens.extend(quote!(#expr));
[INFO] [stderr] ... |
[INFO] [stderr] 23 | | }
[INFO] [stderr] 24 | | }
[INFO] [stderr] | |_____^
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #130977 <https://github.com/rust-lang/rust/issues/130977> for more information
[INFO] [stderr] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2024-11-15; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable library feature `proc_macro_totokens`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sqlx-models-proc-macro-0.0.3/src/model/column/default.rs:9:6
[INFO] [stderr] |
[INFO] [stderr] 9 | impl ToTokens for DefaultExpr {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #130977 <https://github.com/rust-lang/rust/issues/130977> for more information
[INFO] [stderr] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2024-11-15; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] error[E0053]: method `to_tokens` has an incompatible type for trait
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sqlx-models-proc-macro-0.0.3/src/model/mod.rs:61:33
[INFO] [stderr] |
[INFO] [stderr] 61 | fn to_tokens(&self, tokens: &mut TokenStream2) {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^ expected `proc_macro::TokenStream`, found `proc_macro2::TokenStream`
[INFO] [stderr] |
[INFO] [stderr] = note: expected signature `fn(&model::Model, &mut proc_macro::TokenStream)`
[INFO] [stderr] found signature `fn(&model::Model, &mut proc_macro2::TokenStream)`
[INFO] [stderr] help: change the parameter type to match the trait
[INFO] [stderr] |
[INFO] [stderr] 61 | fn to_tokens(&self, tokens: &mut proc_macro::TokenStream) {
[INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr]
[INFO] [stderr] error[E0053]: method `to_tokens` has an incompatible type for trait
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sqlx-models-proc-macro-0.0.3/src/model/column/mod.rs:13:33
[INFO] [stderr] |
[INFO] [stderr] 13 | fn to_tokens(&self, tokens: &mut TokenStream2) {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^ expected `proc_macro::TokenStream`, found `proc_macro2::TokenStream`
[INFO] [stderr] |
[INFO] [stderr] = note: expected signature `fn(&Column, &mut proc_macro::TokenStream)`
[INFO] [stderr] found signature `fn(&Column, &mut proc_macro2::TokenStream)`
[INFO] [stderr] help: change the parameter type to match the trait
[INFO] [stderr] |
[INFO] [stderr] 13 | fn to_tokens(&self, tokens: &mut proc_macro::TokenStream) {
[INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr]
[INFO] [stderr] error[E0053]: method `to_tokens` has an incompatible type for trait
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sqlx-models-proc-macro-0.0.3/src/model/column/default.rs:10:33
[INFO] [stderr] |
[INFO] [stderr] 10 | fn to_tokens(&self, tokens: &mut TokenStream2) {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^ expected `proc_macro::TokenStream`, found `proc_macro2::TokenStream`
[INFO] [stderr] |
[INFO] [stderr] = note: expected signature `fn(&column::default::DefaultExpr, &mut proc_macro::TokenStream)`
[INFO] [stderr] found signature `fn(&column::default::DefaultExpr, &mut proc_macro2::TokenStream)`
[INFO] [stderr] help: change the parameter type to match the trait
[INFO] [stderr] |
[INFO] [stderr] 10 | fn to_tokens(&self, tokens: &mut proc_macro::TokenStream) {
[INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr]
[INFO] [stderr] error[E0277]: the trait bound `column::default::DefaultExpr: quote::ToTokens` is not satisfied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sqlx-models-proc-macro-0.0.3/src/model/column/mod.rs:18:13
[INFO] [stderr] |
[INFO] [stderr] 18 | / quote! {
[INFO] [stderr] 19 | | __sqlx_models_table.columns.push(
[INFO] [stderr] 20 | | ::sqlx_models::private::Column::new_with_default(
[INFO] [stderr] 21 | | stringify!(#col_name),
[INFO] [stderr] ... |
[INFO] [stderr] 25 | | ));
[INFO] [stderr] 26 | | }
[INFO] [stderr] | | ^
[INFO] [stderr] | | |
[INFO] [stderr] | |_____________the trait `quote::ToTokens` is not implemented for `column::default::DefaultExpr`
[INFO] [stderr] | required by a bound introduced by this call
[INFO] [stderr] |
[INFO] [stderr] = help: the following other types implement trait `quote::ToTokens`:
[INFO] [stderr] &'a T
[INFO] [stderr] &'a mut T
[INFO] [stderr] Abstract
[INFO] [stderr] AndAnd
[INFO] [stderr] AndEq
[INFO] [stderr] AngleBracketedGenericArguments
[INFO] [stderr] Arm
[INFO] [stderr] As
[INFO] [stderr] and 310 others
[INFO] [stderr] = note: required for `&column::default::DefaultExpr` to implement `quote::ToTokens`
[INFO] [stderr] = note: this error originates in the macro `$crate::quote_token_with_context` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0277]: the trait bound `Column: quote::ToTokens` is not satisfied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sqlx-models-proc-macro-0.0.3/src/model/mod.rs:104:9
[INFO] [stderr] |
[INFO] [stderr] 104 | / quote! {
[INFO] [stderr] 105 | | #(#columns;)*
[INFO] [stderr] 106 | | }
[INFO] [stderr] | | ^
[INFO] [stderr] | | |
[INFO] [stderr] | |_________the trait `quote::ToTokens` is not implemented for `Column`
[INFO] [stderr] | required by a bound introduced by this call
[INFO] [stderr] |
[INFO] [stderr] = help: the following other types implement trait `quote::ToTokens`:
[INFO] [stderr] &'a T
[INFO] [stderr] &'a mut T
[INFO] [stderr] Abstract
[INFO] [stderr] AndAnd
[INFO] [stderr] AndEq
[INFO] [stderr] AngleBracketedGenericArguments
[INFO] [stderr] Arm
[INFO] [stderr] As
[INFO] [stderr] and 310 others
[INFO] [stderr] = note: required for `&Column` to implement `quote::ToTokens`
[INFO] [stderr] = note: 1 redundant requirement hidden
[INFO] [stderr] = note: required for `RepInterp<&Column>` to implement `quote::ToTokens`
[INFO] [stderr] = note: this error originates in the macro `$crate::quote_token_with_context` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0277]: the trait bound `model::Model: quote::ToTokens` is not satisfied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sqlx-models-proc-macro-0.0.3/src/lib.rs:15:20
[INFO] [stderr] |
[INFO] [stderr] 15 | let template = quote! {
[INFO] [stderr] | ____________________^
[INFO] [stderr] 16 | | #derive
[INFO] [stderr] 17 | | #migrations
[INFO] [stderr] 18 | | };
[INFO] [stderr] | | ^
[INFO] [stderr] | | |
[INFO] [stderr] | |_____the trait `quote::ToTokens` is not implemented for `model::Model`
[INFO] [stderr] | required by a bound introduced by this call
[INFO] [stderr] |
[INFO] [stderr] = help: the following other types implement trait `quote::ToTokens`:
[INFO] [stderr] &'a T
[INFO] [stderr] &'a mut T
[INFO] [stderr] Abstract
[INFO] [stderr] AndAnd
[INFO] [stderr] AndEq
[INFO] [stderr] AngleBracketedGenericArguments
[INFO] [stderr] Arm
[INFO] [stderr] As
[INFO] [stderr] and 310 others
[INFO] [stderr] = note: this error originates in the macro `$crate::quote_token_with_context` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] Some errors have detailed explanations: E0053, E0277, E0658.
[INFO] [stderr] For more information about an error, try `rustc --explain E0053`.
[INFO] [stderr] error: could not compile `sqlx-models-proc-macro` (lib) due to 12 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "63da3eb439e79589e02caade9c31dc4f2786248c2a0c7fb264e7da2b13c8e4cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63da3eb439e79589e02caade9c31dc4f2786248c2a0c7fb264e7da2b13c8e4cd", kill_on_drop: false }`
[INFO] [stdout] 63da3eb439e79589e02caade9c31dc4f2786248c2a0c7fb264e7da2b13c8e4cd