[INFO] fetching crate cyrly 0.1.0... [INFO] testing cyrly-0.1.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate cyrly 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate cyrly 0.1.0 [INFO] finished tweaking crates.io crate cyrly 0.1.0 [INFO] tweaked toml for crates.io crate cyrly 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cyrly 0.1.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e04c6ce4d920b59f0fe48abacc2665fac1022cd27e31aace9ac27c1d0de216d [INFO] running `Command { std: "docker" "start" "-a" "3e04c6ce4d920b59f0fe48abacc2665fac1022cd27e31aace9ac27c1d0de216d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e04c6ce4d920b59f0fe48abacc2665fac1022cd27e31aace9ac27c1d0de216d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e04c6ce4d920b59f0fe48abacc2665fac1022cd27e31aace9ac27c1d0de216d", kill_on_drop: false }` [INFO] [stdout] 3e04c6ce4d920b59f0fe48abacc2665fac1022cd27e31aace9ac27c1d0de216d [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cfe0796ba9734559551412a16dbd6bd35a5d1997730666dd563b27f087b0dac [INFO] running `Command { std: "docker" "start" "-a" "6cfe0796ba9734559551412a16dbd6bd35a5d1997730666dd563b27f087b0dac", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling cyrly v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 353 | fn serialize_tuple(self, len: usize) -> Result { [INFO] [stdout] | --------------------------------------------------------------------------------- move the `impl` block outside of this method `serialize_tuple` [INFO] [stdout] 354 | impl SerializeTuple for CurlySeq<'_, E> { [INFO] [stdout] | ^^^^^^^^^^^^^--------------^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `CurlySeq` is not local [INFO] [stdout] | `SerializeTuple` 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] --> lib.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 374 | / fn serialize_tuple_struct( [INFO] [stdout] 375 | | self, [INFO] [stdout] 376 | | _name: &'static str, [INFO] [stdout] 377 | | len: usize, [INFO] [stdout] 378 | | ) -> Result { [INFO] [stdout] | |________________________________________________________- move the `impl` block outside of this method `serialize_tuple_struct` [INFO] [stdout] 379 | impl SerializeTupleStruct for CurlySeq<'_, E> { [INFO] [stdout] | ^^^^^^^^^^^^^--------------------^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `CurlySeq` is not local [INFO] [stdout] | `SerializeTupleStruct` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 399 | / fn serialize_tuple_variant( [INFO] [stdout] 400 | | mut self, [INFO] [stdout] 401 | | _name: &'static str, [INFO] [stdout] 402 | | _variant_index: u32, [INFO] [stdout] 403 | | variant: &'static str, [INFO] [stdout] 404 | | len: usize, [INFO] [stdout] 405 | | ) -> Result { [INFO] [stdout] | |_________________________________________________________- move the `impl` block outside of this method `serialize_tuple_variant` [INFO] [stdout] 406 | impl SerializeTupleVariant for CurlySeq<'_, E> { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `CurlySeq` is not local [INFO] [stdout] | `SerializeTupleVariant` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 427 | / fn serialize_struct( [INFO] [stdout] 428 | | self, [INFO] [stdout] 429 | | _name: &'static str, [INFO] [stdout] 430 | | len: usize, [INFO] [stdout] 431 | | ) -> Result { [INFO] [stdout] | |___________________________________________________- move the `impl` block outside of this method `serialize_struct` [INFO] [stdout] 432 | impl SerializeStruct for CurlyMap<'_, E> { [INFO] [stdout] | ^^^^^^^^^^^^^---------------^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `CurlyMap` is not local [INFO] [stdout] | `SerializeStruct` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:465:9 [INFO] [stdout] | [INFO] [stdout] 458 | / fn serialize_struct_variant( [INFO] [stdout] 459 | | mut self, [INFO] [stdout] 460 | | name: &'static str, [INFO] [stdout] 461 | | _variant_index: u32, [INFO] [stdout] 462 | | variant: &'static str, [INFO] [stdout] 463 | | len: usize, [INFO] [stdout] 464 | | ) -> Result { [INFO] [stdout] | |__________________________________________________________- move the `impl` block outside of this method `serialize_struct_variant` [INFO] [stdout] 465 | impl SerializeStructVariant for CurlyMap<'_, E> { [INFO] [stdout] | ^^^^^^^^^^^^^----------------------^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `CurlyMap` is not local [INFO] [stdout] | `SerializeStructVariant` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib.rs:544:19 [INFO] [stdout] | [INFO] [stdout] 544 | fn next_level(&mut self) -> CurlySerializer { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 544 | fn next_level(&mut self) -> CurlySerializer<'_, E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "6cfe0796ba9734559551412a16dbd6bd35a5d1997730666dd563b27f087b0dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cfe0796ba9734559551412a16dbd6bd35a5d1997730666dd563b27f087b0dac", kill_on_drop: false }` [INFO] [stdout] 6cfe0796ba9734559551412a16dbd6bd35a5d1997730666dd563b27f087b0dac [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c271303a8d79d86c4dae295d8ea3e0ba0f56c63e95d5750289b347687669634 [INFO] running `Command { std: "docker" "start" "-a" "6c271303a8d79d86c4dae295d8ea3e0ba0f56c63e95d5750289b347687669634", kill_on_drop: false }` [INFO] [stderr] Compiling cyrly v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 353 | fn serialize_tuple(self, len: usize) -> Result { [INFO] [stdout] | --------------------------------------------------------------------------------- move the `impl` block outside of this method `serialize_tuple` [INFO] [stdout] 354 | impl SerializeTuple for CurlySeq<'_, E> { [INFO] [stdout] | ^^^^^^^^^^^^^--------------^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `CurlySeq` is not local [INFO] [stdout] | `SerializeTuple` 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] --> lib.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 374 | / fn serialize_tuple_struct( [INFO] [stdout] 375 | | self, [INFO] [stdout] 376 | | _name: &'static str, [INFO] [stdout] 377 | | len: usize, [INFO] [stdout] 378 | | ) -> Result { [INFO] [stdout] | |________________________________________________________- move the `impl` block outside of this method `serialize_tuple_struct` [INFO] [stdout] 379 | impl SerializeTupleStruct for CurlySeq<'_, E> { [INFO] [stdout] | ^^^^^^^^^^^^^--------------------^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `CurlySeq` is not local [INFO] [stdout] | `SerializeTupleStruct` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 399 | / fn serialize_tuple_variant( [INFO] [stdout] 400 | | mut self, [INFO] [stdout] 401 | | _name: &'static str, [INFO] [stdout] 402 | | _variant_index: u32, [INFO] [stdout] 403 | | variant: &'static str, [INFO] [stdout] 404 | | len: usize, [INFO] [stdout] 405 | | ) -> Result { [INFO] [stdout] | |_________________________________________________________- move the `impl` block outside of this method `serialize_tuple_variant` [INFO] [stdout] 406 | impl SerializeTupleVariant for CurlySeq<'_, E> { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `CurlySeq` is not local [INFO] [stdout] | `SerializeTupleVariant` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 427 | / fn serialize_struct( [INFO] [stdout] 428 | | self, [INFO] [stdout] 429 | | _name: &'static str, [INFO] [stdout] 430 | | len: usize, [INFO] [stdout] 431 | | ) -> Result { [INFO] [stdout] | |___________________________________________________- move the `impl` block outside of this method `serialize_struct` [INFO] [stdout] 432 | impl SerializeStruct for CurlyMap<'_, E> { [INFO] [stdout] | ^^^^^^^^^^^^^---------------^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `CurlyMap` is not local [INFO] [stdout] | `SerializeStruct` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:465:9 [INFO] [stdout] | [INFO] [stdout] 458 | / fn serialize_struct_variant( [INFO] [stdout] 459 | | mut self, [INFO] [stdout] 460 | | name: &'static str, [INFO] [stdout] 461 | | _variant_index: u32, [INFO] [stdout] 462 | | variant: &'static str, [INFO] [stdout] 463 | | len: usize, [INFO] [stdout] 464 | | ) -> Result { [INFO] [stdout] | |__________________________________________________________- move the `impl` block outside of this method `serialize_struct_variant` [INFO] [stdout] 465 | impl SerializeStructVariant for CurlyMap<'_, E> { [INFO] [stdout] | ^^^^^^^^^^^^^----------------------^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `CurlyMap` is not local [INFO] [stdout] | `SerializeStructVariant` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib.rs:544:19 [INFO] [stdout] | [INFO] [stdout] 544 | fn next_level(&mut self) -> CurlySerializer { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 544 | fn next_level(&mut self) -> CurlySerializer<'_, E> { [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] --> lib.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 353 | fn serialize_tuple(self, len: usize) -> Result { [INFO] [stdout] | --------------------------------------------------------------------------------- move the `impl` block outside of this method `serialize_tuple` [INFO] [stdout] 354 | impl SerializeTuple for CurlySeq<'_, E> { [INFO] [stdout] | ^^^^^^^^^^^^^--------------^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `CurlySeq` is not local [INFO] [stdout] | `SerializeTuple` 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] --> lib.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 374 | / fn serialize_tuple_struct( [INFO] [stdout] 375 | | self, [INFO] [stdout] 376 | | _name: &'static str, [INFO] [stdout] 377 | | len: usize, [INFO] [stdout] 378 | | ) -> Result { [INFO] [stdout] | |________________________________________________________- move the `impl` block outside of this method `serialize_tuple_struct` [INFO] [stdout] 379 | impl SerializeTupleStruct for CurlySeq<'_, E> { [INFO] [stdout] | ^^^^^^^^^^^^^--------------------^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `CurlySeq` is not local [INFO] [stdout] | `SerializeTupleStruct` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 399 | / fn serialize_tuple_variant( [INFO] [stdout] 400 | | mut self, [INFO] [stdout] 401 | | _name: &'static str, [INFO] [stdout] 402 | | _variant_index: u32, [INFO] [stdout] 403 | | variant: &'static str, [INFO] [stdout] 404 | | len: usize, [INFO] [stdout] 405 | | ) -> Result { [INFO] [stdout] | |_________________________________________________________- move the `impl` block outside of this method `serialize_tuple_variant` [INFO] [stdout] 406 | impl SerializeTupleVariant for CurlySeq<'_, E> { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `CurlySeq` is not local [INFO] [stdout] | `SerializeTupleVariant` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 427 | / fn serialize_struct( [INFO] [stdout] 428 | | self, [INFO] [stdout] 429 | | _name: &'static str, [INFO] [stdout] 430 | | len: usize, [INFO] [stdout] 431 | | ) -> Result { [INFO] [stdout] | |___________________________________________________- move the `impl` block outside of this method `serialize_struct` [INFO] [stdout] 432 | impl SerializeStruct for CurlyMap<'_, E> { [INFO] [stdout] | ^^^^^^^^^^^^^---------------^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `CurlyMap` is not local [INFO] [stdout] | `SerializeStruct` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib.rs:465:9 [INFO] [stdout] | [INFO] [stdout] 458 | / fn serialize_struct_variant( [INFO] [stdout] 459 | | mut self, [INFO] [stdout] 460 | | name: &'static str, [INFO] [stdout] 461 | | _variant_index: u32, [INFO] [stdout] 462 | | variant: &'static str, [INFO] [stdout] 463 | | len: usize, [INFO] [stdout] 464 | | ) -> Result { [INFO] [stdout] | |__________________________________________________________- move the `impl` block outside of this method `serialize_struct_variant` [INFO] [stdout] 465 | impl SerializeStructVariant for CurlyMap<'_, E> { [INFO] [stdout] | ^^^^^^^^^^^^^----------------------^^^^^--------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `CurlyMap` is not local [INFO] [stdout] | `SerializeStructVariant` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib.rs:544:19 [INFO] [stdout] | [INFO] [stdout] 544 | fn next_level(&mut self) -> CurlySerializer { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 544 | fn next_level(&mut self) -> CurlySerializer<'_, E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "6c271303a8d79d86c4dae295d8ea3e0ba0f56c63e95d5750289b347687669634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c271303a8d79d86c4dae295d8ea3e0ba0f56c63e95d5750289b347687669634", kill_on_drop: false }` [INFO] [stdout] 6c271303a8d79d86c4dae295d8ea3e0ba0f56c63e95d5750289b347687669634 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c46e2c6d19a099597dcfba6d829fd7c41cad734c40ef2bc2f44e67f22028d145 [INFO] running `Command { std: "docker" "start" "-a" "c46e2c6d19a099597dcfba6d829fd7c41cad734c40ef2bc2f44e67f22028d145", 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] --> lib.rs:354:9 [INFO] [stderr] | [INFO] [stderr] 353 | fn serialize_tuple(self, len: usize) -> Result { [INFO] [stderr] | --------------------------------------------------------------------------------- move the `impl` block outside of this method `serialize_tuple` [INFO] [stderr] 354 | impl SerializeTuple for CurlySeq<'_, E> { [INFO] [stderr] | ^^^^^^^^^^^^^--------------^^^^^--------^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `CurlySeq` is not local [INFO] [stderr] | `SerializeTuple` is not local [INFO] [stderr] | [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: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> lib.rs:379:9 [INFO] [stderr] | [INFO] [stderr] 374 | / fn serialize_tuple_struct( [INFO] [stderr] 375 | | self, [INFO] [stderr] 376 | | _name: &'static str, [INFO] [stderr] 377 | | len: usize, [INFO] [stderr] 378 | | ) -> Result { [INFO] [stderr] | |________________________________________________________- move the `impl` block outside of this method `serialize_tuple_struct` [INFO] [stderr] 379 | impl SerializeTupleStruct for CurlySeq<'_, E> { [INFO] [stderr] | ^^^^^^^^^^^^^--------------------^^^^^--------^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `CurlySeq` is not local [INFO] [stderr] | `SerializeTupleStruct` is not local [INFO] [stderr] | [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] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> lib.rs:406:9 [INFO] [stderr] | [INFO] [stderr] 399 | / fn serialize_tuple_variant( [INFO] [stderr] 400 | | mut self, [INFO] [stderr] 401 | | _name: &'static str, [INFO] [stderr] 402 | | _variant_index: u32, [INFO] [stderr] 403 | | variant: &'static str, [INFO] [stderr] 404 | | len: usize, [INFO] [stderr] 405 | | ) -> Result { [INFO] [stderr] | |_________________________________________________________- move the `impl` block outside of this method `serialize_tuple_variant` [INFO] [stderr] 406 | impl SerializeTupleVariant for CurlySeq<'_, E> { [INFO] [stderr] | ^^^^^^^^^^^^^---------------------^^^^^--------^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `CurlySeq` is not local [INFO] [stderr] | `SerializeTupleVariant` is not local [INFO] [stderr] | [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] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> lib.rs:432:9 [INFO] [stderr] | [INFO] [stderr] 427 | / fn serialize_struct( [INFO] [stderr] 428 | | self, [INFO] [stderr] 429 | | _name: &'static str, [INFO] [stderr] 430 | | len: usize, [INFO] [stderr] 431 | | ) -> Result { [INFO] [stderr] | |___________________________________________________- move the `impl` block outside of this method `serialize_struct` [INFO] [stderr] 432 | impl SerializeStruct for CurlyMap<'_, E> { [INFO] [stderr] | ^^^^^^^^^^^^^---------------^^^^^--------^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `CurlyMap` is not local [INFO] [stderr] | `SerializeStruct` is not local [INFO] [stderr] | [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] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> lib.rs:465:9 [INFO] [stderr] | [INFO] [stderr] 458 | / fn serialize_struct_variant( [INFO] [stderr] 459 | | mut self, [INFO] [stderr] 460 | | name: &'static str, [INFO] [stderr] 461 | | _variant_index: u32, [INFO] [stderr] 462 | | variant: &'static str, [INFO] [stderr] 463 | | len: usize, [INFO] [stderr] 464 | | ) -> Result { [INFO] [stderr] | |__________________________________________________________- move the `impl` block outside of this method `serialize_struct_variant` [INFO] [stderr] 465 | impl SerializeStructVariant for CurlyMap<'_, E> { [INFO] [stderr] | ^^^^^^^^^^^^^----------------------^^^^^--------^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `CurlyMap` is not local [INFO] [stderr] | `SerializeStructVariant` is not local [INFO] [stderr] | [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] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> lib.rs:544:19 [INFO] [stderr] | [INFO] [stderr] 544 | fn next_level(&mut self) -> CurlySerializer { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 544 | fn next_level(&mut self) -> CurlySerializer<'_, E> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `cyrly` (lib) generated 6 warnings (run `cargo fix --lib -p cyrly` to apply 1 suggestion) [INFO] [stderr] warning: `cyrly` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/cyrly-33ac8b7406230138) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test::second ... ok [INFO] [stdout] test test::first ... ok [INFO] [stdout] test test::two_spaces_eaten ... ok [INFO] [stdout] test test::and_i_quote_null ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Doc-tests cyrly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test lib.rs - (line 7) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c46e2c6d19a099597dcfba6d829fd7c41cad734c40ef2bc2f44e67f22028d145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c46e2c6d19a099597dcfba6d829fd7c41cad734c40ef2bc2f44e67f22028d145", kill_on_drop: false }` [INFO] [stdout] c46e2c6d19a099597dcfba6d829fd7c41cad734c40ef2bc2f44e67f22028d145