[INFO] fetching crate microserde 0.1.13... [INFO] checking microserde-0.1.13 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate microserde 0.1.13 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate microserde 0.1.13 [INFO] finished tweaking crates.io crate microserde 0.1.13 [INFO] tweaked toml for crates.io crate microserde 0.1.13 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate microserde 0.1.13 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 402fc52a0cf3956ba36d28051ac867de3ef6fc4b625a683290faa87a9c6ba43f [INFO] running `Command { std: "docker" "start" "-a" "402fc52a0cf3956ba36d28051ac867de3ef6fc4b625a683290faa87a9c6ba43f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "402fc52a0cf3956ba36d28051ac867de3ef6fc4b625a683290faa87a9c6ba43f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "402fc52a0cf3956ba36d28051ac867de3ef6fc4b625a683290faa87a9c6ba43f", kill_on_drop: false }` [INFO] [stdout] 402fc52a0cf3956ba36d28051ac867de3ef6fc4b625a683290faa87a9c6ba43f [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12de4bf54262961a7ddcc77080a7c5ff5e0b59a8d9024bb0d4fd9d2fb5a05fe2 [INFO] running `Command { std: "docker" "start" "-a" "12de4bf54262961a7ddcc77080a7c5ff5e0b59a8d9024bb0d4fd9d2fb5a05fe2", kill_on_drop: false }` [INFO] [stderr] Compiling microserde-derive v0.1.13 [INFO] [stderr] Compiling automod v1.0.15 [INFO] [stderr] Checking microserde v0.1.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ignore.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(Visitor::ignore()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | Ok(::ignore()) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ignore.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Visitor::ignore()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | Ok(::ignore()) [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/impls.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 12 | impl Visitor for Place<()> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` 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/impls.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 24 | impl Visitor for Place { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 36 | impl Visitor for Place { [INFO] [stdout] | ^^^^^-------^^^^^-----^------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `String` is not local [INFO] [stdout] | | `Place` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 74 | signed!(i8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 75 | signed!(i16); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 76 | signed!(i32); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 77 | signed!(i64); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 78 | signed!(isize); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 99 | unsigned!(u8); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 100 | unsigned!(u16); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 101 | unsigned!(u32); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 102 | unsigned!(u64); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 103 | unsigned!(usize); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 108 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 109 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 130 | float!(f32); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `float` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 108 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 109 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 131 | float!(f64); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `float` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 134 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 135 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^---^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Box` is not local [INFO] [stdout] | | `Place` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 244 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 245 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^------^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Option` is not local [INFO] [stdout] | | `Place` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 292 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 293 | impl Visitor for Place<(A, B)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 333 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 334 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^---^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Vec` is not local [INFO] [stdout] | | `Place` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 381 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 382 | impl Visitor for Place> [INFO] [stdout] | ^^^^^^^^^^^^^^-------^^^^^-----^-------^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `HashMap` is not local [INFO] [stdout] | | `Place` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 441 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 442 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^--------^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `BTreeMap` is not local [INFO] [stdout] | | `Place` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/de.rs:388:22 [INFO] [stdout] | [INFO] [stdout] 388 | fn parse_integer(&mut self, nonnegative: bool, first_digit: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----- the same lifetime is hidden 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] 388 | fn parse_integer(&mut self, nonnegative: bool, first_digit: u8) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/de.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | fn parse_number(&mut self, nonnegative: bool, significand: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 458 | fn parse_number(&mut self, nonnegative: bool, significand: u64) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/de.rs:585:14 [INFO] [stdout] | [INFO] [stdout] 585 | fn event(&mut self) -> Result { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 585 | fn event(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/value.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | fn begin(&self) -> Fragment<'_> { [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/json/value.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 61 | impl Visitor for Place { [INFO] [stdout] | ^^^^^-------^^^^^-----^-----^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Value` is not local [INFO] [stdout] | | `Place` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/object.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn stream_object(object: &Object) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn stream_object(object: &Object) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/object.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/mod.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn begin(&self) -> Fragment; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | fn begin(&self) -> Fragment<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)>; [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 42 | unsigned!(u8); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 43 | unsigned!(u16); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 44 | unsigned!(u32); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 45 | unsigned!(u64); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 46 | unsigned!(usize); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 57 | signed!(i8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 58 | signed!(i16); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 59 | signed!(i32); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 60 | signed!(i64); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 61 | signed!(isize); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 72 | float!(f32); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 73 | float!(f64); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 82 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ignore.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(Visitor::ignore()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | Ok(::ignore()) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 103 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 131 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 152 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:169:46 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn stream_slice(slice: &[T]) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn stream_slice(slice: &[T]) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ignore.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Visitor::ignore()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | Ok(::ignore()) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:182:61 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn stream_btree_map(map: &BTreeMap) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn stream_btree_map(map: &BTreeMap) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 186 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [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/impls.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 12 | impl Visitor for Place<()> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` 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/impls.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 24 | impl Visitor for Place { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 36 | impl Visitor for Place { [INFO] [stdout] | ^^^^^-------^^^^^-----^------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `String` is not local [INFO] [stdout] | | `Place` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 74 | signed!(i8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 75 | signed!(i16); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 76 | signed!(i32); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 77 | signed!(i64); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 50 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 78 | signed!(isize); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 99 | unsigned!(u8); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 100 | unsigned!(u16); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 101 | unsigned!(u32); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 102 | unsigned!(u64); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 84 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 103 | unsigned!(usize); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 108 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 109 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 130 | float!(f32); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `float` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 108 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 109 | impl Visitor for Place<$ty> { [INFO] [stdout] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] ... [INFO] [stdout] 131 | float!(f64); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `float` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 134 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 135 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^---^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Box` is not local [INFO] [stdout] | | `Place` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 244 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 245 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^------^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Option` is not local [INFO] [stdout] | | `Place` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 292 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 293 | impl Visitor for Place<(A, B)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Place` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 333 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 334 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^---^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Vec` is not local [INFO] [stdout] | | `Place` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 381 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 382 | impl Visitor for Place> [INFO] [stdout] | ^^^^^^^^^^^^^^-------^^^^^-----^-------^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `HashMap` is not local [INFO] [stdout] | | `Place` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/impls.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 441 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 442 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^--------^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `BTreeMap` is not local [INFO] [stdout] | | `Place` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/de.rs:388:22 [INFO] [stdout] | [INFO] [stdout] 388 | fn parse_integer(&mut self, nonnegative: bool, first_digit: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----- the same lifetime is hidden 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] 388 | fn parse_integer(&mut self, nonnegative: bool, first_digit: u8) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/de.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | fn parse_number(&mut self, nonnegative: bool, significand: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 458 | fn parse_number(&mut self, nonnegative: bool, significand: u64) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/de.rs:585:14 [INFO] [stdout] | [INFO] [stdout] 585 | fn event(&mut self) -> Result { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 585 | fn event(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/value.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | fn begin(&self) -> Fragment<'_> { [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/json/value.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 61 | impl Visitor for Place { [INFO] [stdout] | ^^^^^-------^^^^^-----^-----^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Value` is not local [INFO] [stdout] | | `Place` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/object.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn stream_object(object: &Object) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn stream_object(object: &Object) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/object.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/mod.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn begin(&self) -> Fragment; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | fn begin(&self) -> Fragment<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)>; [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 42 | unsigned!(u8); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 43 | unsigned!(u16); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 44 | unsigned!(u32); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 45 | unsigned!(u64); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 46 | unsigned!(usize); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 57 | signed!(i8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 58 | signed!(i16); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 59 | signed!(i32); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 60 | signed!(i64); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 61 | signed!(isize); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 72 | float!(f32); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 73 | float!(f64); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 82 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 103 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 131 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 152 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | fn begin(&self) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:169:46 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn stream_slice(slice: &[T]) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn stream_slice(slice: &[T]) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:182:61 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn stream_btree_map(map: &BTreeMap) -> Fragment { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn stream_btree_map(map: &BTreeMap) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 186 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [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] --> tests/test_derive.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_MINISERIALIZE_FOR_Tag` [INFO] [stdout] 4 | enum Tag { [INFO] [stdout] | --- `Tag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `microserde_derive` crate, try updating your dependency with `cargo update -p microserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/test_derive.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_MINIDESERIALIZE_FOR_Tag` [INFO] [stdout] 4 | enum Tag { [INFO] [stdout] | --- `Tag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `microserde_derive` crate, try updating your dependency with `cargo update -p microserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/test_derive.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_MINISERIALIZE_FOR_Example` [INFO] [stdout] 11 | struct Example { [INFO] [stdout] | ------- `Example` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `microserde_derive` crate, try updating your dependency with `cargo update -p microserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/test_derive.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_MINIDESERIALIZE_FOR_Example` [INFO] [stdout] 11 | struct Example { [INFO] [stdout] | ------- `Example` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `microserde_derive` crate, try updating your dependency with `cargo update -p microserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/test_derive.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_MINISERIALIZE_FOR_Nested` [INFO] [stdout] 19 | struct Nested { [INFO] [stdout] | ------ `Nested` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `microserde_derive` crate, try updating your dependency with `cargo update -p microserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/test_derive.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_MINIDESERIALIZE_FOR_Nested` [INFO] [stdout] 19 | struct Nested { [INFO] [stdout] | ------ `Nested` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `microserde_derive` crate, try updating your dependency with `cargo update -p microserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.01s [INFO] running `Command { std: "docker" "inspect" "12de4bf54262961a7ddcc77080a7c5ff5e0b59a8d9024bb0d4fd9d2fb5a05fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12de4bf54262961a7ddcc77080a7c5ff5e0b59a8d9024bb0d4fd9d2fb5a05fe2", kill_on_drop: false }` [INFO] [stdout] 12de4bf54262961a7ddcc77080a7c5ff5e0b59a8d9024bb0d4fd9d2fb5a05fe2