[INFO] fetching crate apistos-schemars 1.0.0-alpha.2... [INFO] checking apistos-schemars-1.0.0-alpha.2 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate apistos-schemars 1.0.0-alpha.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate apistos-schemars 1.0.0-alpha.2 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate apistos-schemars 1.0.0-alpha.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate apistos-schemars 1.0.0-alpha.2 [INFO] tweaked toml for crates.io crate apistos-schemars 1.0.0-alpha.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate apistos-schemars 1.0.0-alpha.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91098fa5913f0f5f9286e4d65eb01b61586c46134131afa910d23cc8e47d4f6a [INFO] running `Command { std: "docker" "start" "-a" "91098fa5913f0f5f9286e4d65eb01b61586c46134131afa910d23cc8e47d4f6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91098fa5913f0f5f9286e4d65eb01b61586c46134131afa910d23cc8e47d4f6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91098fa5913f0f5f9286e4d65eb01b61586c46134131afa910d23cc8e47d4f6a", kill_on_drop: false }` [INFO] [stdout] 91098fa5913f0f5f9286e4d65eb01b61586c46134131afa910d23cc8e47d4f6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dbc1fd97dc177bcb2202a20d1df2f69c00363ffee2c0af8a6c9464d6edb4531 [INFO] running `Command { std: "docker" "start" "-a" "4dbc1fd97dc177bcb2202a20d1df2f69c00363ffee2c0af8a6c9464d6edb4531", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Compiling apistos-schemars v1.0.0-alpha.2 (/tmp/fixit) [INFO] [stderr] Checking dyn-clone v1.0.14 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling apistos-schemars_derive v1.0.0-alpha.2 [INFO] [stderr] Checking basic-toml v0.1.4 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/json_schema_impls/mod.rs (6 fixes) [INFO] [stderr] Fixed src/json_schema_impls/time.rs (7 fixes) [INFO] [stderr] Fixed src/schema.rs (1 fix) [INFO] [stderr] Fixed src/macros.rs (2 fixes) [INFO] [stderr] Fixed src/json_schema_impls/array.rs (3 fixes) [INFO] [stderr] Fixed src/json_schema_impls/serdejson.rs (1 fix) [INFO] [stderr] Fixed src/gen.rs (8 fixes) [INFO] [stderr] Fixed src/ser.rs (35 fixes) [INFO] [stderr] Fixed src/json_schema_impls/nonzero_unsigned.rs (3 fixes) [INFO] [stderr] Fixed src/json_schema_impls/tuple.rs (4 fixes) [INFO] [stderr] Fixed src/json_schema_impls/sequences.rs (5 fixes) [INFO] [stderr] Fixed src/json_schema_impls/core.rs (17 fixes) [INFO] [stderr] Fixed src/lib.rs (5 fixes) [INFO] [stderr] Fixed src/json_schema_impls/primitives.rs (1 fix) [INFO] [stderr] Fixed src/json_schema_impls/ffi.rs (4 fixes) [INFO] [stderr] Fixed src/_private.rs (3 fixes) [INFO] [stderr] Fixed src/json_schema_impls/nonzero_signed.rs (3 fixes) [INFO] [stderr] Fixed src/json_schema_impls/maps.rs (3 fixes) [INFO] [stderr] Migrating tests/property_name.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/util/mod.rs (1 fix) [INFO] [stderr] Migrating tests/schema_with_enum.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/enum.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/schema_with_enum.rs (2 fixes) [INFO] [stderr] Migrating examples/custom_settings.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/custom_settings.rs (3 fixes) [INFO] [stderr] Migrating tests/default.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/enum_repr.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/same_name.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/from_value.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/result.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/time.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/serde_attrs.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/skip.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/struct.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/remote_derive_generic.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/validate.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/doc_comments.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/validate.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/inline_subschemas.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/inline_subschemas.rs (1 fix) [INFO] [stderr] Migrating tests/from_value.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/from_value.rs (9 fixes) [INFO] [stderr] Migrating tests/transparent.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/enum_deny_unknown_fields.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/custom_serialization.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/custom_serialization.rs (2 fixes) [INFO] [stderr] Migrating tests/docs.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/docs.rs (1 fix) [INFO] [stderr] Migrating examples/schemars_attrs.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/crate_alias.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/struct_additional_properties.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/remote_derive.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/remote_derive.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/extend.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/ffi.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/range.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/nonzero_ints.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/schema_settings.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/schema_settings.rs (1 fix) [INFO] [stderr] Migrating tests/enum_repr.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/schema_with_struct.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/schema_with_struct.rs (2 fixes) [INFO] [stderr] Migrating tests/flatten.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/bound.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/examples.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/validate_inner.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/enum_flatten.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/schema_name.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/macro.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/deprecated.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.65s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling apistos-schemars v1.0.0-alpha.2 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 17 | #[schemars(schema_with = r#"schema_fn")] [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | NewType(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema), [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 20 | NewType(#[schemars(schema_with = r#"schema_fn")] DoesntImplementJsonSchema), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | NewType(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema), [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 26 | #[schemars(schema_with = r#"schema_fn")] [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive produced unparsable tokens [INFO] [stdout] --> tests/schema_with_enum.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 22 | #[schemars(schema_with = r#"schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 39 | #[schemars(schema_with = r#"schema_fn")] [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | NewType(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema), [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 42 | NewType(#[schemars(schema_with = r#"schema_fn")] DoesntImplementJsonSchema), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | NewType(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema), [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 44 | #[schemars(schema_with = r#"schema_fn")] [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive produced unparsable tokens [INFO] [stdout] --> tests/schema_with_enum.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 57 | #[schemars(schema_with = r#"schema_fn")] [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | NewType(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema), [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 60 | NewType(#[schemars(schema_with = r#"schema_fn")] DoesntImplementJsonSchema), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | NewType(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema), [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 66 | #[schemars(schema_with = r#"schema_fn")] [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive produced unparsable tokens [INFO] [stdout] --> tests/schema_with_enum.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 62 | #[schemars(schema_with = r#"schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 79 | #[schemars(schema_with = r#"schema_fn")] [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:82:38 [INFO] [stdout] | [INFO] [stdout] 82 | NewType(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema), [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 82 | NewType(#[schemars(schema_with = r#"schema_fn")] DoesntImplementJsonSchema), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:82:38 [INFO] [stdout] | [INFO] [stdout] 82 | NewType(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema), [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 84 | #[schemars(schema_with = r#"schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 88 | #[schemars(schema_with = r#"schema_fn")] [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_enum.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> examples/custom_serialization.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | #[schemars(schema_with = "make_custom_schema")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 16 | #[schemars(schema_with = r#"make_custom_schema")] [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> examples/custom_serialization.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | #[schemars(schema_with = "make_custom_schema")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive produced unparsable tokens [INFO] [stdout] --> examples/custom_serialization.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Default, Deserialize, Serialize, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `apistos-schemars` (example "custom_serialization") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_struct.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 15 | #[schemars(schema_with = r#"schema_fn")] [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_struct.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_struct.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 18 | #[schemars(schema_with = r#"schema_fn")] [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_struct.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | #[schemars(schema_with = "schema_fn")] [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive produced unparsable tokens [INFO] [stdout] --> tests/schema_with_struct.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_struct.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 30 | #[schemars(schema_with = r#"schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_struct.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_struct.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 32 | #[schemars(schema_with = r#"schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_struct.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_struct.rs:41:45 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Newtype(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema); [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Newtype(#[schemars(schema_with = r#"schema_fn")] DoesntImplementJsonSchema); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_struct.rs:41:45 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Newtype(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema); [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive produced unparsable tokens [INFO] [stdout] --> tests/schema_with_struct.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_struct.rs:50:56 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TransparentNewtype(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema); [INFO] [stdout] | ^^^^^^^^^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TransparentNewtype(#[schemars(schema_with = r#"schema_fn")] DoesntImplementJsonSchema); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/schema_with_struct.rs:50:56 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TransparentNewtype(#[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema); [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive produced unparsable tokens [INFO] [stdout] --> tests/schema_with_struct.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `apistos-schemars` (test "schema_with_enum") due to 33 previous errors [INFO] [stderr] error: could not compile `apistos-schemars` (test "schema_with_struct") due to 15 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "4dbc1fd97dc177bcb2202a20d1df2f69c00363ffee2c0af8a6c9464d6edb4531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dbc1fd97dc177bcb2202a20d1df2f69c00363ffee2c0af8a6c9464d6edb4531", kill_on_drop: false }` [INFO] [stdout] 4dbc1fd97dc177bcb2202a20d1df2f69c00363ffee2c0af8a6c9464d6edb4531