[INFO] fetching crate miniserde-miku 0.1.23... [INFO] checking miniserde-miku-0.1.23 against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] extracting crate miniserde-miku 0.1.23 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate miniserde-miku 0.1.23 on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded automod v1.0.14 [INFO] [stderr] Downloaded mini-internal-miku v0.1.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6218986ef30eceed00bec3ac68c33e2b193b9e92c3a7717d414a4c713471443d [INFO] running `Command { std: "docker" "start" "-a" "6218986ef30eceed00bec3ac68c33e2b193b9e92c3a7717d414a4c713471443d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6218986ef30eceed00bec3ac68c33e2b193b9e92c3a7717d414a4c713471443d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6218986ef30eceed00bec3ac68c33e2b193b9e92c3a7717d414a4c713471443d", kill_on_drop: false }` [INFO] [stdout] 6218986ef30eceed00bec3ac68c33e2b193b9e92c3a7717d414a4c713471443d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e695d255cc1d4ed1cbd103d6291f328d581f0ad2b50f87fe6683be1dce7dfe86 [INFO] running `Command { std: "docker" "start" "-a" "e695d255cc1d4ed1cbd103d6291f328d581f0ad2b50f87fe6683be1dce7dfe86", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling target-triple v0.1.3 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking dissimilar v1.0.9 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Compiling mini-internal-miku v0.1.23 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling automod v1.0.14 [INFO] [stderr] Checking miniserde-miku v0.1.23 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: 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] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking trybuild v1.0.101 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `miniserde` [INFO] [stdout] --> tests/test_nested.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use miniserde::json::{self, Value}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `miniserde` [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 undeclared crate or module `miniserde` [INFO] [stdout] [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 undeclared crate or module `miniserde` [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_number.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use miniserde::json; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `miniserde` [INFO] [stdout] [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 undeclared crate or module `miniserde` [INFO] [stdout] [INFO] [stdout] [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 undeclared crate or module `miniserde` [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] 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_number") due to 1 previous error [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] [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 undeclared crate or module `miniserde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `miniserde` [INFO] [stdout] --> benches/bench.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | miniserde::json::from_str::(&j).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `miniserde` [INFO] [stdout] | [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 undeclared crate or module `miniserde` [INFO] [stdout] --> benches/bench.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | miniserde::json::to_string(&s); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `miniserde` [INFO] [stdout] | [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] 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] [stdout] warning: creating a mutable reference to mutable static is discouraged [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: 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] 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" "e695d255cc1d4ed1cbd103d6291f328d581f0ad2b50f87fe6683be1dce7dfe86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e695d255cc1d4ed1cbd103d6291f328d581f0ad2b50f87fe6683be1dce7dfe86", kill_on_drop: false }` [INFO] [stdout] e695d255cc1d4ed1cbd103d6291f328d581f0ad2b50f87fe6683be1dce7dfe86