[INFO] fetching crate cyrly 0.1.0... [INFO] testing cyrly-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cyrly 0.1.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cyrly 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4b22a6cd253ccc0c90e8e0baa6488148c882123fe0681c01d469c6f82728b24 [INFO] running `Command { std: "docker" "start" "-a" "d4b22a6cd253ccc0c90e8e0baa6488148c882123fe0681c01d469c6f82728b24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4b22a6cd253ccc0c90e8e0baa6488148c882123fe0681c01d469c6f82728b24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4b22a6cd253ccc0c90e8e0baa6488148c882123fe0681c01d469c6f82728b24", kill_on_drop: false }` [INFO] [stdout] d4b22a6cd253ccc0c90e8e0baa6488148c882123fe0681c01d469c6f82728b24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 405aa8a63ec853c6a0f97199da18bc2c15a30e3ba9e60b49b6c4530422732d42 [INFO] running `Command { std: "docker" "start" "-a" "405aa8a63ec853c6a0f97199da18bc2c15a30e3ba9e60b49b6c4530422732d42", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [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 3.80s [INFO] running `Command { std: "docker" "inspect" "405aa8a63ec853c6a0f97199da18bc2c15a30e3ba9e60b49b6c4530422732d42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "405aa8a63ec853c6a0f97199da18bc2c15a30e3ba9e60b49b6c4530422732d42", kill_on_drop: false }` [INFO] [stdout] 405aa8a63ec853c6a0f97199da18bc2c15a30e3ba9e60b49b6c4530422732d42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d85da019cbdcb821f395aba9978573645fdc70a16eb19daecca8f609d893ad80 [INFO] running `Command { std: "docker" "start" "-a" "d85da019cbdcb821f395aba9978573645fdc70a16eb19daecca8f609d893ad80", kill_on_drop: false }` [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [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] Compiling serde_yaml v0.9.34+deprecated [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 4.31s [INFO] running `Command { std: "docker" "inspect" "d85da019cbdcb821f395aba9978573645fdc70a16eb19daecca8f609d893ad80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d85da019cbdcb821f395aba9978573645fdc70a16eb19daecca8f609d893ad80", kill_on_drop: false }` [INFO] [stdout] d85da019cbdcb821f395aba9978573645fdc70a16eb19daecca8f609d893ad80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e4d67e49010f431325c83cad834cd34b00246359ec70449958edfeeab345595d [INFO] running `Command { std: "docker" "start" "-a" "e4d67e49010f431325c83cad834cd34b00246359ec70449958edfeeab345595d", 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.04s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/cyrly-82700b85a4e32862) [INFO] [stdout] [INFO] [stdout] running 4 tests [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] test test::second ... ok [INFO] [stderr] Doc-tests cyrly [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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" "e4d67e49010f431325c83cad834cd34b00246359ec70449958edfeeab345595d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d67e49010f431325c83cad834cd34b00246359ec70449958edfeeab345595d", kill_on_drop: false }` [INFO] [stdout] e4d67e49010f431325c83cad834cd34b00246359ec70449958edfeeab345595d