[INFO] fetching crate miniserde-enum 0.1.3... [INFO] checking miniserde-enum-0.1.3 against try#0fe3684930279e4d3be3aca66b30f82946ce9ac2 for pr-138340 [INFO] extracting crate miniserde-enum 0.1.3 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate miniserde-enum 0.1.3 on toolchain 0fe3684930279e4d3be3aca66b30f82946ce9ac2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 339f17cae3d505dd412ddaeabd00f92c2edf6069f165941e7c0c6a0777188dd8 [INFO] running `Command { std: "docker" "start" "-a" "339f17cae3d505dd412ddaeabd00f92c2edf6069f165941e7c0c6a0777188dd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "339f17cae3d505dd412ddaeabd00f92c2edf6069f165941e7c0c6a0777188dd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "339f17cae3d505dd412ddaeabd00f92c2edf6069f165941e7c0c6a0777188dd8", kill_on_drop: false }` [INFO] [stdout] 339f17cae3d505dd412ddaeabd00f92c2edf6069f165941e7c0c6a0777188dd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ded917e4546518bfcf31242770ec69523436fc597e60bed0b3ed5e72c8017fd1 [INFO] running `Command { std: "docker" "start" "-a" "ded917e4546518bfcf31242770ec69523436fc597e60bed0b3ed5e72c8017fd1", 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] Checking itoa v0.4.4 [INFO] [stderr] Checking quote v1.0.2 [INFO] [stderr] Compiling mini-internal v0.1.12 [INFO] [stderr] Checking miniserde v0.1.12 [INFO] [stderr] Checking 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)]` 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 `dev` profile [unoptimized + debuginfo] target(s) in 10.18s [INFO] running `Command { std: "docker" "inspect" "ded917e4546518bfcf31242770ec69523436fc597e60bed0b3ed5e72c8017fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ded917e4546518bfcf31242770ec69523436fc597e60bed0b3ed5e72c8017fd1", kill_on_drop: false }` [INFO] [stdout] ded917e4546518bfcf31242770ec69523436fc597e60bed0b3ed5e72c8017fd1