[INFO] fetching crate sqlx-models-proc-macro 0.0.3... [INFO] checking sqlx-models-proc-macro-0.0.3 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate sqlx-models-proc-macro 0.0.3 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate sqlx-models-proc-macro 0.0.3 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sqlx-models-proc-macro 0.0.3 [INFO] finished tweaking crates.io crate sqlx-models-proc-macro 0.0.3 [INFO] tweaked toml for crates.io crate sqlx-models-proc-macro 0.0.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.89) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-models-parser v0.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cccefe566b476043a071af17359000adf1a34724338ac36751397ec11f3622a9 [INFO] running `Command { std: "docker" "start" "-a" "cccefe566b476043a071af17359000adf1a34724338ac36751397ec11f3622a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cccefe566b476043a071af17359000adf1a34724338ac36751397ec11f3622a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cccefe566b476043a071af17359000adf1a34724338ac36751397ec11f3622a9", kill_on_drop: false }` [INFO] [stdout] cccefe566b476043a071af17359000adf1a34724338ac36751397ec11f3622a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8db8066d2c9354edeef356720e8a9f2a0c5cf96fd360ec42f1497240161eb96 [INFO] running `Command { std: "docker" "start" "-a" "b8db8066d2c9354edeef356720e8a9f2a0c5cf96fd360ec42f1497240161eb96", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking sqlx-models-parser v0.0.1 [INFO] [stderr] Checking sqlx-models-proc-macro v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: use of unstable library feature `proc_macro_totokens` [INFO] [stdout] --> src/model/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / fn to_tokens(&self, tokens: &mut TokenStream2) { [INFO] [stdout] 62 | | let name = &self.name; [INFO] [stdout] 63 | | let name_lowercase = &self.name_lowercase; [INFO] [stdout] 64 | | let columns = &self.get_columns(); [INFO] [stdout] ... | [INFO] [stdout] 76 | | tokens.extend(template); [INFO] [stdout] 77 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #130977 for more information [INFO] [stdout] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `proc_macro_totokens` [INFO] [stdout] --> src/model/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / fn to_tokens(&self, tokens: &mut TokenStream2) { [INFO] [stdout] 62 | | let name = &self.name; [INFO] [stdout] 63 | | let name_lowercase = &self.name_lowercase; [INFO] [stdout] 64 | | let columns = &self.get_columns(); [INFO] [stdout] ... | [INFO] [stdout] 76 | | tokens.extend(template); [INFO] [stdout] 77 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #130977 for more information [INFO] [stdout] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `proc_macro_totokens` [INFO] [stdout] --> src/model/mod.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToTokens for Model { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #130977 for more information [INFO] [stdout] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `proc_macro_totokens` [INFO] [stdout] --> src/model/mod.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToTokens for Model { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #130977 for more information [INFO] [stdout] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `proc_macro_totokens` [INFO] [stdout] --> src/model/column/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / fn to_tokens(&self, tokens: &mut TokenStream2) { [INFO] [stdout] 14 | | let col_name = &self.name; [INFO] [stdout] 15 | | let ty = &self.ty; [INFO] [stdout] 16 | | let default = &self.default; [INFO] [stdout] ... | [INFO] [stdout] 37 | | tokens.extend(temp); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #130977 for more information [INFO] [stdout] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `proc_macro_totokens` [INFO] [stdout] --> src/model/column/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / fn to_tokens(&self, tokens: &mut TokenStream2) { [INFO] [stdout] 14 | | let col_name = &self.name; [INFO] [stdout] 15 | | let ty = &self.ty; [INFO] [stdout] 16 | | let default = &self.default; [INFO] [stdout] ... | [INFO] [stdout] 37 | | tokens.extend(temp); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #130977 for more information [INFO] [stdout] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `proc_macro_totokens` [INFO] [stdout] --> src/model/column/mod.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl ToTokens for Column { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #130977 for more information [INFO] [stdout] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `proc_macro_totokens` [INFO] [stdout] --> src/model/column/mod.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl ToTokens for Column { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #130977 for more information [INFO] [stdout] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `proc_macro_totokens` [INFO] [stdout] --> src/model/column/default.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / fn to_tokens(&self, tokens: &mut TokenStream2) { [INFO] [stdout] 11 | | let expr = &self.expr; [INFO] [stdout] 12 | | if !self.is_string { [INFO] [stdout] 13 | | tokens.extend(quote!(#expr)); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #130977 for more information [INFO] [stdout] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `proc_macro_totokens` [INFO] [stdout] --> src/model/column/default.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / fn to_tokens(&self, tokens: &mut TokenStream2) { [INFO] [stdout] 11 | | let expr = &self.expr; [INFO] [stdout] 12 | | if !self.is_string { [INFO] [stdout] 13 | | tokens.extend(quote!(#expr)); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #130977 for more information [INFO] [stdout] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `proc_macro_totokens` [INFO] [stdout] --> src/model/column/default.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | impl ToTokens for DefaultExpr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #130977 for more information [INFO] [stdout] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `proc_macro_totokens` [INFO] [stdout] --> src/model/column/default.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | impl ToTokens for DefaultExpr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #130977 for more information [INFO] [stdout] = help: add `#![feature(proc_macro_totokens)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `to_tokens` has an incompatible type for trait [INFO] [stdout] --> src/model/mod.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | fn to_tokens(&self, tokens: &mut TokenStream2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `proc_macro::TokenStream`, found `proc_macro2::TokenStream` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&model::Model, &mut proc_macro::TokenStream)` [INFO] [stdout] found signature `fn(&model::Model, &mut proc_macro2::TokenStream)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 61 | fn to_tokens(&self, tokens: &mut proc_macro::TokenStream) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `to_tokens` has an incompatible type for trait [INFO] [stdout] --> src/model/mod.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | fn to_tokens(&self, tokens: &mut TokenStream2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `proc_macro::TokenStream`, found `proc_macro2::TokenStream` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&model::Model, &mut proc_macro::TokenStream)` [INFO] [stdout] found signature `fn(&model::Model, &mut proc_macro2::TokenStream)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 61 | fn to_tokens(&self, tokens: &mut proc_macro::TokenStream) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `to_tokens` has an incompatible type for trait [INFO] [stdout] --> src/model/column/mod.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | fn to_tokens(&self, tokens: &mut TokenStream2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `proc_macro::TokenStream`, found `proc_macro2::TokenStream` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&Column, &mut proc_macro::TokenStream)` [INFO] [stdout] found signature `fn(&Column, &mut proc_macro2::TokenStream)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 13 | fn to_tokens(&self, tokens: &mut proc_macro::TokenStream) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `to_tokens` has an incompatible type for trait [INFO] [stdout] --> src/model/column/mod.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | fn to_tokens(&self, tokens: &mut TokenStream2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `proc_macro::TokenStream`, found `proc_macro2::TokenStream` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&Column, &mut proc_macro::TokenStream)` [INFO] [stdout] found signature `fn(&Column, &mut proc_macro2::TokenStream)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 13 | fn to_tokens(&self, tokens: &mut proc_macro::TokenStream) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `to_tokens` has an incompatible type for trait [INFO] [stdout] --> src/model/column/default.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | fn to_tokens(&self, tokens: &mut TokenStream2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `proc_macro::TokenStream`, found `proc_macro2::TokenStream` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&column::default::DefaultExpr, &mut proc_macro::TokenStream)` [INFO] [stdout] found signature `fn(&column::default::DefaultExpr, &mut proc_macro2::TokenStream)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 10 | fn to_tokens(&self, tokens: &mut proc_macro::TokenStream) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `to_tokens` has an incompatible type for trait [INFO] [stdout] --> src/model/column/default.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | fn to_tokens(&self, tokens: &mut TokenStream2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `proc_macro::TokenStream`, found `proc_macro2::TokenStream` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&column::default::DefaultExpr, &mut proc_macro::TokenStream)` [INFO] [stdout] found signature `fn(&column::default::DefaultExpr, &mut proc_macro2::TokenStream)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 10 | fn to_tokens(&self, tokens: &mut proc_macro::TokenStream) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `column::default::DefaultExpr: quote::ToTokens` is not satisfied [INFO] [stdout] --> src/model/column/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / quote! { [INFO] [stdout] 19 | | __sqlx_models_table.columns.push( [INFO] [stdout] 20 | | ::sqlx_models::private::Column::new_with_default( [INFO] [stdout] 21 | | stringify!(#col_name), [INFO] [stdout] ... | [INFO] [stdout] 25 | | )); [INFO] [stdout] 26 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________the trait `quote::ToTokens` is not implemented for `column::default::DefaultExpr` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `quote::ToTokens`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] Abstract [INFO] [stdout] AndAnd [INFO] [stdout] AndEq [INFO] [stdout] AngleBracketedGenericArguments [INFO] [stdout] As [INFO] [stdout] At [INFO] [stdout] and 241 others [INFO] [stdout] = note: required for `&column::default::DefaultExpr` to implement `quote::ToTokens` [INFO] [stdout] = 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] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `column::default::DefaultExpr: quote::ToTokens` is not satisfied [INFO] [stdout] --> src/model/column/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / quote! { [INFO] [stdout] 19 | | __sqlx_models_table.columns.push( [INFO] [stdout] 20 | | ::sqlx_models::private::Column::new_with_default( [INFO] [stdout] 21 | | stringify!(#col_name), [INFO] [stdout] ... | [INFO] [stdout] 25 | | )); [INFO] [stdout] 26 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________the trait `quote::ToTokens` is not implemented for `column::default::DefaultExpr` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `quote::ToTokens`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] Abstract [INFO] [stdout] AndAnd [INFO] [stdout] AndEq [INFO] [stdout] AngleBracketedGenericArguments [INFO] [stdout] As [INFO] [stdout] At [INFO] [stdout] and 241 others [INFO] [stdout] = note: required for `&column::default::DefaultExpr` to implement `quote::ToTokens` [INFO] [stdout] = 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] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Column: quote::ToTokens` is not satisfied [INFO] [stdout] --> src/model/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / quote! { [INFO] [stdout] 105 | | #(#columns;)* [INFO] [stdout] 106 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the trait `quote::ToTokens` is not implemented for `Column` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `quote::ToTokens`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] Abstract [INFO] [stdout] AndAnd [INFO] [stdout] AndEq [INFO] [stdout] AngleBracketedGenericArguments [INFO] [stdout] As [INFO] [stdout] At [INFO] [stdout] and 241 others [INFO] [stdout] = note: required for `&Column` to implement `quote::ToTokens` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `RepInterp<&Column>` to implement `quote::ToTokens` [INFO] [stdout] = 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] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Column: quote::ToTokens` is not satisfied [INFO] [stdout] --> src/model/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / quote! { [INFO] [stdout] 105 | | #(#columns;)* [INFO] [stdout] 106 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the trait `quote::ToTokens` is not implemented for `Column` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `quote::ToTokens`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] Abstract [INFO] [stdout] AndAnd [INFO] [stdout] AndEq [INFO] [stdout] AngleBracketedGenericArguments [INFO] [stdout] As [INFO] [stdout] At [INFO] [stdout] and 241 others [INFO] [stdout] = note: required for `&Column` to implement `quote::ToTokens` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `RepInterp<&Column>` to implement `quote::ToTokens` [INFO] [stdout] = 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] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `model::Model: quote::ToTokens` is not satisfied [INFO] [stdout] --> src/lib.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | let template = quote! { [INFO] [stdout] | ____________________^ [INFO] [stdout] 16 | | #derive [INFO] [stdout] 17 | | #migrations [INFO] [stdout] 18 | | }; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____the trait `quote::ToTokens` is not implemented for `model::Model` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `quote::ToTokens`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] Abstract [INFO] [stdout] AndAnd [INFO] [stdout] AndEq [INFO] [stdout] AngleBracketedGenericArguments [INFO] [stdout] As [INFO] [stdout] At [INFO] [stdout] and 241 others [INFO] [stdout] = 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] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `model::Model: quote::ToTokens` is not satisfied [INFO] [stdout] --> src/lib.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | let template = quote! { [INFO] [stdout] | ____________________^ [INFO] [stdout] 16 | | #derive [INFO] [stdout] 17 | | #migrations [INFO] [stdout] 18 | | }; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____the trait `quote::ToTokens` is not implemented for `model::Model` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `quote::ToTokens`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] Abstract [INFO] [stdout] AndAnd [INFO] [stdout] AndEq [INFO] [stdout] AngleBracketedGenericArguments [INFO] [stdout] As [INFO] [stdout] At [INFO] [stdout] and 241 others [INFO] [stdout] = 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] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [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] [stderr] error: could not compile `sqlx-models-proc-macro` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "b8db8066d2c9354edeef356720e8a9f2a0c5cf96fd360ec42f1497240161eb96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8db8066d2c9354edeef356720e8a9f2a0c5cf96fd360ec42f1497240161eb96", kill_on_drop: false }` [INFO] [stdout] b8db8066d2c9354edeef356720e8a9f2a0c5cf96fd360ec42f1497240161eb96