[INFO] fetching crate models-proc-macro 0.1.1... [INFO] checking models-proc-macro-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate models-proc-macro 0.1.1 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate models-proc-macro 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 612eb2f044bf127488aa3bb75fdccad5662cec2d5051347ff088d02766ebc4eb [INFO] running `Command { std: "docker" "start" "-a" "612eb2f044bf127488aa3bb75fdccad5662cec2d5051347ff088d02766ebc4eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "612eb2f044bf127488aa3bb75fdccad5662cec2d5051347ff088d02766ebc4eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "612eb2f044bf127488aa3bb75fdccad5662cec2d5051347ff088d02766ebc4eb", kill_on_drop: false }` [INFO] [stdout] 612eb2f044bf127488aa3bb75fdccad5662cec2d5051347ff088d02766ebc4eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b51765ac4c50ed5939d25a879dc83f49f8272cb7fbcd8fd42e75994f7b9d2d2 [INFO] running `Command { std: "docker" "start" "-a" "0b51765ac4c50ed5939d25a879dc83f49f8272cb7fbcd8fd42e75994f7b9d2d2", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking syn v1.0.109 [INFO] [stderr] Checking models-parser v0.2.0 [INFO] [stderr] Checking 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] error: `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: `#[deny(ambiguous_glob_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `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] error: `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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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-08-13; 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-08-13; 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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-08-13; 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-08-13; 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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-08-13; 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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [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] error: `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: `#[deny(ambiguous_glob_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `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] error: `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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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-08-13; 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-08-13; 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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-08-13; 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-08-13; 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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-08-13; 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-08-13; 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/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[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::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] 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] [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 test) due to 18 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `models-proc-macro` (lib) due to 18 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0b51765ac4c50ed5939d25a879dc83f49f8272cb7fbcd8fd42e75994f7b9d2d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b51765ac4c50ed5939d25a879dc83f49f8272cb7fbcd8fd42e75994f7b9d2d2", kill_on_drop: false }` [INFO] [stdout] 0b51765ac4c50ed5939d25a879dc83f49f8272cb7fbcd8fd42e75994f7b9d2d2