[INFO] fetching crate utoipa-rapidoc 6.0.0... [INFO] checking utoipa-rapidoc-6.0.0 against try#0c7fed2b7584d310ca8221267fa1b3bec4df427f for pr-133502-4 [INFO] extracting crate utoipa-rapidoc 6.0.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate utoipa-rapidoc 6.0.0 on toolchain 0c7fed2b7584d310ca8221267fa1b3bec4df427f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate utoipa-rapidoc 6.0.0 [INFO] finished tweaking crates.io crate utoipa-rapidoc 6.0.0 [INFO] tweaked toml for crates.io crate utoipa-rapidoc 6.0.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 244 packages to latest compatible versions [INFO] [stderr] Adding matchit v0.8.4 (available: v0.8.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 699df68ef302a93172944e724f113c98ce2a3414f4c5f0bb477b6718a607ce54 [INFO] running `Command { std: "docker" "start" "-a" "699df68ef302a93172944e724f113c98ce2a3414f4c5f0bb477b6718a607ce54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "699df68ef302a93172944e724f113c98ce2a3414f4c5f0bb477b6718a607ce54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699df68ef302a93172944e724f113c98ce2a3414f4c5f0bb477b6718a607ce54", kill_on_drop: false }` [INFO] [stdout] 699df68ef302a93172944e724f113c98ce2a3414f4c5f0bb477b6718a607ce54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0fa97814af159d5df040c1bac86dcc0d7aab1d4f1b4545a2c05cb418c4335a4 [INFO] running `Command { std: "docker" "start" "-a" "c0fa97814af159d5df040c1bac86dcc0d7aab1d4f1b4545a2c05cb418c4335a4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling utoipa-gen v5.3.1 [INFO] [stdout] error[E0277]: the size for values of type `Result>, Diagnostics>` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-gen-5.3.1/src/component.rs:257:44 [INFO] [stdout] | [INFO] [stdout] 257 | ... tuple.elems.iter().map(Self::get_type_tree_values).collect::, Diagnostics>>()?.into_iter().flatten().collect(), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: within `fn(&Type) -> Result<..., ...> {...::get_type_tree_values}`, the trait `Sized` is not implemented for `Result>, Diagnostics>` [INFO] [stdout] = note: required because it appears within the type `fn(&Type) -> Result<..., ...> {...::get_type_tree_values}` [INFO] [stdout] note: required by a bound in `map` [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/iter/traits/iterator.rs:745:5 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/utoipa_gen-c6a2b53297e175e4.long-type-6813142288404686581.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 231 | impl TypeTree<'_> where Result>, Diagnostics>: Sized { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Map, fn(&Type) -> ... {...::get_type_tree_values}>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-gen-5.3.1/src/component.rs:257:72 [INFO] [stdout] | [INFO] [stdout] 257 | ... tuple.elems.iter().map(Self::get_type_tree_values).collect::, Diagnostics>>()?.into_iter().flatten().collect(), [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result>, Diagnostics>: Sized` [INFO] [stdout] which is required by `Map, for<'a> fn(&'a syn::Type) -> Result>, Diagnostics> {TypeTree::<'_>::get_type_tree_values}>: Iterator` [INFO] [stdout] `Result>, Diagnostics>: Sized` [INFO] [stdout] which is required by `&mut Map, for<'a> fn(&'a syn::Type) -> Result>, Diagnostics> {TypeTree::<'_>::get_type_tree_values}>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-gen-5.3.1/src/component.rs:257:114 [INFO] [stdout] | [INFO] [stdout] 257 | ... tuple.elems.iter().map(Self::get_type_tree_values).collect::, Diagnostics>>()?.into_iter().flatten().collect(), [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `TypeTree<'_>::convert_types<'_, Vec>>::{opaque#0}<'_> normalizes-to _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-gen-5.3.1/src/component.rs:305:50 [INFO] [stdout] | [INFO] [stdout] 305 | ... children: Some(match Self::convert_types(value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Result` [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/result.rs:528:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `TypeTree<'_>::convert_types<'_, Vec>>::{opaque#0}<'_> normalizes-to _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-gen-5.3.1/src/component.rs:305:50 [INFO] [stdout] | [INFO] [stdout] 305 | ... children: Some(match Self::convert_types(value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-gen-5.3.1/src/component.rs:306:74 [INFO] [stdout] | [INFO] [stdout] 306 | ... Ok(converted_values) => converted_values.collect(), [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `TypeTree<'_>::convert_types<'_, Vec>>::{opaque#0}<'_> normalizes-to _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-gen-5.3.1/src/component.rs:315:50 [INFO] [stdout] | [INFO] [stdout] 315 | ... children: Some(match Self::convert_types(tuple) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Result` [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/result.rs:528:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `TypeTree<'_>::convert_types<'_, Vec>>::{opaque#0}<'_> normalizes-to _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-gen-5.3.1/src/component.rs:315:50 [INFO] [stdout] | [INFO] [stdout] 315 | ... children: Some(match Self::convert_types(tuple) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-gen-5.3.1/src/component.rs:316:74 [INFO] [stdout] | [INFO] [stdout] 316 | ... Ok(converted_values) => converted_values.collect(), [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `ComponentSchema::compose_generics<'_, ...>::{opaque#0}<'_> normalizes-to _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-gen-5.3.1/src/component.rs:1483:29 [INFO] [stdout] | [INFO] [stdout] 1483 | let items = Self::compose_generics(Self::filter_const_generics(children, generics), generics)?.collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Result` [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/result.rs:528:1 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/utoipa_gen-c6a2b53297e175e4.long-type-4589742209862248797.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-gen-5.3.1/src/component.rs:1483:29 [INFO] [stdout] | [INFO] [stdout] 1472 | ) -> Result + 'v, Diagnostics> [INFO] [stdout] | -------------------------------------- one of the found opaque types [INFO] [stdout] ... [INFO] [stdout] 1483 | let items = Self::compose_generics(Self::filter_const_generics(children, generics), generics)?.collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | types differ [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 1497 | ) -> impl IntoIterator> + 'v [INFO] [stdout] | ----------------------------------------------- one of the found opaque types [INFO] [stdout] | [INFO] [stdout] = note: expected type `_` [INFO] [stdout] found enum `Result + '_, Diagnostics>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/ops/try_trait.rs:217:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-gen-5.3.1/src/component.rs:1483:112 [INFO] [stdout] | [INFO] [stdout] 1483 | let items = Self::compose_generics(Self::filter_const_generics(children, generics), generics)?.collect::>(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `ComponentSchema::compose_generics<'_, ...>::{opaque#0}<'_> normalizes-to _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-gen-5.3.1/src/component.rs:1483:29 [INFO] [stdout] | [INFO] [stdout] 1483 | let items = Self::compose_generics(Self::filter_const_generics(children, generics), generics)?.collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/utoipa_gen-c6a2b53297e175e4.long-type-14636759513550824072.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `ComponentSchema::compose_child_references<'_, ...>::{opaque#0}<'_> normalizes-to _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-gen-5.3.1/src/component.rs:1524:28 [INFO] [stdout] | [INFO] [stdout] 1524 | let iter = Self::compose_child_references(children)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Result` [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/result.rs:528:1 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/utoipa_gen-c6a2b53297e175e4.long-type-17305169964179855649.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-gen-5.3.1/src/component.rs:1524:28 [INFO] [stdout] | [INFO] [stdout] 1521 | ) -> Result + 'a, Diagnostics> { [INFO] [stdout] | ------------------------------------------ the found opaque type [INFO] [stdout] ... [INFO] [stdout] 1524 | let iter = Self::compose_child_references(children)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | types differ [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `_` [INFO] [stdout] found enum `Result + '_, Diagnostics>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/ops/try_trait.rs:217:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `ComponentSchema::compose_child_references<'_, ...>::{opaque#0}<'_> normalizes-to _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/utoipa-gen-5.3.1/src/component.rs:1524:28 [INFO] [stdout] | [INFO] [stdout] 1524 | let iter = Self::compose_child_references(children)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/utoipa_gen-c6a2b53297e175e4.long-type-5796955309873762177.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde v1.0.219 [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0282, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `utoipa-gen` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c0fa97814af159d5df040c1bac86dcc0d7aab1d4f1b4545a2c05cb418c4335a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0fa97814af159d5df040c1bac86dcc0d7aab1d4f1b4545a2c05cb418c4335a4", kill_on_drop: false }` [INFO] [stdout] c0fa97814af159d5df040c1bac86dcc0d7aab1d4f1b4545a2c05cb418c4335a4