[INFO] fetching crate apistos-schemars 0.8.19... [INFO] checking apistos-schemars-0.8.19 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] extracting crate apistos-schemars 0.8.19 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate apistos-schemars 0.8.19 on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate apistos-schemars 0.8.19 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate apistos-schemars 0.8.19 [INFO] tweaked toml for crates.io crate apistos-schemars 0.8.19 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate apistos-schemars 0.8.19 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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ipnetwork v0.20.0 [INFO] [stderr] Downloaded bigdecimal v0.4.2 [INFO] [stderr] Downloaded dyn-clone v1.0.14 [INFO] [stderr] Downloaded smol_str v0.1.24 [INFO] [stderr] Downloaded serde_derive_internals v0.29.0 [INFO] [stderr] Downloaded rust_decimal v1.32.0 [INFO] [stderr] Downloaded apistos-schemars_derive v0.8.19 [INFO] [stderr] Downloaded basic-toml v0.1.4 [INFO] [stderr] Downloaded trybuild v1.0.85 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 530def05393d54cfe9f1fa979002bb747a06033d3d6fd0c2cbab02f5f6015088 [INFO] running `Command { std: "docker" "start" "-a" "530def05393d54cfe9f1fa979002bb747a06033d3d6fd0c2cbab02f5f6015088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "530def05393d54cfe9f1fa979002bb747a06033d3d6fd0c2cbab02f5f6015088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "530def05393d54cfe9f1fa979002bb747a06033d3d6fd0c2cbab02f5f6015088", kill_on_drop: false }` [INFO] [stdout] 530def05393d54cfe9f1fa979002bb747a06033d3d6fd0c2cbab02f5f6015088 [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=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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a17e238dcc9f30729c497e83ac58bb259106870cea78bd69d00deaa44aea288b [INFO] running `Command { std: "docker" "start" "-a" "a17e238dcc9f30729c497e83ac58bb259106870cea78bd69d00deaa44aea288b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling apistos-schemars v0.8.19 (/opt/rustwide/workdir) [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking dyn-clone v1.0.14 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling serde_derive_internals v0.29.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling apistos-schemars_derive v0.8.19 [INFO] [stderr] Checking basic-toml v0.1.4 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.99s [INFO] running `Command { std: "docker" "inspect" "a17e238dcc9f30729c497e83ac58bb259106870cea78bd69d00deaa44aea288b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a17e238dcc9f30729c497e83ac58bb259106870cea78bd69d00deaa44aea288b", kill_on_drop: false }` [INFO] [stdout] a17e238dcc9f30729c497e83ac58bb259106870cea78bd69d00deaa44aea288b [INFO] checking apistos-schemars-0.8.19 against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] extracting crate apistos-schemars 0.8.19 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate apistos-schemars 0.8.19 on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate apistos-schemars 0.8.19 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate apistos-schemars 0.8.19 [INFO] tweaked toml for crates.io crate apistos-schemars 0.8.19 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate apistos-schemars 0.8.19 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" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ad226244c16b852b6e7bfd17bf9ebc02d4579a603aef23b0027069451dbd95d [INFO] running `Command { std: "docker" "start" "-a" "1ad226244c16b852b6e7bfd17bf9ebc02d4579a603aef23b0027069451dbd95d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ad226244c16b852b6e7bfd17bf9ebc02d4579a603aef23b0027069451dbd95d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ad226244c16b852b6e7bfd17bf9ebc02d4579a603aef23b0027069451dbd95d", kill_on_drop: false }` [INFO] [stdout] 1ad226244c16b852b6e7bfd17bf9ebc02d4579a603aef23b0027069451dbd95d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4f8e14f657d301720c04455219d58be7c7c5a91579891c6381340be819ae735 [INFO] running `Command { std: "docker" "start" "-a" "e4f8e14f657d301720c04455219d58be7c7c5a91579891c6381340be819ae735", 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] Fixed Cargo.toml (19 fixes) [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling apistos-schemars v0.8.19 (/tmp/fixit) [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking dyn-clone v1.0.14 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling serde_derive_internals v0.29.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling apistos-schemars_derive v0.8.19 [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/serdejson.rs (1 fix) [INFO] [stderr] Fixed src/json_schema_impls/nonzero_unsigned.rs (3 fixes) [INFO] [stderr] Fixed src/lib.rs (9 fixes) [INFO] [stderr] Fixed src/json_schema_impls/ffi.rs (4 fixes) [INFO] [stderr] Fixed src/gen.rs (8 fixes) [INFO] [stderr] Fixed src/json_schema_impls/wrapper.rs (1 fix) [INFO] [stderr] Fixed src/json_schema_impls/nonzero_signed.rs (3 fixes) [INFO] [stderr] Fixed src/json_schema_impls/sequences.rs (5 fixes) [INFO] [stderr] Fixed src/macros.rs (3 fixes) [INFO] [stderr] Fixed src/json_schema_impls/mod.rs (4 fixes) [INFO] [stderr] Fixed src/json_schema_impls/tuple.rs (3 fixes) [INFO] [stderr] Fixed src/json_schema_impls/atomic.rs (1 fix) [INFO] [stderr] Fixed src/json_schema_impls/time.rs (7 fixes) [INFO] [stderr] Fixed src/json_schema_impls/maps.rs (3 fixes) [INFO] [stderr] Fixed src/json_schema_impls/array.rs (3 fixes) [INFO] [stderr] Fixed src/ser.rs (35 fixes) [INFO] [stderr] Fixed src/_private.rs (3 fixes) [INFO] [stderr] Fixed src/json_schema_impls/core.rs (18 fixes) [INFO] [stderr] Fixed src/json_schema_impls/primitives.rs (1 fix) [INFO] [stderr] Migrating tests/schema_name.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/util/mod.rs (1 fix) [INFO] [stderr] Migrating examples/schemars_attrs.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 (3 fixes) [INFO] [stderr] Migrating tests/enum_deny_unknown_fields.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/bound.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/enum.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/crate_alias.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/struct.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/same_name.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/skip.rs from 2021 edition to 2024 [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/docs.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/docs.rs (1 fix) [INFO] [stderr] Migrating examples/remote_derive.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/multiple_enum_flatten.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/transparent.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/range.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/validate.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/macro.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/enum_repr.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/deprecated.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/struct_additional_properties.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/time.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/schema_with_enum.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/schema_with_enum.rs (3 fixes) [INFO] [stderr] Migrating tests/ffi.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/validate_inner.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/examples.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/property_name.rs from 2021 edition to 2024 [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/remote_derive.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/doc_comments.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/nonzero_ints.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/enum_repr.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/from_value.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/serde_attrs.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 (3 fixes) [INFO] [stderr] Migrating tests/dereference.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/dereference.rs (5 fixes) [INFO] [stderr] Migrating tests/result.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/validate.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/remote_derive_generic.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/flatten.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/default.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.48s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling apistos-schemars v0.8.19 (/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:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | #[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] 25 | #[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:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | #[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: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:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | #[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] 38 | #[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:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | #[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:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | 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 | 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:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | 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:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | #[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] 42 | #[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:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | #[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:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | #[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] 55 | #[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:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | #[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:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | 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] 58 | 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:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | 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:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | #[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] 63 | #[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:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | #[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:34 [INFO] [stdout] | [INFO] [stdout] 60 | #[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 | #[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:34 [INFO] [stdout] | [INFO] [stdout] 60 | #[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:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | #[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] 76 | #[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:76:34 [INFO] [stdout] | [INFO] [stdout] 76 | #[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:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | 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] 79 | 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:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | 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:30 [INFO] [stdout] | [INFO] [stdout] 84 | #[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] 84 | #[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:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | #[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:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | #[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] 81 | #[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:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] | ^^^^^^^^^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [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] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> examples/custom_serialization.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | #[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] 17 | #[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:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | #[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:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Default, Deserialize, Serialize, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `apistos-schemars` (test "schema_with_enum") due to 31 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `apistos-schemars` (example "custom_serialization") due to 4 previous errors [INFO] [stderr] error: could not compile `apistos-schemars` (test "schema_with_struct") due to 16 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" "e4f8e14f657d301720c04455219d58be7c7c5a91579891c6381340be819ae735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f8e14f657d301720c04455219d58be7c7c5a91579891c6381340be819ae735", kill_on_drop: false }` [INFO] [stdout] e4f8e14f657d301720c04455219d58be7c7c5a91579891c6381340be819ae735