[INFO] fetching crate serde_state 0.4.8... [INFO] checking serde_state-0.4.8 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate serde_state 0.4.8 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate serde_state 0.4.8 [INFO] finished tweaking crates.io crate serde_state 0.4.8 [INFO] tweaked toml for crates.io crate serde_state 0.4.8 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate serde_state 0.4.8 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] Locking 12 packages to latest compatible versions [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c580d71a22e3a19a965686827f4ebc6ed3e4b2d32780c23e68388b5eb583edd7 [INFO] running `Command { std: "docker" "start" "-a" "c580d71a22e3a19a965686827f4ebc6ed3e4b2d32780c23e68388b5eb583edd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c580d71a22e3a19a965686827f4ebc6ed3e4b2d32780c23e68388b5eb583edd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c580d71a22e3a19a965686827f4ebc6ed3e4b2d32780c23e68388b5eb583edd7", kill_on_drop: false }` [INFO] [stdout] c580d71a22e3a19a965686827f4ebc6ed3e4b2d32780c23e68388b5eb583edd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9a72b1f1b3f22568f1ed216e50600d3a6aa15131b35da446dcd5f0de75909257 [INFO] running `Command { std: "docker" "start" "-a" "9a72b1f1b3f22568f1ed216e50600d3a6aa15131b35da446dcd5f0de75909257", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde_derive_state v0.4.10 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_state v0.4.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | #![cfg_attr(feature = "cargo-clippy", allow(doc_markdown))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `derive`, `playground`, `rc`, `serde_derive`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | #![cfg_attr(feature = "cargo-clippy", allow(linkedlist))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `derive`, `playground`, `rc`, `serde_derive`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | #![cfg_attr(feature = "cargo-clippy", allow(type_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `derive`, `playground`, `rc`, `serde_derive`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | #![cfg_attr(feature = "cargo-clippy", allow(zero_prefixed_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `derive`, `playground`, `rc`, `serde_derive`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused imports: `iter`, `mem`, and `slice` [INFO] [stdout] --> src/lib.rs:159:31 [INFO] [stdout] | [INFO] [stdout] 159 | pub use self::core::{cmp, iter, mem, ops, slice, str}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | #![deny(missing_docs, unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `self` [INFO] [stdout] --> src/lib.rs:165:33 [INFO] [stdout] | [INFO] [stdout] 165 | pub use self::core::clone::{self, Clone}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused imports: `From` and `self` [INFO] [stdout] --> src/lib.rs:166:35 [INFO] [stdout] | [INFO] [stdout] 166 | pub use self::core::convert::{self, From, Into}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `self` [INFO] [stdout] --> src/lib.rs:167:35 [INFO] [stdout] | [INFO] [stdout] 167 | pub use self::core::default::{self, Default}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `self` [INFO] [stdout] --> src/lib.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | pub use self::core::marker::{self, PhantomData}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `self` [INFO] [stdout] --> src/lib.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | pub use self::core::option::{self, Option}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `self` [INFO] [stdout] --> src/lib.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | pub use self::core::result::{self, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `net` [INFO] [stdout] --> src/lib.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | pub use std::{error, net}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused imports: `CStr`, `CString`, `OsStr`, and `OsString` [INFO] [stdout] --> src/lib.rs:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | pub use std::ffi::{CStr, CString, OsStr, OsString}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/lib.rs:220:25 [INFO] [stdout] | [INFO] [stdout] 220 | pub use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `std::time::Duration` [INFO] [stdout] --> src/lib.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | pub use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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] --> src/de/seed_impls.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 153 | / fn deserialize(self, deserializer: D) -> Result [INFO] [stdout] 154 | | where [INFO] [stdout] 155 | | D: Deserializer<'de>, [INFO] [stdout] | |_____________________________- move the `impl` block outside of this method `deserialize` [INFO] [stdout] 156 | { [INFO] [stdout] 157 | impl<'de, S, F, T> Visitor<'de> for SeqSeed [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^-------^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `SeqSeed` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [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: `#[warn(non_local_definitions)]` on by default [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] --> src/de/seed_impls.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 265 | / fn deserialize(self, deserializer: D) -> Result [INFO] [stdout] 266 | | where [INFO] [stdout] 267 | | D: Deserializer<'de>, [INFO] [stdout] | |_____________________________- move the `impl` block outside of this method `deserialize` [INFO] [stdout] 268 | { [INFO] [stdout] 269 | impl<'de, S> Visitor<'de> for OptionSeed [INFO] [stdout] | ^^^^^^^^^^^^^-------^^^^^^^^^^----------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `OptionSeed` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/private/de.rs:290:23 [INFO] [stdout] | [INFO] [stdout] 290 | fn unexpected(&self) -> Unexpected { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 290 | fn unexpected(&self) -> Unexpected<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_state` (lib) due to 11 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9a72b1f1b3f22568f1ed216e50600d3a6aa15131b35da446dcd5f0de75909257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a72b1f1b3f22568f1ed216e50600d3a6aa15131b35da446dcd5f0de75909257", kill_on_drop: false }` [INFO] [stdout] 9a72b1f1b3f22568f1ed216e50600d3a6aa15131b35da446dcd5f0de75909257