[INFO] fetching crate poem-openapi-macro 0.3.0... [INFO] testing poem-openapi-macro-0.3.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate poem-openapi-macro 0.3.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate poem-openapi-macro 0.3.0 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 12 packages to latest compatible versions [INFO] [stderr] Adding darling v0.14.4 (available: v0.20.11) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.104) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [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] 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] f28975e2f6cc3af89e30d5f1d5c7198ff273b790a20c28ba0d248e74890e14f2 [INFO] running `Command { std: "docker" "start" "-a" "f28975e2f6cc3af89e30d5f1d5c7198ff273b790a20c28ba0d248e74890e14f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f28975e2f6cc3af89e30d5f1d5c7198ff273b790a20c28ba0d248e74890e14f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f28975e2f6cc3af89e30d5f1d5c7198ff273b790a20c28ba0d248e74890e14f2", kill_on_drop: false }` [INFO] [stdout] f28975e2f6cc3af89e30d5f1d5c7198ff273b790a20c28ba0d248e74890e14f2 [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] 3910278f81a0b64f953d0f6e7c639cb43472ac74235e8c0b25fa4ad20de0a719 [INFO] running `Command { std: "docker" "start" "-a" "3910278f81a0b64f953d0f6e7c639cb43472ac74235e8c0b25fa4ad20de0a719", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling quote v1.0.40 [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] 392 | pub use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `derive` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:391:7 [INFO] [stdout] | [INFO] [stdout] 391 | #[cfg(feature = "derive")] [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] 345 | ExprTryBlock, ExprTuple, ExprType, ExprUnary, ExprUnsafe, ExprWhile, ExprYield, Index, Member, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 339 | #[cfg(any(feature = "full", feature = "derive"))] [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] 452 | pub mod parse_macro_input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:446:1 [INFO] [stdout] | [INFO] [stdout] 446 | / #[cfg(all( [INFO] [stdout] 447 | | not(all(target_arch = "wasm32", any(target_os = "unknown", target_os = "wasi"))), [INFO] [stdout] 448 | | feature = "parsing", [INFO] [stdout] 449 | | feature = "proc-macro" [INFO] [stdout] 450 | | ))] [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] 392 | pub use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `derive` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:391:7 [INFO] [stdout] | [INFO] [stdout] 391 | #[cfg(feature = "derive")] [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] 392 | pub use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput}; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `derive` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:391:7 [INFO] [stdout] | [INFO] [stdout] 391 | #[cfg(feature = "derive")] [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] 392 | pub use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput}; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `derive` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:391:7 [INFO] [stdout] | [INFO] [stdout] 391 | #[cfg(feature = "derive")] [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] 392 | pub use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput}; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `derive` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:391:7 [INFO] [stdout] | [INFO] [stdout] 391 | #[cfg(feature = "derive")] [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] 329 | Field, Fields, FieldsNamed, FieldsUnnamed, Variant, VisCrate, VisPublic, VisRestricted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(any(feature = "full", feature = "derive"))] [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] 329 | Field, Fields, FieldsNamed, FieldsUnnamed, Variant, VisCrate, VisPublic, VisRestricted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(any(feature = "full", feature = "derive"))] [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] 329 | Field, Fields, FieldsNamed, FieldsUnnamed, Variant, VisCrate, VisPublic, VisRestricted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(any(feature = "full", feature = "derive"))] [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] 329 | Field, Fields, FieldsNamed, FieldsUnnamed, Variant, VisCrate, VisPublic, VisRestricted, [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(any(feature = "full", feature = "derive"))] [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] 329 | Field, Fields, FieldsNamed, FieldsUnnamed, Variant, VisCrate, VisPublic, VisRestricted, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(any(feature = "full", feature = "derive"))] [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) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "3910278f81a0b64f953d0f6e7c639cb43472ac74235e8c0b25fa4ad20de0a719", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3910278f81a0b64f953d0f6e7c639cb43472ac74235e8c0b25fa4ad20de0a719", kill_on_drop: false }` [INFO] [stdout] 3910278f81a0b64f953d0f6e7c639cb43472ac74235e8c0b25fa4ad20de0a719