[INFO] fetching crate schemars 0.8.16... [INFO] checking schemars-0.8.16 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate schemars 0.8.16 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate schemars 0.8.16 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate schemars 0.8.16 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate schemars 0.8.16 [INFO] tweaked toml for crates.io crate schemars 0.8.16 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate schemars 0.8.16 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.85 [INFO] [stderr] Downloaded enumset v1.1.3 [INFO] [stderr] Downloaded url v2.4.1 [INFO] [stderr] Downloaded bigdecimal v0.3.1 [INFO] [stderr] Downloaded bigdecimal v0.4.2 [INFO] [stderr] Downloaded bytes v1.5.0 [INFO] [stderr] Downloaded indexmap v2.0.2 [INFO] [stderr] Downloaded basic-toml v0.1.4 [INFO] [stderr] Downloaded dyn-clone v1.0.14 [INFO] [stderr] Downloaded enumset_derive v0.8.1 [INFO] [stderr] Downloaded smol_str v0.1.24 [INFO] [stderr] Downloaded termcolor v1.3.0 [INFO] [stderr] Downloaded uuid v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de1aaff4e6f76c501454479f61e120c64a445b583b4d5115443b611842ca0bee [INFO] running `Command { std: "docker" "start" "-a" "de1aaff4e6f76c501454479f61e120c64a445b583b4d5115443b611842ca0bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de1aaff4e6f76c501454479f61e120c64a445b583b4d5115443b611842ca0bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de1aaff4e6f76c501454479f61e120c64a445b583b4d5115443b611842ca0bee", kill_on_drop: false }` [INFO] [stdout] de1aaff4e6f76c501454479f61e120c64a445b583b4d5115443b611842ca0bee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7eda3cd0151671ad25dfb3a4b6a783db90c4f2b801fbea6112e3ec5865daa141 [INFO] running `Command { std: "docker" "start" "-a" "7eda3cd0151671ad25dfb3a4b6a783db90c4f2b801fbea6112e3ec5865daa141", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Compiling schemars v0.8.16 (/opt/rustwide/workdir) [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking dyn-clone v1.0.14 [INFO] [stderr] Checking glob v0.3.1 [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 syn v1.0.109 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Checking basic-toml v0.1.4 [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/ser.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{convert::TryInto, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/ser.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{convert::TryInto, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> tests/struct.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Tuple(i32, bool, Option<&'static str>); [INFO] [stdout] | ----- ^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Tuple((), (), ()); [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/struct.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Newtype(i32); [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Newtype(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> tests/skip.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 25 | struct TupleStruct( [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 26 | #[schemars(skip)] i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | #[serde(skip)] bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | #[serde(skip_deserializing)] String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | #[serde(skip_serializing)] f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 26 ~ #[schemars(skip)] (), [INFO] [stdout] 27 ~ #[serde(skip)] (), [INFO] [stdout] 28 ~ #[serde(skip_deserializing)] (), [INFO] [stdout] 29 ~ #[serde(skip_serializing)] (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/remote_derive_generic.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | struct StrDef<'a>(&'a str); [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | struct StrDef<'a>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/transparent.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TransparentNewType(Option); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TransparentNewType(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> tests/transparent.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct InnerStruct(String, i32); [INFO] [stdout] | ----------- ^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 24 | pub struct InnerStruct((), ()); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> tests/schema_with_struct.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Tuple( [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 28 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] 29 | i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> tests/validate.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Tuple( [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 109 | #[validate(range(max = 10))] u8, [INFO] [stdout] | ^^ [INFO] [stdout] 110 | #[validate(required)] Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 109 ~ #[validate(range(max = 10))] (), [INFO] [stdout] 110 ~ #[validate(required)] (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/validate.rs:119:49 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct NewType(#[validate(range(max = 10))] u8); [INFO] [stdout] | ------- field in this struct ^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 119 | pub struct NewType(#[validate(range(max = 10))] ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.57s [INFO] running `Command { std: "docker" "inspect" "7eda3cd0151671ad25dfb3a4b6a783db90c4f2b801fbea6112e3ec5865daa141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eda3cd0151671ad25dfb3a4b6a783db90c4f2b801fbea6112e3ec5865daa141", kill_on_drop: false }` [INFO] [stdout] 7eda3cd0151671ad25dfb3a4b6a783db90c4f2b801fbea6112e3ec5865daa141 [INFO] checking schemars-0.8.16 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-2 [INFO] extracting crate schemars 0.8.16 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate schemars 0.8.16 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate schemars 0.8.16 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate schemars 0.8.16 [INFO] tweaked toml for crates.io crate schemars 0.8.16 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate schemars 0.8.16 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8bb4bdc54553d51462b2d65f1474af54c7f9d148b7e6896991078e38c11d82eb [INFO] running `Command { std: "docker" "start" "-a" "8bb4bdc54553d51462b2d65f1474af54c7f9d148b7e6896991078e38c11d82eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bb4bdc54553d51462b2d65f1474af54c7f9d148b7e6896991078e38c11d82eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bb4bdc54553d51462b2d65f1474af54c7f9d148b7e6896991078e38c11d82eb", kill_on_drop: false }` [INFO] [stdout] 8bb4bdc54553d51462b2d65f1474af54c7f9d148b7e6896991078e38c11d82eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd7def9744c4c57c4371cc6834e46cc6973e18c96fb55d6ce932e5f5c59c9152 [INFO] running `Command { std: "docker" "start" "-a" "bd7def9744c4c57c4371cc6834e46cc6973e18c96fb55d6ce932e5f5c59c9152", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling schemars v0.8.16 (/tmp/fixit) [INFO] [stderr] Compiling trybuild v1.0.85 [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 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 syn v1.0.109 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Checking basic-toml v0.1.4 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/ser.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{convert::TryInto, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/enum.rs from 2021 edition to 2024 [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/ser.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{convert::TryInto, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/default.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_deny_unknown_fields.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/docs.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/crate_alias.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/validate.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/serde_attrs.rs from 2021 edition to 2024 [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> tests/validate.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Tuple( [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 109 | #[validate(range(max = 10))] u8, [INFO] [stdout] | ^^ [INFO] [stdout] 110 | #[validate(required)] Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 109 ~ #[validate(range(max = 10))] (), [INFO] [stdout] 110 ~ #[validate(required)] (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/validate.rs:119:49 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct NewType(#[validate(range(max = 10))] u8); [INFO] [stdout] | ------- field in this struct ^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 119 | pub struct NewType(#[validate(range(max = 10))] ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/remote_derive.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/property_name.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/transparent.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/dereference.rs from 2021 edition to 2024 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/transparent.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TransparentNewType(Option); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TransparentNewType(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> tests/transparent.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct InnerStruct(String, i32); [INFO] [stdout] | ----------- ^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 24 | pub struct InnerStruct((), ()); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/struct_additional_properties.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/inline_subschemas.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/schema_with_struct.rs from 2021 edition to 2024 [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> tests/schema_with_struct.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Tuple( [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 28 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] 29 | i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/doc_comments.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/flatten.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/time.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/bound.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/from_value.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/same_name.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/custom_serialization.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/validate_inner.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/deprecated.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/result.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/from_value.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/skip.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/examples.rs from 2021 edition to 2024 [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> tests/skip.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 25 | struct TupleStruct( [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 26 | #[schemars(skip)] i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | #[serde(skip)] bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | #[serde(skip_deserializing)] String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | #[serde(skip_serializing)] f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 26 ~ #[schemars(skip)] (), [INFO] [stdout] 27 ~ #[serde(skip)] (), [INFO] [stdout] 28 ~ #[serde(skip_deserializing)] (), [INFO] [stdout] 29 ~ #[serde(skip_serializing)] (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/schema_name.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/schema_with_enum.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/struct.rs from 2021 edition to 2024 [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> tests/struct.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Tuple(i32, bool, Option<&'static str>); [INFO] [stdout] | ----- ^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Tuple((), (), ()); [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/enum_repr.rs from 2021 edition to 2024 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/struct.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Newtype(i32); [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Newtype(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/remote_derive.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/custom_settings.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/enum_repr.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/schemars_attrs.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/remote_derive_generic.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/nonzero_ints.rs from 2021 edition to 2024 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/remote_derive_generic.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | struct StrDef<'a>(&'a str); [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | struct StrDef<'a>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.96s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling schemars v0.8.16 (/tmp/fixit) [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/ser.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{convert::TryInto, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/ser.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{convert::TryInto, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> tests/skip.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 25 | struct TupleStruct( [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 26 | #[schemars(skip)] i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | #[serde(skip)] bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | #[serde(skip_deserializing)] String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | #[serde(skip_serializing)] f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 26 ~ #[schemars(skip)] (), [INFO] [stdout] 27 ~ #[serde(skip)] (), [INFO] [stdout] 28 ~ #[serde(skip_deserializing)] (), [INFO] [stdout] 29 ~ #[serde(skip_serializing)] (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> tests/validate.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Tuple( [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 109 | #[validate(range(max = 10))] u8, [INFO] [stdout] | ^^ [INFO] [stdout] 110 | #[validate(required)] Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 109 ~ #[validate(range(max = 10))] (), [INFO] [stdout] 110 ~ #[validate(required)] (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/validate.rs:119:49 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct NewType(#[validate(range(max = 10))] u8); [INFO] [stdout] | ------- field in this struct ^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 119 | pub struct NewType(#[validate(range(max = 10))] ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/transparent.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TransparentNewType(Option); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TransparentNewType(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> tests/transparent.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct InnerStruct(String, i32); [INFO] [stdout] | ----------- ^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 24 | pub struct InnerStruct((), ()); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/remote_derive_generic.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | struct StrDef<'a>(&'a str); [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | struct StrDef<'a>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> tests/struct.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Tuple(i32, bool, Option<&'static str>); [INFO] [stdout] | ----- ^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Tuple((), (), ()); [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/struct.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Newtype(i32); [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Newtype(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> tests/schema_with_struct.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Tuple( [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 28 | #[schemars(schema_with = "schema_fn")] DoesntImplementJsonSchema, [INFO] [stdout] 29 | i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.61s [INFO] running `Command { std: "docker" "inspect" "bd7def9744c4c57c4371cc6834e46cc6973e18c96fb55d6ce932e5f5c59c9152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd7def9744c4c57c4371cc6834e46cc6973e18c96fb55d6ce932e5f5c59c9152", kill_on_drop: false }` [INFO] [stdout] bd7def9744c4c57c4371cc6834e46cc6973e18c96fb55d6ce932e5f5c59c9152