[INFO] fetching crate miniserde-enum 0.1.3... [INFO] testing miniserde-enum-0.1.3 against 1.91.0 for beta-1.92-2 [INFO] extracting crate miniserde-enum 0.1.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate miniserde-enum 0.1.3 [INFO] finished tweaking crates.io crate miniserde-enum 0.1.3 [INFO] tweaked toml for crates.io crate miniserde-enum 0.1.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate miniserde-enum 0.1.3 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate miniserde-enum 0.1.3 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itoa v0.4.4 [INFO] [stderr] Downloaded ryu v1.0.2 [INFO] [stderr] Downloaded quote v1.0.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.5 [INFO] [stderr] Downloaded syn v1.0.5 [INFO] [stderr] Downloaded miniserde v0.1.12 [INFO] [stderr] Downloaded mini-internal v0.1.12 [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37b16f0b9bdac609908f2c88baacf5af1f166f41ac434828eabeecd333f75985 [INFO] running `Command { std: "docker" "start" "-a" "37b16f0b9bdac609908f2c88baacf5af1f166f41ac434828eabeecd333f75985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37b16f0b9bdac609908f2c88baacf5af1f166f41ac434828eabeecd333f75985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37b16f0b9bdac609908f2c88baacf5af1f166f41ac434828eabeecd333f75985", kill_on_drop: false }` [INFO] [stdout] 37b16f0b9bdac609908f2c88baacf5af1f166f41ac434828eabeecd333f75985 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a95c6ffb6892139fca2ee9b5ae2cf530ec2522b02c6a5b150d29ceb9618f6d8c [INFO] running `Command { std: "docker" "start" "-a" "a95c6ffb6892139fca2ee9b5ae2cf530ec2522b02c6a5b150d29ceb9618f6d8c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling mini-internal v0.1.12 [INFO] [stderr] Compiling miniserde v0.1.12 [INFO] [stderr] Compiling miniserde-enum v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.00s [INFO] running `Command { std: "docker" "inspect" "a95c6ffb6892139fca2ee9b5ae2cf530ec2522b02c6a5b150d29ceb9618f6d8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a95c6ffb6892139fca2ee9b5ae2cf530ec2522b02c6a5b150d29ceb9618f6d8c", kill_on_drop: false }` [INFO] [stdout] a95c6ffb6892139fca2ee9b5ae2cf530ec2522b02c6a5b150d29ceb9618f6d8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a96a4a1c55ea1778a377efaf9aedefcb01ecf50e6149cdf25d7b0ff6dd30b11c [INFO] running `Command { std: "docker" "start" "-a" "a96a4a1c55ea1778a377efaf9aedefcb01ecf50e6149cdf25d7b0ff6dd30b11c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling mini-internal v0.1.12 [INFO] [stderr] Compiling miniserde v0.1.12 [INFO] [stderr] Compiling miniserde-enum v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> tests/serialize.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | #[derive(Serialize_enum)] [INFO] [stdout] | -------------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> tests/serialize.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | #[derive(Serialize_enum)] [INFO] [stdout] | -------------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/serialize.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Serialize_enum)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `__AsStruct` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_MINISERIALIZE_FOR___AsStruct` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `mini_internal` crate, try updating your dependency with `cargo update -p mini_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the derive macro `Serialize_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/serialize.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Serialize_enum)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `__AsStruct` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_MINISERIALIZE_FOR___AsStruct` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `mini_internal` crate, try updating your dependency with `cargo update -p mini_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the derive macro `Serialize_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/deserialize.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Deserialize_enum, Debug, PartialEq)] [INFO] [stdout] | ^--------------- [INFO] [stdout] | | [INFO] [stdout] | `__External_C_Struct` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_MINIDESERIALIZE_FOR___External_C_Struct` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `mini_internal` crate, try updating your dependency with `cargo update -p mini_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the derive macro `Deserialize_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/deserialize.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Deserialize_enum, Debug, PartialEq)] [INFO] [stdout] | ^--------------- [INFO] [stdout] | | [INFO] [stdout] | `__Adjacent_C_Struct` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_MINIDESERIALIZE_FOR___Adjacent_C_Struct` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `mini_internal` crate, try updating your dependency with `cargo update -p mini_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the derive macro `Deserialize_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/deserialize.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Deserialize_enum, Debug, PartialEq)] [INFO] [stdout] | ^--------------- [INFO] [stdout] | | [INFO] [stdout] | `__Internal_C_Struct` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_MINIDESERIALIZE_FOR___Internal_C_Struct` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `mini_internal` crate, try updating your dependency with `cargo update -p mini_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the derive macro `Deserialize_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.62s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: miniserde-enum v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a96a4a1c55ea1778a377efaf9aedefcb01ecf50e6149cdf25d7b0ff6dd30b11c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a96a4a1c55ea1778a377efaf9aedefcb01ecf50e6149cdf25d7b0ff6dd30b11c", kill_on_drop: false }` [INFO] [stdout] a96a4a1c55ea1778a377efaf9aedefcb01ecf50e6149cdf25d7b0ff6dd30b11c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0cf0996372839c07377b81b9b62efa2d34882a561eabf4d267fa8e7bb2f1ae3b [INFO] running `Command { std: "docker" "start" "-a" "0cf0996372839c07377b81b9b62efa2d34882a561eabf4d267fa8e7bb2f1ae3b", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/deserialize.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Deserialize_enum, Debug, PartialEq)] [INFO] [stderr] | ^--------------- [INFO] [stderr] | | [INFO] [stderr] | `__External_C_Struct` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_MINIDESERIALIZE_FOR___External_C_Struct` and up 3 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `mini_internal` crate, try updating your dependency with `cargo update -p mini_internal` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the derive macro `Deserialize_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/deserialize.rs:25:14 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Deserialize_enum, Debug, PartialEq)] [INFO] [stderr] | ^--------------- [INFO] [stderr] | | [INFO] [stderr] | `__Adjacent_C_Struct` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_MINIDESERIALIZE_FOR___Adjacent_C_Struct` and up 3 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `mini_internal` crate, try updating your dependency with `cargo update -p mini_internal` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the derive macro `Deserialize_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/deserialize.rs:45:14 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Deserialize_enum, Debug, PartialEq)] [INFO] [stderr] | ^--------------- [INFO] [stderr] | | [INFO] [stderr] | `__Internal_C_Struct` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_MINIDESERIALIZE_FOR___Internal_C_Struct` and up 3 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `mini_internal` crate, try updating your dependency with `cargo update -p mini_internal` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the derive macro `Deserialize_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> tests/serialize.rs:6:7 [INFO] [stderr] | [INFO] [stderr] 6 | #[serde(tag = "type")] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 7 | #[derive(Serialize_enum)] [INFO] [stderr] | -------------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] = note: `#[warn(legacy_derive_helpers)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> tests/serialize.rs:44:7 [INFO] [stderr] | [INFO] [stderr] 44 | #[serde(untagged)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 45 | #[derive(Serialize_enum)] [INFO] [stderr] | -------------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/serialize.rs:25:14 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Serialize_enum)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `__AsStruct` is not local [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_MINISERIALIZE_FOR___AsStruct` and up 4 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `mini_internal` crate, try updating your dependency with `cargo update -p mini_internal` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the derive macro `Serialize_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/serialize.rs:64:14 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(Serialize_enum)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `__AsStruct` is not local [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_MINISERIALIZE_FOR___AsStruct` and up 4 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `mini_internal` crate, try updating your dependency with `cargo update -p mini_internal` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the derive macro `Serialize_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `miniserde-enum` (test "deserialize") generated 3 warnings [INFO] [stderr] warning: `miniserde-enum` (test "serialize") generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: miniserde-enum v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/miniserde_enum-1561e295585df23f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/deserialize.rs (/opt/rustwide/target/debug/deps/deserialize-63f411203a0d921f) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_external ... ok [INFO] [stdout] test test_internal ... ok [INFO] [stdout] test test_adjacent ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] Running tests/serialize.rs (/opt/rustwide/target/debug/deps/serialize-5a4c61c3116659ca) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test generic_named ... ok [INFO] [stdout] test test_untagged ... ok [INFO] [stdout] test generic_unnamed ... ok [INFO] [stdout] test test_external ... ok [INFO] [stdout] test test_internal ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests miniserde_enum [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0cf0996372839c07377b81b9b62efa2d34882a561eabf4d267fa8e7bb2f1ae3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cf0996372839c07377b81b9b62efa2d34882a561eabf4d267fa8e7bb2f1ae3b", kill_on_drop: false }` [INFO] [stdout] 0cf0996372839c07377b81b9b62efa2d34882a561eabf4d267fa8e7bb2f1ae3b