[INFO] fetching crate miniserde-enum 0.1.3... [INFO] checking miniserde-enum-0.1.3 against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] extracting crate miniserde-enum 0.1.3 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate miniserde-enum 0.1.3 on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mini-internal v0.1.12 [INFO] [stderr] Downloaded miniserde v0.1.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cd73f0bc5cf4dcae3297fcae7979d5eecd302bc485b3ee06fbe4e2f88058d8c [INFO] running `Command { std: "docker" "start" "-a" "6cd73f0bc5cf4dcae3297fcae7979d5eecd302bc485b3ee06fbe4e2f88058d8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cd73f0bc5cf4dcae3297fcae7979d5eecd302bc485b3ee06fbe4e2f88058d8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cd73f0bc5cf4dcae3297fcae7979d5eecd302bc485b3ee06fbe4e2f88058d8c", kill_on_drop: false }` [INFO] [stdout] 6cd73f0bc5cf4dcae3297fcae7979d5eecd302bc485b3ee06fbe4e2f88058d8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 994749c74f001118e57a4ed580a83988cf9ad6dcc898836a038a150faafb098c [INFO] running `Command { std: "docker" "start" "-a" "994749c74f001118e57a4ed580a83988cf9ad6dcc898836a038a150faafb098c", 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 9.71s [INFO] running `Command { std: "docker" "inspect" "994749c74f001118e57a4ed580a83988cf9ad6dcc898836a038a150faafb098c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "994749c74f001118e57a4ed580a83988cf9ad6dcc898836a038a150faafb098c", kill_on_drop: false }` [INFO] [stdout] 994749c74f001118e57a4ed580a83988cf9ad6dcc898836a038a150faafb098c