[INFO] fetching crate poem-openapi-macro 0.3.0... [INFO] building poem-openapi-macro-0.3.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate poem-openapi-macro 0.3.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate poem-openapi-macro 0.3.0 [INFO] finished tweaking crates.io crate poem-openapi-macro 0.3.0 [INFO] tweaked toml for crates.io crate poem-openapi-macro 0.3.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate poem-openapi-macro 0.3.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding darling v0.14.4 (available: v0.21.3) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 687cb3576d1e35770e809892b9272937c8868408858fae105648fa442fa19e4c [INFO] running `Command { std: "docker" "start" "-a" "687cb3576d1e35770e809892b9272937c8868408858fae105648fa442fa19e4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "687cb3576d1e35770e809892b9272937c8868408858fae105648fa442fa19e4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "687cb3576d1e35770e809892b9272937c8868408858fae105648fa442fa19e4c", kill_on_drop: false }` [INFO] [stdout] 687cb3576d1e35770e809892b9272937c8868408858fae105648fa442fa19e4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26280c9ea44e94be669f24f97ffb68c435579001e98ec62f0b268f4a10534f3d [INFO] running `Command { std: "docker" "start" "-a" "26280c9ea44e94be669f24f97ffb68c435579001e98ec62f0b268f4a10534f3d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling poem-openapi-macro v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `syn::DeriveInput`, `syn::Member` [INFO] [stdout] --> src/uni_open_api.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use syn::{DeriveInput, Member}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ no `Member` in the root [INFO] [stdout] | | [INFO] [stdout] | no `DeriveInput` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:392:64 [INFO] [stdout] | [INFO] [stdout] 391 | #[cfg(feature = "derive")] [INFO] [stdout] | ------------------ the item is gated behind the `derive` feature [INFO] [stdout] 392 | pub use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:345:92 [INFO] [stdout] | [INFO] [stdout] 339 | #[cfg(any(feature = "full", feature = "derive"))] [INFO] [stdout] | -------------------------------------- the item is gated here [INFO] [stdout] ... [INFO] [stdout] 345 | ExprTryBlock, ExprTuple, ExprType, ExprUnary, ExprUnsafe, ExprWhile, ExprYield, Index, Member, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syn::parse_macro_input`, `syn::DeriveInput` [INFO] [stdout] --> src/lib.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use syn::{parse_macro_input, DeriveInput}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ no `DeriveInput` in the root [INFO] [stdout] | | [INFO] [stdout] | no `parse_macro_input` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 448 | feature = "parsing", [INFO] [stdout] | ------------------- the item is gated behind the `parsing` feature [INFO] [stdout] ... [INFO] [stdout] 452 | pub mod parse_macro_input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:392:64 [INFO] [stdout] | [INFO] [stdout] 391 | #[cfg(feature = "derive")] [INFO] [stdout] | ------------------ the item is gated behind the `derive` feature [INFO] [stdout] 392 | pub use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Data` in `syn` [INFO] [stdout] --> src/uni_open_api.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | syn::Data::Enum(_) => Err(syn::Error::new_spanned(struct_ident, "enum not supported")), [INFO] [stdout] | ^^^^ could not find `Data` in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:392:25 [INFO] [stdout] | [INFO] [stdout] 391 | #[cfg(feature = "derive")] [INFO] [stdout] | ------------------ the item is gated behind the `derive` feature [INFO] [stdout] 392 | pub use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Data` in `syn` [INFO] [stdout] --> src/uni_open_api.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | syn::Data::Union(_) => Err(syn::Error::new_spanned(struct_ident, "union not supported")), [INFO] [stdout] | ^^^^ could not find `Data` in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:392:25 [INFO] [stdout] | [INFO] [stdout] 391 | #[cfg(feature = "derive")] [INFO] [stdout] | ------------------ the item is gated behind the `derive` feature [INFO] [stdout] 392 | pub use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Data` in `syn` [INFO] [stdout] --> src/uni_open_api.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | syn::Data::Struct(ds) => match ds.fields { [INFO] [stdout] | ^^^^ could not find `Data` in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:392:25 [INFO] [stdout] | [INFO] [stdout] 391 | #[cfg(feature = "derive")] [INFO] [stdout] | ------------------ the item is gated behind the `derive` feature [INFO] [stdout] 392 | pub use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Fields` in `syn` [INFO] [stdout] --> src/uni_open_api.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | syn::Fields::Named(_) => Err(syn::Error::new_spanned( [INFO] [stdout] | ^^^^^^ could not find `Fields` in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(any(feature = "full", feature = "derive"))] [INFO] [stdout] | -------------------------------------- the item is gated here [INFO] [stdout] 328 | pub use crate::data::{ [INFO] [stdout] 329 | Field, Fields, FieldsNamed, FieldsUnnamed, Variant, VisCrate, VisPublic, VisRestricted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Fields` in `syn` [INFO] [stdout] --> src/uni_open_api.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | syn::Fields::Unit => Err(syn::Error::new_spanned( [INFO] [stdout] | ^^^^^^ could not find `Fields` in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(any(feature = "full", feature = "derive"))] [INFO] [stdout] | -------------------------------------- the item is gated here [INFO] [stdout] 328 | pub use crate::data::{ [INFO] [stdout] 329 | Field, Fields, FieldsNamed, FieldsUnnamed, Variant, VisCrate, VisPublic, VisRestricted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Fields` in `syn` [INFO] [stdout] --> src/uni_open_api.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | syn::Fields::Unnamed(syn::FieldsUnnamed { ref unnamed, .. }) => Ok(unnamed), [INFO] [stdout] | ^^^^^^ could not find `Fields` in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(any(feature = "full", feature = "derive"))] [INFO] [stdout] | -------------------------------------- the item is gated here [INFO] [stdout] 328 | pub use crate::data::{ [INFO] [stdout] 329 | Field, Fields, FieldsNamed, FieldsUnnamed, Variant, VisCrate, VisPublic, VisRestricted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Field` in crate `syn` [INFO] [stdout] --> src/uni_open_api.rs:4:54 [INFO] [stdout] | [INFO] [stdout] 4 | type StructFields = syn::punctuated::Punctuated; [INFO] [stdout] | ^^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(any(feature = "full", feature = "derive"))] [INFO] [stdout] | -------------------------------------- the item is gated here [INFO] [stdout] 328 | pub use crate::data::{ [INFO] [stdout] 329 | Field, Fields, FieldsNamed, FieldsUnnamed, Variant, VisCrate, VisPublic, VisRestricted, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FieldsUnnamed` in crate `syn` [INFO] [stdout] --> src/uni_open_api.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | syn::Fields::Unnamed(syn::FieldsUnnamed { ref unnamed, .. }) => Ok(unnamed), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:329:33 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(any(feature = "full", feature = "derive"))] [INFO] [stdout] | -------------------------------------- the item is gated here [INFO] [stdout] 328 | pub use crate::data::{ [INFO] [stdout] 329 | Field, Fields, FieldsNamed, FieldsUnnamed, Variant, VisCrate, VisPublic, VisRestricted, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/uni_open_api.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | let ret = quote! { [INFO] [stdout] | _______________^ [INFO] [stdout] 40 | | impl #impl_generics ::poem_openapi::OpenApi for #struct_ident #ty_generics #where_clause { [INFO] [stdout] 41 | | fn meta() -> ::std::vec::Vec<::poem_openapi::registry::MetaApi> { [INFO] [stdout] 42 | | let mut metadata = ::std::vec::Vec::with_capacity(#cap); [INFO] [stdout] ... | [INFO] [stdout] 62 | | }; [INFO] [stdout] | |_____^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_next_or_break` 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[E0282]: type annotations needed [INFO] [stdout] --> src/uni_open_api.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | let ret = quote! { [INFO] [stdout] | _______________^ [INFO] [stdout] 40 | | impl #impl_generics ::poem_openapi::OpenApi for #struct_ident #ty_generics #where_clause { [INFO] [stdout] 41 | | fn meta() -> ::std::vec::Vec<::poem_openapi::registry::MetaApi> { [INFO] [stdout] 42 | | let mut metadata = ::std::vec::Vec::with_capacity(#cap); [INFO] [stdout] ... | [INFO] [stdout] 62 | | }; [INFO] [stdout] | |_____^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_next_or_break` 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[E0282]: type annotations needed [INFO] [stdout] --> src/uni_open_api.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | let ret = quote! { [INFO] [stdout] | _______________^ [INFO] [stdout] 40 | | impl #impl_generics ::poem_openapi::OpenApi for #struct_ident #ty_generics #where_clause { [INFO] [stdout] 41 | | fn meta() -> ::std::vec::Vec<::poem_openapi::registry::MetaApi> { [INFO] [stdout] 42 | | let mut metadata = ::std::vec::Vec::with_capacity(#cap); [INFO] [stdout] ... | [INFO] [stdout] 62 | | }; [INFO] [stdout] | |_____^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_next_or_break` 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 `proc_macro::TokenStream: From` is not satisfied [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | .into() [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `proc_macro::TokenStream` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `proc_macro::TokenStream` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `proc_macro::TokenTree`, found `TokenStream2` [INFO] [stdout] = note: required for `TokenStream2` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_spanned` found for struct `syn::Error` in the current scope [INFO] [stdout] --> src/uni_open_api.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | syn::Data::Enum(_) => Err(syn::Error::new_spanned(struct_ident, "enum not supported")), [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `syn::Error` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `syn::Error`, consider using `syn::Error::new` which returns `syn::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/error.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn new(span: Span, message: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_spanned` found for struct `syn::Error` in the current scope [INFO] [stdout] --> src/uni_open_api.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | syn::Data::Union(_) => Err(syn::Error::new_spanned(struct_ident, "union not supported")), [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `syn::Error` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `syn::Error`, consider using `syn::Error::new` which returns `syn::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/error.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn new(span: Span, message: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_spanned` found for struct `syn::Error` in the current scope [INFO] [stdout] --> src/uni_open_api.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | syn::Fields::Named(_) => Err(syn::Error::new_spanned( [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `syn::Error` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `syn::Error`, consider using `syn::Error::new` which returns `syn::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/error.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn new(span: Span, message: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_spanned` found for struct `syn::Error` in the current scope [INFO] [stdout] --> src/uni_open_api.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | syn::Fields::Unit => Err(syn::Error::new_spanned( [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `syn::Error` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `syn::Error`, consider using `syn::Error::new` which returns `syn::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/error.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn new(span: Span, message: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0412, E0422, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `poem-openapi-macro` (lib) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "26280c9ea44e94be669f24f97ffb68c435579001e98ec62f0b268f4a10534f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26280c9ea44e94be669f24f97ffb68c435579001e98ec62f0b268f4a10534f3d", kill_on_drop: false }` [INFO] [stdout] 26280c9ea44e94be669f24f97ffb68c435579001e98ec62f0b268f4a10534f3d