[INFO] fetching crate microserde 0.1.13... [INFO] testing microserde-0.1.13 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate microserde 0.1.13 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate microserde 0.1.13 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded automod v1.0.15 [INFO] [stderr] Downloaded microserde-derive v0.1.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73cfbbc4a86ba0e4e5ef730f1a6ef4156af2555db67e0c12ffeff13f076832d3 [INFO] running `Command { std: "docker" "start" "-a" "73cfbbc4a86ba0e4e5ef730f1a6ef4156af2555db67e0c12ffeff13f076832d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73cfbbc4a86ba0e4e5ef730f1a6ef4156af2555db67e0c12ffeff13f076832d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73cfbbc4a86ba0e4e5ef730f1a6ef4156af2555db67e0c12ffeff13f076832d3", kill_on_drop: false }` [INFO] [stdout] 73cfbbc4a86ba0e4e5ef730f1a6ef4156af2555db67e0c12ffeff13f076832d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7ebf52f70383ed92bcf38ecbdd9b4153bfb660a69b42ed2f5aefefb26fb75b6e [INFO] running `Command { std: "docker" "start" "-a" "7ebf52f70383ed92bcf38ecbdd9b4153bfb660a69b42ed2f5aefefb26fb75b6e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling microserde-derive v0.1.13 [INFO] [stderr] Compiling 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 388 | fn parse_integer(&mut self, nonnegative: bool, first_digit: u8) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/json/de.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | fn parse_number(&mut self, nonnegative: bool, significand: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 458 | fn parse_number(&mut self, nonnegative: bool, significand: u64) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/json/de.rs:585:14 [INFO] [stdout] | [INFO] [stdout] 585 | fn event(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 585 | fn event(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/json/value.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/json/object.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn stream_object(object: &Object) -> Fragment { [INFO] [stdout] | ^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn stream_object(object: &Object) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 96 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/mod.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn begin(&self) -> Fragment; [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 111 | fn begin(&self) -> Fragment<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)>; [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 125 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 22 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 42 | unsigned!(u8); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 43 | unsigned!(u16); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 44 | unsigned!(u32); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 45 | unsigned!(u64); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 46 | unsigned!(usize); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 57 | signed!(i8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 58 | signed!(i16); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 59 | signed!(i32); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 60 | signed!(i64); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 61 | signed!(isize); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 72 | float!(f32); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 73 | float!(f64); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 76 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 88 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 97 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 103 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 131 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 137 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 152 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 163 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:169:46 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn stream_slice(slice: &[T]) -> Fragment { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn stream_slice(slice: &[T]) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:182:61 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn stream_btree_map(map: &BTreeMap) -> Fragment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn stream_btree_map(map: &BTreeMap) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 186 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.93s [INFO] running `Command { std: "docker" "inspect" "7ebf52f70383ed92bcf38ecbdd9b4153bfb660a69b42ed2f5aefefb26fb75b6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ebf52f70383ed92bcf38ecbdd9b4153bfb660a69b42ed2f5aefefb26fb75b6e", kill_on_drop: false }` [INFO] [stdout] 7ebf52f70383ed92bcf38ecbdd9b4153bfb660a69b42ed2f5aefefb26fb75b6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 59ee735a1cb8bad01a41571bdcee866718d74b8324cea53cd07b4932392b630a [INFO] running `Command { std: "docker" "start" "-a" "59ee735a1cb8bad01a41571bdcee866718d74b8324cea53cd07b4932392b630a", kill_on_drop: false }` [INFO] [stderr] Compiling automod v1.0.15 [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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 388 | fn parse_integer(&mut self, nonnegative: bool, first_digit: u8) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/json/de.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | fn parse_number(&mut self, nonnegative: bool, significand: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 458 | fn parse_number(&mut self, nonnegative: bool, significand: u64) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/json/de.rs:585:14 [INFO] [stdout] | [INFO] [stdout] 585 | fn event(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 585 | fn event(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/json/value.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/json/object.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn stream_object(object: &Object) -> Fragment { [INFO] [stdout] | ^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn stream_object(object: &Object) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 96 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/mod.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn begin(&self) -> Fragment; [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 111 | fn begin(&self) -> Fragment<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)>; [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 125 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 22 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 42 | unsigned!(u8); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 43 | unsigned!(u16); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 44 | unsigned!(u32); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 45 | unsigned!(u64); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 46 | unsigned!(usize); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 57 | signed!(i8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 58 | signed!(i16); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 59 | signed!(i32); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 60 | signed!(i64); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 61 | signed!(isize); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 72 | float!(f32); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 73 | float!(f64); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 76 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 88 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 97 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 103 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 131 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 137 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 152 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 163 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:169:46 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn stream_slice(slice: &[T]) -> Fragment { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn stream_slice(slice: &[T]) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:182:61 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn stream_btree_map(map: &BTreeMap) -> Fragment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn stream_btree_map(map: &BTreeMap) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 186 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling 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] --> 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] [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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 388 | fn parse_integer(&mut self, nonnegative: bool, first_digit: u8) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/json/de.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | fn parse_number(&mut self, nonnegative: bool, significand: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 458 | fn parse_number(&mut self, nonnegative: bool, significand: u64) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/json/de.rs:585:14 [INFO] [stdout] | [INFO] [stdout] 585 | fn event(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 585 | fn event(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/json/value.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/json/object.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn stream_object(object: &Object) -> Fragment { [INFO] [stdout] | ^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn stream_object(object: &Object) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 96 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/mod.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | fn begin(&self) -> Fragment; [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 111 | fn begin(&self) -> Fragment<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)>; [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 125 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 22 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 42 | unsigned!(u8); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 43 | unsigned!(u16); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 44 | unsigned!(u32); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 45 | unsigned!(u64); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 46 | unsigned!(usize); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 57 | signed!(i8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 58 | signed!(i16); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 59 | signed!(i32); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 60 | signed!(i64); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 61 | signed!(isize); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 72 | float!(f32); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 73 | float!(f64); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 66 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 76 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 88 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 97 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 103 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 131 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 137 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 152 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 163 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:169:46 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn stream_slice(slice: &[T]) -> Fragment { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn stream_slice(slice: &[T]) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:182:61 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn stream_btree_map(map: &BTreeMap) -> Fragment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn stream_btree_map(map: &BTreeMap) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ser/impls.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 186 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "59ee735a1cb8bad01a41571bdcee866718d74b8324cea53cd07b4932392b630a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59ee735a1cb8bad01a41571bdcee866718d74b8324cea53cd07b4932392b630a", kill_on_drop: false }` [INFO] [stdout] 59ee735a1cb8bad01a41571bdcee866718d74b8324cea53cd07b4932392b630a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a8c55e3dbc22143e9abed524ed5d328f552d02d2865ca05ea472c3fdbd49d8fe [INFO] running `Command { std: "docker" "start" "-a" "a8c55e3dbc22143e9abed524ed5d328f552d02d2865ca05ea472c3fdbd49d8fe", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ignore.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | Ok(Visitor::ignore()) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 | Ok(::ignore()) [INFO] [stderr] | ++++ + [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ignore.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 58 | Ok(Visitor::ignore()) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 58 | Ok(::ignore()) [INFO] [stderr] | ++++ + [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 11 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 12 | impl Visitor for Place<()> { [INFO] [stderr] | ^^^^^-------^^^^^-----^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 23 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 24 | impl Visitor for Place { [INFO] [stderr] | ^^^^^-------^^^^^-----^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 35 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 36 | impl Visitor for Place { [INFO] [stderr] | ^^^^^-------^^^^^-----^------^ [INFO] [stderr] | | | | [INFO] [stderr] | | | `String` is not local [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:50:17 [INFO] [stderr] | [INFO] [stderr] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 50 | impl Visitor for Place<$ty> { [INFO] [stderr] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] ... [INFO] [stderr] 74 | signed!(i8); [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:50:17 [INFO] [stderr] | [INFO] [stderr] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 50 | impl Visitor for Place<$ty> { [INFO] [stderr] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] ... [INFO] [stderr] 75 | signed!(i16); [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:50:17 [INFO] [stderr] | [INFO] [stderr] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 50 | impl Visitor for Place<$ty> { [INFO] [stderr] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] ... [INFO] [stderr] 76 | signed!(i32); [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:50:17 [INFO] [stderr] | [INFO] [stderr] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 50 | impl Visitor for Place<$ty> { [INFO] [stderr] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] ... [INFO] [stderr] 77 | signed!(i64); [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:50:17 [INFO] [stderr] | [INFO] [stderr] 49 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 50 | impl Visitor for Place<$ty> { [INFO] [stderr] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] ... [INFO] [stderr] 78 | signed!(isize); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `signed` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:84:17 [INFO] [stderr] | [INFO] [stderr] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 84 | impl Visitor for Place<$ty> { [INFO] [stderr] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] ... [INFO] [stderr] 99 | unsigned!(u8); [INFO] [stderr] | ------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:84:17 [INFO] [stderr] | [INFO] [stderr] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 84 | impl Visitor for Place<$ty> { [INFO] [stderr] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] ... [INFO] [stderr] 100 | unsigned!(u16); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:84:17 [INFO] [stderr] | [INFO] [stderr] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 84 | impl Visitor for Place<$ty> { [INFO] [stderr] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] ... [INFO] [stderr] 101 | unsigned!(u32); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:84:17 [INFO] [stderr] | [INFO] [stderr] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 84 | impl Visitor for Place<$ty> { [INFO] [stderr] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] ... [INFO] [stderr] 102 | unsigned!(u64); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:84:17 [INFO] [stderr] | [INFO] [stderr] 83 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 84 | impl Visitor for Place<$ty> { [INFO] [stderr] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] ... [INFO] [stderr] 103 | unsigned!(usize); [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `unsigned` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:109:17 [INFO] [stderr] | [INFO] [stderr] 108 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 109 | impl Visitor for Place<$ty> { [INFO] [stderr] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] ... [INFO] [stderr] 130 | float!(f32); [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `float` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:109:17 [INFO] [stderr] | [INFO] [stderr] 108 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 109 | impl Visitor for Place<$ty> { [INFO] [stderr] | ^^^^^-------^^^^^-----^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] ... [INFO] [stderr] 131 | float!(f64); [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `float` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 134 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 135 | impl Visitor for Place> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^---^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | `Box` is not local [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:245:9 [INFO] [stderr] | [INFO] [stderr] 244 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 245 | impl Visitor for Place> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^------^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | `Option` is not local [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:293:9 [INFO] [stderr] | [INFO] [stderr] 292 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 293 | impl Visitor for Place<(A, B)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:334:9 [INFO] [stderr] | [INFO] [stderr] 333 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 334 | impl Visitor for Place> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^---^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | `Vec` is not local [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:382:9 [INFO] [stderr] | [INFO] [stderr] 381 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 382 | impl Visitor for Place> [INFO] [stderr] | ^^^^^^^^^^^^^^-------^^^^^-----^-------^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | `HashMap` is not local [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/de/impls.rs:442:9 [INFO] [stderr] | [INFO] [stderr] 441 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 442 | impl Visitor for Place> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^--------^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | `BTreeMap` is not local [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/json/de.rs:388:22 [INFO] [stderr] | [INFO] [stderr] 388 | fn parse_integer(&mut self, nonnegative: bool, first_digit: u8) -> Result { [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 388 | fn parse_integer(&mut self, nonnegative: bool, first_digit: u8) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/json/de.rs:458:21 [INFO] [stderr] | [INFO] [stderr] 458 | fn parse_number(&mut self, nonnegative: bool, significand: u64) -> Result { [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 458 | fn parse_number(&mut self, nonnegative: bool, significand: u64) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/json/de.rs:585:14 [INFO] [stderr] | [INFO] [stderr] 585 | fn event(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 585 | fn event(&mut self) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/json/value.rs:45:14 [INFO] [stderr] | [INFO] [stderr] 45 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 45 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/json/value.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 60 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stderr] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stderr] 61 | impl Visitor for Place { [INFO] [stderr] | ^^^^^-------^^^^^-----^-----^ [INFO] [stderr] | | | | [INFO] [stderr] | | | `Value` is not local [INFO] [stderr] | | `Place` is not local [INFO] [stderr] | `Visitor` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/json/object.rs:92:34 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn stream_object(object: &Object) -> Fragment { [INFO] [stderr] | ^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 92 | pub fn stream_object(object: &Object) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/json/object.rs:96:21 [INFO] [stderr] | [INFO] [stderr] 96 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stderr] | ^^^^^^^^^ -------- -------------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 96 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/mod.rs:111:14 [INFO] [stderr] | [INFO] [stderr] 111 | fn begin(&self) -> Fragment; [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 111 | fn begin(&self) -> Fragment<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/mod.rs:125:13 [INFO] [stderr] | [INFO] [stderr] 125 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)>; [INFO] [stderr] | ^^^^^^^^^ -------- -------------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 125 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 10 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 16 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:22:14 [INFO] [stderr] | [INFO] [stderr] 22 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 22 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:28:14 [INFO] [stderr] | [INFO] [stderr] 28 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 28 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:36:22 [INFO] [stderr] | [INFO] [stderr] 36 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 42 | unsigned!(u8); [INFO] [stderr] | ------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:36:22 [INFO] [stderr] | [INFO] [stderr] 36 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 43 | unsigned!(u16); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:36:22 [INFO] [stderr] | [INFO] [stderr] 36 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 44 | unsigned!(u32); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:36:22 [INFO] [stderr] | [INFO] [stderr] 36 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 45 | unsigned!(u64); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:36:22 [INFO] [stderr] | [INFO] [stderr] 36 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 46 | unsigned!(usize); [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 36 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:51:22 [INFO] [stderr] | [INFO] [stderr] 51 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 57 | signed!(i8); [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:51:22 [INFO] [stderr] | [INFO] [stderr] 51 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 58 | signed!(i16); [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:51:22 [INFO] [stderr] | [INFO] [stderr] 51 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 59 | signed!(i32); [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:51:22 [INFO] [stderr] | [INFO] [stderr] 51 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 60 | signed!(i64); [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:51:22 [INFO] [stderr] | [INFO] [stderr] 51 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 61 | signed!(isize); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 51 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:66:22 [INFO] [stderr] | [INFO] [stderr] 66 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 72 | float!(f32); [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 66 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:66:22 [INFO] [stderr] | [INFO] [stderr] 66 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 73 | float!(f64); [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 66 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:76:14 [INFO] [stderr] | [INFO] [stderr] 76 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 76 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:82:14 [INFO] [stderr] | [INFO] [stderr] 82 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 82 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:88:14 [INFO] [stderr] | [INFO] [stderr] 88 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 88 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:97:14 [INFO] [stderr] | [INFO] [stderr] 97 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 97 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:103:14 [INFO] [stderr] | [INFO] [stderr] 103 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 103 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:131:14 [INFO] [stderr] | [INFO] [stderr] 131 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 131 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:137:14 [INFO] [stderr] | [INFO] [stderr] 137 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 137 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:148:14 [INFO] [stderr] | [INFO] [stderr] 148 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 148 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:152:21 [INFO] [stderr] | [INFO] [stderr] 152 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stderr] | ^^^^^^^^^ -------- -------------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 152 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:163:14 [INFO] [stderr] | [INFO] [stderr] 163 | fn begin(&self) -> Fragment { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 163 | fn begin(&self) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:169:46 [INFO] [stderr] | [INFO] [stderr] 169 | pub fn stream_slice(slice: &[T]) -> Fragment { [INFO] [stderr] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 169 | pub fn stream_slice(slice: &[T]) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:182:61 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn stream_btree_map(map: &BTreeMap) -> Fragment { [INFO] [stderr] | ^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 182 | pub fn stream_btree_map(map: &BTreeMap) -> Fragment<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ser/impls.rs:186:21 [INFO] [stderr] | [INFO] [stderr] 186 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stderr] | ^^^^^^^^^ -------- -------------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 186 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `microserde` (lib) generated 61 warnings (run `cargo fix --lib -p microserde` to apply 39 suggestions) [INFO] [stderr] warning: `microserde` (lib test) generated 61 warnings (61 duplicates) [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/test_derive.rs:3:28 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_MINISERIALIZE_FOR_Tag` [INFO] [stderr] 4 | enum Tag { [INFO] [stderr] | --- `Tag` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/test_derive.rs:3:39 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_MINIDESERIALIZE_FOR_Tag` [INFO] [stderr] 4 | enum Tag { [INFO] [stderr] | --- `Tag` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/test_derive.rs:10:28 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_MINISERIALIZE_FOR_Example` [INFO] [stderr] 11 | struct Example { [INFO] [stderr] | ------- `Example` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/test_derive.rs:10:39 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_MINIDESERIALIZE_FOR_Example` [INFO] [stderr] 11 | struct Example { [INFO] [stderr] | ------- `Example` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/test_derive.rs:18:28 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_MINISERIALIZE_FOR_Nested` [INFO] [stderr] 19 | struct Nested { [INFO] [stderr] | ------ `Nested` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/test_derive.rs:18:39 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_MINIDESERIALIZE_FOR_Nested` [INFO] [stderr] 19 | struct Nested { [INFO] [stderr] | ------ `Nested` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `microserde` (test "test_derive") generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/microserde-0afc1c93e67bf1bb) [INFO] [stdout] [INFO] [stderr] Running tests/regression.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/regression-d21c02aa77d58fb0) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test regression::issue9::main ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_derive.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/test_derive-91da1718d475793f) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_de ... ok [INFO] [stdout] test test_ser ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_nested.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/test_nested-f34ae49573e4214c) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_round_trip_deeply_nested ... ok [INFO] [stderr] Running tests/test_number.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/test_number-9cad3520738fe7f9) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_ser ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a8c55e3dbc22143e9abed524ed5d328f552d02d2865ca05ea472c3fdbd49d8fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8c55e3dbc22143e9abed524ed5d328f552d02d2865ca05ea472c3fdbd49d8fe", kill_on_drop: false }` [INFO] [stdout] a8c55e3dbc22143e9abed524ed5d328f552d02d2865ca05ea472c3fdbd49d8fe