[INFO] fetching crate models-proc-macro 0.1.1... [INFO] testing models-proc-macro-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate models-proc-macro 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate models-proc-macro 0.1.1 [INFO] finished tweaking crates.io crate models-proc-macro 0.1.1 [INFO] tweaked toml for crates.io crate models-proc-macro 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate models-proc-macro 0.1.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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.104) [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] Downloading crates ... [INFO] [stderr] Downloaded models-parser v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 35ba88dd2ad9e14ca35fcf2939186e52c5cdd742c16a9d9743b2d00643bb60ab [INFO] running `Command { std: "docker" "start" "-a" "35ba88dd2ad9e14ca35fcf2939186e52c5cdd742c16a9d9743b2d00643bb60ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35ba88dd2ad9e14ca35fcf2939186e52c5cdd742c16a9d9743b2d00643bb60ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35ba88dd2ad9e14ca35fcf2939186e52c5cdd742c16a9d9743b2d00643bb60ab", kill_on_drop: false }` [INFO] [stdout] 35ba88dd2ad9e14ca35fcf2939186e52c5cdd742c16a9d9743b2d00643bb60ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 75ff4997ef752aadb8338d5f7b8a4476876cd55ff8bb35a532a1622d5db34d2e [INFO] running `Command { std: "docker" "start" "-a" "75ff4997ef752aadb8338d5f7b8a4476876cd55ff8bb35a532a1622d5db34d2e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling models-parser v0.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling models-proc-macro v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/prelude.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `ToTokens` is ambiguous [INFO] [stdout] --> src/model/column/default.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | impl ToTokens for DefaultExpr { [INFO] [stdout] | ^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `ToTokens` could refer to the trait imported here [INFO] [stdout] --> src/prelude.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | pub use proc_macro::{TokenStream, *}; [INFO] [stdout] | ^ [INFO] [stdout] = help: consider adding an explicit import of `ToTokens` to disambiguate [INFO] [stdout] note: `ToTokens` could also refer to the trait imported here [INFO] [stdout] --> src/prelude.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | pub use quote::{quote, *}; [INFO] [stdout] | ^ [INFO] [stdout] = help: consider adding an explicit import of `ToTokens` to disambiguate [INFO] [stdout] = note: `#[warn(ambiguous_glob_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `ToTokens` is ambiguous [INFO] [stdout] --> src/model/column/mod.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl ToTokens for Column { [INFO] [stdout] | ^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `ToTokens` could refer to the trait imported here [INFO] [stdout] --> src/prelude.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | pub use proc_macro::{TokenStream, *}; [INFO] [stdout] | ^ [INFO] [stdout] = help: consider adding an explicit import of `ToTokens` to disambiguate [INFO] [stdout] note: `ToTokens` could also refer to the trait imported here [INFO] [stdout] --> src/prelude.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | pub use quote::{quote, *}; [INFO] [stdout] | ^ [INFO] [stdout] = help: consider adding an explicit import of `ToTokens` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `ToTokens` is ambiguous [INFO] [stdout] --> src/model/mod.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | impl ToTokens for Model { [INFO] [stdout] | ^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `ToTokens` could refer to the trait imported here [INFO] [stdout] --> src/prelude.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | pub use proc_macro::{TokenStream, *}; [INFO] [stdout] | ^ [INFO] [stdout] = help: consider adding an explicit import of `ToTokens` to disambiguate [INFO] [stdout] note: `ToTokens` could also refer to the trait imported here [INFO] [stdout] --> src/prelude.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | pub use quote::{quote, *}; [INFO] [stdout] | ^ [INFO] [stdout] = help: consider adding an explicit import of `ToTokens` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `proc_macro_totokens` [INFO] [stdout] --> src/model/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / fn to_tokens(&self, tokens: &mut TokenStream2) { [INFO] [stdout] 61 | | let name = &self.name; [INFO] [stdout] 62 | | let name_lowercase = &self.name_lowercase; [INFO] [stdout] 63 | | let columns = &self.get_columns(); [INFO] [stdout] ... | [INFO] [stdout] 75 | | tokens.extend(template); [INFO] [stdout] 76 | | } [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 2025-06-19; 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:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | 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 2025-06-19; 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 2025-06-19; 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 2025-06-19; 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] 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 2025-06-19; 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 2025-06-19; 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/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 TokenStream2) { [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/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 TokenStream2) { [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/mod.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 60 - fn to_tokens(&self, tokens: &mut TokenStream2) { [INFO] [stdout] 60 + 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 | | __models_table.columns.push( [INFO] [stdout] 20 | | ::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] &T [INFO] [stdout] &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:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | / quote! { [INFO] [stdout] 104 | | #(#columns;)* [INFO] [stdout] 105 | | } [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] &T [INFO] [stdout] &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 `quote::__private::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:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let template = quote! { [INFO] [stdout] | ____________________^ [INFO] [stdout] 15 | | #derive [INFO] [stdout] 16 | | #migrations [INFO] [stdout] 17 | | }; [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] &T [INFO] [stdout] &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] [stderr] error: could not compile `models-proc-macro` (lib) due to 12 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "75ff4997ef752aadb8338d5f7b8a4476876cd55ff8bb35a532a1622d5db34d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75ff4997ef752aadb8338d5f7b8a4476876cd55ff8bb35a532a1622d5db34d2e", kill_on_drop: false }` [INFO] [stdout] 75ff4997ef752aadb8338d5f7b8a4476876cd55ff8bb35a532a1622d5db34d2e