[INFO] fetching crate poem-openapi-macro 0.3.0... [INFO] checking poem-openapi-macro-0.3.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate poem-openapi-macro 0.3.0 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate poem-openapi-macro 0.3.0 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 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.16) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8868af174605314244369c889e538ef1243de6faae137fd36baf2876357a6415 [INFO] running `Command { std: "docker" "start" "-a" "8868af174605314244369c889e538ef1243de6faae137fd36baf2876357a6415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8868af174605314244369c889e538ef1243de6faae137fd36baf2876357a6415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8868af174605314244369c889e538ef1243de6faae137fd36baf2876357a6415", kill_on_drop: false }` [INFO] [stdout] 8868af174605314244369c889e538ef1243de6faae137fd36baf2876357a6415 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c52a6a65393243e43f745a943a92c7c6bf809010ca71340863411d5471c6f76c [INFO] running `Command { std: "docker" "start" "-a" "c52a6a65393243e43f745a943a92c7c6bf809010ca71340863411d5471c6f76c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking 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[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] 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] [stderr] error: could not compile `poem-openapi-macro` (lib) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0422, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [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[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] 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] Some errors have detailed explanations: E0277, 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 test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "c52a6a65393243e43f745a943a92c7c6bf809010ca71340863411d5471c6f76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c52a6a65393243e43f745a943a92c7c6bf809010ca71340863411d5471c6f76c", kill_on_drop: false }` [INFO] [stdout] c52a6a65393243e43f745a943a92c7c6bf809010ca71340863411d5471c6f76c