[INFO] fetching crate serde_derive_state 0.4.10... [INFO] checking serde_derive_state-0.4.10 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate serde_derive_state 0.4.10 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate serde_derive_state 0.4.10 [INFO] finished tweaking crates.io crate serde_derive_state 0.4.10 [INFO] tweaked toml for crates.io crate serde_derive_state 0.4.10 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate serde_derive_state 0.4.10 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--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] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56de331fa9ab4cb267222b73d5edd8385fd23d6991fb2bdfc31b89e7d12d35ef [INFO] running `Command { std: "docker" "start" "-a" "56de331fa9ab4cb267222b73d5edd8385fd23d6991fb2bdfc31b89e7d12d35ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56de331fa9ab4cb267222b73d5edd8385fd23d6991fb2bdfc31b89e7d12d35ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56de331fa9ab4cb267222b73d5edd8385fd23d6991fb2bdfc31b89e7d12d35ef", kill_on_drop: false }` [INFO] [stdout] 56de331fa9ab4cb267222b73d5edd8385fd23d6991fb2bdfc31b89e7d12d35ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e3e52b399aeb8c0b9c8afc100272f9067b97de16690d313718d3bf61acd4ad6 [INFO] running `Command { std: "docker" "start" "-a" "5e3e52b399aeb8c0b9c8afc100272f9067b97de16690d313718d3bf61acd4ad6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive_state v0.4.10 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stdout] warning: unexpected `cfg` condition name: `underscore_consts` [INFO] [stdout] --> src/dummy.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | let dummy_const = if cfg!(underscore_consts) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(underscore_consts)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(underscore_consts)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stdout] warning: function `deserialize_tuple_in_place` is never used [INFO] [stdout] --> src/de.rs:579:4 [INFO] [stdout] | [INFO] [stdout] 579 | fn deserialize_tuple_in_place( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_seq_in_place` is never used [INFO] [stdout] --> src/de.rs:762:4 [INFO] [stdout] | [INFO] [stdout] 762 | fn deserialize_seq_in_place( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_newtype_struct_in_place` is never used [INFO] [stdout] --> src/de.rs:888:4 [INFO] [stdout] | [INFO] [stdout] 888 | fn deserialize_newtype_struct_in_place(params: &Parameters, field: &Field) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_struct_in_place` is never used [INFO] [stdout] --> src/de.rs:1082:4 [INFO] [stdout] | [INFO] [stdout] 1082 | fn deserialize_struct_in_place( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_struct_as_struct_in_place_visitor` is never used [INFO] [stdout] --> src/de.rs:2687:4 [INFO] [stdout] | [INFO] [stdout] 2687 | fn deserialize_struct_as_struct_in_place_visitor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_map_in_place` is never used [INFO] [stdout] --> src/de.rs:2721:4 [INFO] [stdout] | [INFO] [stdout] 2721 | fn deserialize_map_in_place( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InPlaceImplGenerics` is never constructed [INFO] [stdout] --> src/de.rs:3099:8 [INFO] [stdout] | [INFO] [stdout] 3099 | struct InPlaceImplGenerics<'a>(&'a Parameters); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `in_place` is never used [INFO] [stdout] --> src/de.rs:3136:8 [INFO] [stdout] | [INFO] [stdout] 3135 | impl<'a> DeImplGenerics<'a> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 3136 | fn in_place(self) -> InPlaceImplGenerics<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InPlaceTypeGenerics` is never constructed [INFO] [stdout] --> src/de.rs:3167:8 [INFO] [stdout] | [INFO] [stdout] 3167 | struct InPlaceTypeGenerics<'a>(&'a Parameters); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `in_place` is never used [INFO] [stdout] --> src/de.rs:3190:8 [INFO] [stdout] | [INFO] [stdout] 3189 | impl<'a> DeTypeGenerics<'a> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 3190 | fn in_place(self) -> InPlaceTypeGenerics<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `place_lifetime` is never used [INFO] [stdout] --> src/de.rs:3195:4 [INFO] [stdout] | [INFO] [stdout] 3195 | fn place_lifetime() -> syn::LifetimeDef { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/de.rs:3205:13 [INFO] [stdout] | [INFO] [stdout] 3205 | params: &Parameters, [INFO] [stdout] | ^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 3206 | ) -> ( [INFO] [stdout] 3207 | DeImplGenerics, [INFO] [stdout] | -------------- the lifetimes get resolved as `'_` [INFO] [stdout] 3208 | DeTypeGenerics, [INFO] [stdout] | -------------- the lifetimes get resolved as `'_` [INFO] [stdout] 3209 | syn::TypeGenerics, [INFO] [stdout] | ----------------- the lifetimes get resolved as `'_` [INFO] [stdout] 3210 | Option<&syn::WhereClause>, [INFO] [stdout] | ----------------- the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 3207 ~ DeImplGenerics<'_>, [INFO] [stdout] 3208 ~ DeTypeGenerics<'_>, [INFO] [stdout] 3209 ~ syn::TypeGenerics<'_>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/de.rs:3263:13 [INFO] [stdout] | [INFO] [stdout] 3263 | params: &Parameters, [INFO] [stdout] | ^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 3264 | ) -> ( [INFO] [stdout] 3265 | DeSeedImplGenerics, [INFO] [stdout] | ------------------ the lifetimes get resolved as `'_` [INFO] [stdout] 3266 | DeSeedTypeGenerics, [INFO] [stdout] | ------------------ the lifetimes get resolved as `'_` [INFO] [stdout] 3267 | syn::TypeGenerics, [INFO] [stdout] | ----------------- the lifetimes get resolved as `'_` [INFO] [stdout] 3268 | Option<&syn::WhereClause>, [INFO] [stdout] | ----------------- the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 3265 ~ DeSeedImplGenerics<'_>, [INFO] [stdout] 3266 ~ DeSeedTypeGenerics<'_>, [INFO] [stdout] 3267 ~ syn::TypeGenerics<'_>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/internals/attr.rs:735:23 [INFO] [stdout] | [INFO] [stdout] 735 | pub fn serde_path(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 735 | pub fn serde_path(&self) -> Cow<'_, syn::Path> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/internals/case.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn from_str(rename_all_str: &str) -> Result { [INFO] [stdout] | ^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn from_str(rename_all_str: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser.rs:1423:13 [INFO] [stdout] | [INFO] [stdout] 1423 | params: &Parameters, [INFO] [stdout] | ^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 1424 | ) -> ( [INFO] [stdout] 1425 | SerImplGenerics, [INFO] [stdout] | --------------- the lifetimes get resolved as `'_` [INFO] [stdout] 1426 | syn::TypeGenerics, [INFO] [stdout] | ----------------- the lifetimes get resolved as `'_` [INFO] [stdout] 1427 | Option<&syn::WhereClause>, [INFO] [stdout] | ----------------- the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1425 ~ SerImplGenerics<'_>, [INFO] [stdout] 1426 ~ syn::TypeGenerics<'_>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser.rs:1458:13 [INFO] [stdout] | [INFO] [stdout] 1458 | params: &Parameters, [INFO] [stdout] | ^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 1459 | ) -> ( [INFO] [stdout] 1460 | SerLifetimeImplGenerics, [INFO] [stdout] | ----------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 1461 | SerTypeGenerics, [INFO] [stdout] | --------------- the lifetimes get resolved as `'_` [INFO] [stdout] 1462 | Option<&syn::WhereClause>, [INFO] [stdout] | ----------------- the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1460 ~ SerLifetimeImplGenerics<'_>, [INFO] [stdout] 1461 ~ SerTypeGenerics<'_>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `underscore_consts` [INFO] [stdout] --> src/dummy.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | let dummy_const = if cfg!(underscore_consts) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(underscore_consts)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(underscore_consts)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `__TestExhaustive` found for enum `syn::Type` in the current scope [INFO] [stdout] --> src/bound.rs:188:28 [INFO] [stdout] | [INFO] [stdout] 188 | syn::Type::__TestExhaustive(_) => unimplemented!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `syn::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `__TestExhaustive` found for enum `syn::Type` in the current scope [INFO] [stdout] --> src/internals/attr.rs:2074:20 [INFO] [stdout] | [INFO] [stdout] 2074 | syn::Type::__TestExhaustive(_) => unimplemented!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `syn::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `__TestExhaustive` found for enum `syn::Type` in the current scope [INFO] [stdout] --> src/internals/receiver.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | Type::__TestExhaustive(_) => unimplemented!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `syn::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_derive_state` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "5e3e52b399aeb8c0b9c8afc100272f9067b97de16690d313718d3bf61acd4ad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e3e52b399aeb8c0b9c8afc100272f9067b97de16690d313718d3bf61acd4ad6", kill_on_drop: false }` [INFO] [stdout] 5e3e52b399aeb8c0b9c8afc100272f9067b97de16690d313718d3bf61acd4ad6