[INFO] cloning repository https://github.com/shtanton/angrit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shtanton/angrit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshtanton%2Fangrit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshtanton%2Fangrit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3ae0a6b9ee2faa21eed287e8e7fe0f6bff495e0 [INFO] checking shtanton/angrit against try#44e31dee3cf6f37b4f652572897bb0eb25c477ee for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshtanton%2Fangrit" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shtanton/angrit on toolchain 44e31dee3cf6f37b4f652572897bb0eb25c477ee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shtanton/angrit [INFO] finished tweaking git repo https://github.com/shtanton/angrit [INFO] tweaked toml for git repo https://github.com/shtanton/angrit written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/shtanton/angrit already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 252fd262e1b8c759ed3faa6d6215b72f125a4266d20f6a804d0754db07875c75 [INFO] running `Command { std: "docker" "start" "-a" "252fd262e1b8c759ed3faa6d6215b72f125a4266d20f6a804d0754db07875c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "252fd262e1b8c759ed3faa6d6215b72f125a4266d20f6a804d0754db07875c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "252fd262e1b8c759ed3faa6d6215b72f125a4266d20f6a804d0754db07875c75", kill_on_drop: false }` [INFO] [stdout] 252fd262e1b8c759ed3faa6d6215b72f125a4266d20f6a804d0754db07875c75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fec7207c3e25c439907f16f29afdb52313bc594abb4ded98a66d9812aa3837d [INFO] running `Command { std: "docker" "start" "-a" "3fec7207c3e25c439907f16f29afdb52313bc594abb4ded98a66d9812aa3837d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Checking gfx-hal v0.4.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking relevant v0.4.2 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Checking ash v0.29.0 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Checking colorful v0.2.1 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking rendy-memory v0.5.2 [INFO] [stderr] Compiling zerocopy-derive v0.1.4 [INFO] [stderr] Checking rendy-descriptor v0.5.1 [INFO] [stderr] Checking gfx-backend-empty v0.4.0 [INFO] [stderr] Checking euclid v0.20.13 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking iced_core v0.2.1 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking lyon_geom v0.14.1 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking zerocopy v0.2.8 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Compiling glam v0.8.7 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Checking glyph_brush v0.6.3 [INFO] [stderr] Checking lyon_path v0.14.0 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking svg_fmt v0.2.1 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking instant v0.1.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking font-kit v0.4.0 [INFO] [stderr] Checking gfx-backend-vulkan v0.4.3 [INFO] [stderr] Checking guillotiere v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Checking iced_style v0.1.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking wgpu-native v0.4.3 [INFO] [stderr] Checking pin-project v0.4.17 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking wgpu v0.4.0 [INFO] [stderr] Checking wgpu_glyph v0.7.0 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking iced_futures v0.1.2 [INFO] [stderr] Checking iced_native v0.2.2 [INFO] [stderr] Checking iced_wgpu v0.2.3 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking smithay-clipboard v0.3.7 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking clipboard_wayland v0.1.0 [INFO] [stderr] Checking clipboard_x11 v0.1.0 [INFO] [stderr] Checking window_clipboard v0.1.1 [INFO] [stderr] Checking iced_winit v0.1.0 [INFO] [stderr] Checking iced v0.1.1 [INFO] [stderr] Checking angrit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 9 | struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jsonrpc.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Send` [INFO] [stdout] 12 | struct Send { [INFO] [stdout] | ---- `Send` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jsonrpc.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Method` [INFO] [stdout] 19 | #[serde(tag = "method", content = "params", rename_all = "snake_case")] [INFO] [stdout] 20 | pub enum Method { [INFO] [stdout] | ------ `Method` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jsonrpc.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ExportStatus` [INFO] [stdout] 26 | pub struct ExportStatus { [INFO] [stdout] | ------------ `ExportStatus` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jsonrpc.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Receive` [INFO] [stdout] 32 | pub struct Receive { [INFO] [stdout] | ------- `Receive` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jsonrpc.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ResponseResult` [INFO] [stdout] 39 | #[serde(rename_all = "snake_case")] [INFO] [stdout] 40 | pub enum ResponseResult { [INFO] [stdout] | -------------- `ResponseResult` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jsonrpc.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Response` [INFO] [stdout] 46 | #[serde(untagged)] [INFO] [stdout] 47 | pub enum Response { [INFO] [stdout] | -------- `Response` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jsonrpc.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ImportStatus` [INFO] [stdout] 52 | pub struct ImportStatus { [INFO] [stdout] | ------------ `ImportStatus` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 9 | struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jsonrpc.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Send` [INFO] [stdout] 12 | struct Send { [INFO] [stdout] | ---- `Send` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jsonrpc.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Method` [INFO] [stdout] 19 | #[serde(tag = "method", content = "params", rename_all = "snake_case")] [INFO] [stdout] 20 | pub enum Method { [INFO] [stdout] | ------ `Method` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jsonrpc.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ExportStatus` [INFO] [stdout] 26 | pub struct ExportStatus { [INFO] [stdout] | ------------ `ExportStatus` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jsonrpc.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Receive` [INFO] [stdout] 32 | pub struct Receive { [INFO] [stdout] | ------- `Receive` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jsonrpc.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ResponseResult` [INFO] [stdout] 39 | #[serde(rename_all = "snake_case")] [INFO] [stdout] 40 | pub enum ResponseResult { [INFO] [stdout] | -------------- `ResponseResult` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jsonrpc.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Response` [INFO] [stdout] 46 | #[serde(untagged)] [INFO] [stdout] 47 | pub enum Response { [INFO] [stdout] | -------- `Response` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/jsonrpc.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ImportStatus` [INFO] [stdout] 52 | pub struct ImportStatus { [INFO] [stdout] | ------------ `ImportStatus` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.15s [INFO] running `Command { std: "docker" "inspect" "3fec7207c3e25c439907f16f29afdb52313bc594abb4ded98a66d9812aa3837d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fec7207c3e25c439907f16f29afdb52313bc594abb4ded98a66d9812aa3837d", kill_on_drop: false }` [INFO] [stdout] 3fec7207c3e25c439907f16f29afdb52313bc594abb4ded98a66d9812aa3837d