[INFO] fetching crate miniserde-miku 0.1.23... [INFO] checking miniserde-miku-0.1.23 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate miniserde-miku 0.1.23 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate miniserde-miku 0.1.23 [INFO] finished tweaking crates.io crate miniserde-miku 0.1.23 [INFO] tweaked toml for crates.io crate miniserde-miku 0.1.23 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate miniserde-miku 0.1.23 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mini-internal-miku v0.1.23 [INFO] [stderr] Downloaded automod v1.0.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e74935fc621e192d9faf8d97403055a2b6cd6fcdceab2da992a1148cf4528a0 [INFO] running `Command { std: "docker" "start" "-a" "1e74935fc621e192d9faf8d97403055a2b6cd6fcdceab2da992a1148cf4528a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e74935fc621e192d9faf8d97403055a2b6cd6fcdceab2da992a1148cf4528a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e74935fc621e192d9faf8d97403055a2b6cd6fcdceab2da992a1148cf4528a0", kill_on_drop: false }` [INFO] [stdout] 1e74935fc621e192d9faf8d97403055a2b6cd6fcdceab2da992a1148cf4528a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 488fdde618945217652fb8f0ff5618e8c6db8f070cf673753d0bdddc44e47a18 [INFO] running `Command { std: "docker" "start" "-a" "488fdde618945217652fb8f0ff5618e8c6db8f070cf673753d0bdddc44e47a18", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking dissimilar v1.0.10 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Compiling mini-internal-miku v0.1.23 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling automod v1.0.15 [INFO] [stderr] Checking miniserde-miku v0.1.23 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml v0.9.5 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/ignore.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe { &mut IGNORE } [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 8 | unsafe { &raw mut 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:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 20 | 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:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 32 | 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:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 44 | 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:58:17 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 58 | 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] 82 | 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:58:17 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 58 | 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] 83 | 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:58:17 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 58 | 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] 84 | 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:58:17 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 58 | 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] 85 | 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:58:17 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 58 | 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] 86 | 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:92:17 [INFO] [stdout] | [INFO] [stdout] 91 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 92 | 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] 107 | 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:92:17 [INFO] [stdout] | [INFO] [stdout] 91 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 92 | 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] 108 | 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:92:17 [INFO] [stdout] | [INFO] [stdout] 91 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 92 | 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] 109 | 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:92:17 [INFO] [stdout] | [INFO] [stdout] 91 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 92 | 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] 110 | 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:92:17 [INFO] [stdout] | [INFO] [stdout] 91 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 92 | 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] 111 | 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:117:17 [INFO] [stdout] | [INFO] [stdout] 116 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 117 | 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] 138 | 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:117:17 [INFO] [stdout] | [INFO] [stdout] 116 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 117 | 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] 139 | 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:143:9 [INFO] [stdout] | [INFO] [stdout] 142 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 143 | 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:269:9 [INFO] [stdout] | [INFO] [stdout] 268 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 269 | 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:317:9 [INFO] [stdout] | [INFO] [stdout] 316 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 317 | 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:358:9 [INFO] [stdout] | [INFO] [stdout] 357 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 358 | 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:407:9 [INFO] [stdout] | [INFO] [stdout] 406 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 407 | 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:467:9 [INFO] [stdout] | [INFO] [stdout] 466 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 467 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^--------^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `BTreeMap` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/de.rs:396:22 [INFO] [stdout] | [INFO] [stdout] 396 | fn parse_integer(&mut self, nonnegative: bool, first_digit: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 396 | fn parse_integer(&mut self, nonnegative: bool, first_digit: u8) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/de.rs:466:21 [INFO] [stdout] | [INFO] [stdout] 466 | fn parse_number(&mut self, nonnegative: bool, significand: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 466 | fn parse_number(&mut self, nonnegative: bool, significand: u64) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/de.rs:593:14 [INFO] [stdout] | [INFO] [stdout] 593 | fn event(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 593 | fn event(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/value.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | 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:64:9 [INFO] [stdout] | [INFO] [stdout] 63 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 64 | impl Visitor for Place { [INFO] [stdout] | ^^^^^-------^^^^^-----^-----^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Value` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/object.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn stream_object(object: &Object) -> Fragment { [INFO] [stdout] | ^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn stream_object(object: &Object) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/object.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 98 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/mod.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | fn begin(&self) -> Fragment; [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | fn begin(&self) -> Fragment<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)>; [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 48 | unsigned!(u8); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 49 | unsigned!(u16); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 50 | unsigned!(u32); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 51 | unsigned!(u64); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 52 | unsigned!(usize); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 63 | signed!(i8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 64 | signed!(i16); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 65 | signed!(i32); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 66 | signed!(i64); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 67 | signed!(isize); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 78 | float!(f32); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 79 | float!(f64); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 82 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 103 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 155 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:176:46 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn stream_slice(slice: &[T]) -> Fragment { [INFO] [stdout] | ^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | pub fn stream_slice(slice: &[T]) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:189:61 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn stream_btree_map(map: &BTreeMap) -> Fragment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 189 | pub fn stream_btree_map(map: &BTreeMap) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 193 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking trybuild v1.0.110 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `miniserde` [INFO] [stdout] --> tests/test_nested.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use miniserde::json::{self, Value}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `miniserde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `miniserde`, use `cargo add miniserde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `miniserde` [INFO] [stdout] --> tests/test_nested.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use miniserde::json::{self, Value}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `miniserde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `miniserde`, use `cargo add miniserde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `miniserde` [INFO] [stdout] --> tests/test_number.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use miniserde::json; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `miniserde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `miniserde`, use `cargo add miniserde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `miniserde` [INFO] [stdout] --> tests/test_derive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use miniserde::{json, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `miniserde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `miniserde`, use `cargo add miniserde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `miniserde-miku` (test "test_nested") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/test_derive.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[serde(rename = "renamedB")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `miniserde` [INFO] [stdout] --> tests/regression/issue9.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use miniserde::json; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `miniserde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `miniserde`, use `cargo add miniserde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `miniserde-miku` (test "test_number") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `miniserde` [INFO] [stdout] --> tests/regression/issue24.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use miniserde::{json, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `miniserde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `miniserde`, use `cargo add miniserde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `miniserde-miku` (test "test_derive") due to 2 previous errors [INFO] [stderr] error: could not compile `miniserde-miku` (test "regression") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved import `miniserde` [INFO] [stdout] --> benches/bench.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use miniserde::{Deserialize as MiniDeserialize, Serialize as MiniSerialize}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `miniserde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `miniserde`, use `cargo add miniserde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `miniserde` [INFO] [stdout] --> benches/bench.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | miniserde::json::from_str::(&j).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `miniserde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `miniserde`, use `cargo add miniserde` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 6 + use miniserde_miku::json; [INFO] [stdout] | [INFO] [stdout] help: if you import `json`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 23 - miniserde::json::from_str::(&j).unwrap(); [INFO] [stdout] 23 + json::from_str::(&j).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `miniserde` [INFO] [stdout] --> benches/bench.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | miniserde::json::to_string(&s); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `miniserde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `miniserde`, use `cargo add miniserde` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 6 + use miniserde_miku::json; [INFO] [stdout] | [INFO] [stdout] help: if you import `json`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - miniserde::json::to_string(&s); [INFO] [stdout] 39 + json::to_string(&s); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/ignore.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | unsafe { &mut IGNORE } [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 8 | unsafe { &raw mut 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:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 20 | 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:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 32 | 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:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 44 | 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:58:17 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 58 | 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] 82 | 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:58:17 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 58 | 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] 83 | 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:58:17 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 58 | 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] 84 | 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:58:17 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 58 | 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] 85 | 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:58:17 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 58 | 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] 86 | 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:92:17 [INFO] [stdout] | [INFO] [stdout] 91 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 92 | 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] 107 | 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:92:17 [INFO] [stdout] | [INFO] [stdout] 91 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 92 | 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] 108 | 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:92:17 [INFO] [stdout] | [INFO] [stdout] 91 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 92 | 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] 109 | 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:92:17 [INFO] [stdout] | [INFO] [stdout] 91 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 92 | 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] 110 | 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:92:17 [INFO] [stdout] | [INFO] [stdout] 91 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 92 | 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] 111 | 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:117:17 [INFO] [stdout] | [INFO] [stdout] 116 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 117 | 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] 138 | 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:117:17 [INFO] [stdout] | [INFO] [stdout] 116 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 117 | 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] 139 | 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:143:9 [INFO] [stdout] | [INFO] [stdout] 142 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 143 | 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:269:9 [INFO] [stdout] | [INFO] [stdout] 268 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 269 | 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:317:9 [INFO] [stdout] | [INFO] [stdout] 316 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 317 | 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:358:9 [INFO] [stdout] | [INFO] [stdout] 357 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 358 | 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:407:9 [INFO] [stdout] | [INFO] [stdout] 406 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 407 | 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:467:9 [INFO] [stdout] | [INFO] [stdout] 466 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 467 | impl Visitor for Place> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^-----^--------^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `BTreeMap` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/de.rs:396:22 [INFO] [stdout] | [INFO] [stdout] 396 | fn parse_integer(&mut self, nonnegative: bool, first_digit: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 396 | fn parse_integer(&mut self, nonnegative: bool, first_digit: u8) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/de.rs:466:21 [INFO] [stdout] | [INFO] [stdout] 466 | fn parse_number(&mut self, nonnegative: bool, significand: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 466 | fn parse_number(&mut self, nonnegative: bool, significand: u64) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/de.rs:593:14 [INFO] [stdout] | [INFO] [stdout] 593 | fn event(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 593 | fn event(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/value.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | 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:64:9 [INFO] [stdout] | [INFO] [stdout] 63 | fn begin(out: &mut Option) -> &mut dyn Visitor { [INFO] [stdout] | ---------------------------------------------------- move the `impl` block outside of this associated function `begin` [INFO] [stdout] 64 | impl Visitor for Place { [INFO] [stdout] | ^^^^^-------^^^^^-----^-----^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Value` is not local [INFO] [stdout] | | `Place` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/object.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn stream_object(object: &Object) -> Fragment { [INFO] [stdout] | ^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn stream_object(object: &Object) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json/object.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 98 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/mod.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | fn begin(&self) -> Fragment; [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | fn begin(&self) -> Fragment<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)>; [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 48 | unsigned!(u8); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 49 | unsigned!(u16); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 50 | unsigned!(u32); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 51 | unsigned!(u64); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 52 | unsigned!(usize); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 63 | signed!(i8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 64 | signed!(i16); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 65 | signed!(i32); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 66 | signed!(i64); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 67 | signed!(isize); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 78 | float!(f32); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 79 | float!(f64); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 82 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 103 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 155 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | fn begin(&self) -> Fragment { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | fn begin(&self) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:176:46 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn stream_slice(slice: &[T]) -> Fragment { [INFO] [stdout] | ^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | pub fn stream_slice(slice: &[T]) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:189:61 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn stream_btree_map(map: &BTreeMap) -> Fragment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 189 | pub fn stream_btree_map(map: &BTreeMap) -> Fragment<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ser/impls.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | fn next(&mut self) -> Option<(Cow, &dyn Serialize)> { [INFO] [stdout] | ^^^^^^^^^ -------- -------------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 193 | fn next(&mut self) -> Option<(Cow<'_, str>, &dyn Serialize)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `miniserde-miku` (bench "bench") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "488fdde618945217652fb8f0ff5618e8c6db8f070cf673753d0bdddc44e47a18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "488fdde618945217652fb8f0ff5618e8c6db8f070cf673753d0bdddc44e47a18", kill_on_drop: false }` [INFO] [stdout] 488fdde618945217652fb8f0ff5618e8c6db8f070cf673753d0bdddc44e47a18