[INFO] cloning repository https://github.com/tangmi/iced-hotswap-prototype [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tangmi/iced-hotswap-prototype" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftangmi%2Ficed-hotswap-prototype", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftangmi%2Ficed-hotswap-prototype'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36f353be919a85fd397b4d781cbda32ae7fd0c59 [INFO] checking tangmi/iced-hotswap-prototype against master#568b11762723b001bfa693d0f21c5dad01d4e813 for pr-149518 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftangmi%2Ficed-hotswap-prototype" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tangmi/iced-hotswap-prototype [INFO] finished tweaking git repo https://github.com/tangmi/iced-hotswap-prototype [INFO] tweaked toml for git repo https://github.com/tangmi/iced-hotswap-prototype written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tangmi/iced-hotswap-prototype on toolchain 568b11762723b001bfa693d0f21c5dad01d4e813 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tangmi/iced-hotswap-prototype 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" "+568b11762723b001bfa693d0f21c5dad01d4e813" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.6 [INFO] [stderr] Downloaded instant v0.1.4 [INFO] [stderr] Downloaded ndk-glue v0.1.0 [INFO] [stderr] Downloaded proc-macro-crate v0.1.4 [INFO] [stderr] Downloaded iced_winit v0.1.0 [INFO] [stderr] Downloaded ndk v0.1.0 [INFO] [stderr] Downloaded core-text v13.3.2 [INFO] [stderr] Downloaded d3d12 v0.3.0 [INFO] [stderr] Downloaded svg_fmt v0.2.1 [INFO] [stderr] Downloaded gfx-backend-empty v0.4.0 [INFO] [stderr] Downloaded gfx-auxil v0.1.0 [INFO] [stderr] Downloaded rendy-descriptor v0.5.1 [INFO] [stderr] Downloaded smithay-clipboard v0.3.7 [INFO] [stderr] Downloaded iced_core v0.2.1 [INFO] [stderr] Downloaded storage-map v0.2.0 [INFO] [stderr] Downloaded guillotiere v0.4.4 [INFO] [stderr] Downloaded kv-log-macro v1.0.5 [INFO] [stderr] Downloaded gfx-backend-vulkan v0.4.3 [INFO] [stderr] Downloaded dodrio v0.1.0 [INFO] [stderr] Downloaded gfx-backend-dx11 v0.4.6 [INFO] [stderr] Downloaded handlebars v3.0.1 [INFO] [stderr] Downloaded gfx-backend-metal v0.4.5 [INFO] [stderr] Downloaded wgpu_glyph v0.7.0 [INFO] [stderr] Downloaded iced_wgpu v0.2.2 [INFO] [stderr] Downloaded xcb v0.9.0 [INFO] [stderr] Downloaded euclid v0.20.11 [INFO] [stderr] Downloaded gfx-backend-dx12 v0.4.3 [INFO] [stderr] Downloaded wgpu-native v0.4.3 [INFO] [stderr] Downloaded gfx-hal v0.4.1 [INFO] [stderr] Downloaded iced v0.1.1 [INFO] [stderr] Downloaded winit v0.22.2 [INFO] [stderr] Downloaded font-kit v0.4.0 [INFO] [stderr] Downloaded glam v0.8.7 [INFO] [stderr] Downloaded iced_native v0.2.2 [INFO] [stderr] Downloaded cocoa v0.20.1 [INFO] [stderr] Downloaded ndk-sys v0.1.0 [INFO] [stderr] Downloaded rendy-memory v0.5.2 [INFO] [stderr] Downloaded iced_web v0.2.1 [INFO] [stderr] Downloaded zerocopy v0.2.8 [INFO] [stderr] Downloaded range-alloc v0.1.0 [INFO] [stderr] Downloaded clipboard_wayland v0.1.0 [INFO] [stderr] Downloaded core-graphics v0.19.0 [INFO] [stderr] Downloaded clipboard_x11 v0.1.0 [INFO] [stderr] Downloaded zerocopy-derive v0.1.4 [INFO] [stderr] Downloaded window_clipboard v0.1.1 [INFO] [stderr] Downloaded iced_style v0.1.0 [INFO] [stderr] Downloaded iced_futures v0.1.2 [INFO] [stderr] Downloaded spirv_cross v0.16.0 [INFO] [stderr] Downloaded wgpu v0.4.0 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8363bee062a10113859cb77fdfa8a7f5068b8f6ef316cc8471270a05d8c77906 [INFO] running `Command { std: "docker" "start" "-a" "8363bee062a10113859cb77fdfa8a7f5068b8f6ef316cc8471270a05d8c77906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8363bee062a10113859cb77fdfa8a7f5068b8f6ef316cc8471270a05d8c77906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8363bee062a10113859cb77fdfa8a7f5068b8f6ef316cc8471270a05d8c77906", kill_on_drop: false }` [INFO] [stdout] 8363bee062a10113859cb77fdfa8a7f5068b8f6ef316cc8471270a05d8c77906 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3537e9149cf7bdb862913e37721ec91cef0686d8aa7363b22b26a0a259284643 [INFO] running `Command { std: "docker" "start" "-a" "3537e9149cf7bdb862913e37721ec91cef0686d8aa7363b22b26a0a259284643", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Checking relevant v0.4.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking colorful v0.2.1 [INFO] [stderr] Compiling zerocopy-derive v0.1.4 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking gfx-hal v0.4.1 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking euclid v0.20.11 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ash v0.29.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking iced_core v0.2.1 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking copyless v0.1.4 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking zerocopy v0.2.8 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling glam v0.8.7 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking lyon_geom v0.14.1 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Checking instant v0.1.4 [INFO] [stderr] Checking svg_fmt v0.2.1 [INFO] [stderr] Checking lyon_path v0.14.0 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking iced_style v0.1.0 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Checking font-kit v0.4.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking glyph_brush v0.6.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking kv-log-macro v1.0.5 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Checking pin-project-lite v0.1.5 [INFO] [stderr] Checking gfx-backend-empty v0.4.0 [INFO] [stderr] Checking rendy-descriptor v0.5.1 [INFO] [stderr] Checking rendy-memory v0.5.2 [INFO] [stderr] Checking guillotiere v0.4.4 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking gfx-backend-vulkan v0.4.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking pin-project v0.4.17 [INFO] [stderr] Checking wgpu-native v0.4.3 [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 broadcaster v1.0.0 [INFO] [stderr] Checking async-std v1.5.0 [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 clipboard_x11 v0.1.0 [INFO] [stderr] Checking iced_wgpu v0.2.2 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking ron v0.5.1 [INFO] [stderr] Checking handlebars v3.0.1 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [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 window_clipboard v0.1.1 [INFO] [stderr] Checking iced_winit v0.1.0 [INFO] [stderr] Checking iced v0.1.1 [INFO] [stderr] Checking iml v0.1.0 (/opt/rustwide/workdir/iml) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> iml/src/lib.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Root` [INFO] [stdout] 37 | struct Root { [INFO] [stdout] | ---- `Root` 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> iml/src/lib.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Root` [INFO] [stdout] 37 | struct Root { [INFO] [stdout] | ---- `Root` 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] --> iml/src/lib.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Element` [INFO] [stdout] 42 | enum Element { [INFO] [stdout] | ------- `Element` 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] --> iml/src/lib.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Element` [INFO] [stdout] 42 | enum Element { [INFO] [stdout] | ------- `Element` 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] --> iml/src/lib.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Root` [INFO] [stdout] 37 | struct Root { [INFO] [stdout] | ---- `Root` 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> iml/src/lib.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Root` [INFO] [stdout] 37 | struct Root { [INFO] [stdout] | ---- `Root` 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] --> iml/src/lib.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Element` [INFO] [stdout] 42 | enum Element { [INFO] [stdout] | ------- `Element` 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] --> iml/src/lib.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Element` [INFO] [stdout] 42 | enum Element { [INFO] [stdout] | ------- `Element` 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] Checking iced-hot-reload v0.1.0 (/opt/rustwide/workdir/hot-reload) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hot-reload/src/main.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | PollFileChanges(std::time::Instant), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 - PollFileChanges(std::time::Instant), [INFO] [stdout] 27 + PollFileChanges(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hot-reload/src/main.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `HotswappoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 96 - Io(std::io::Error), [INFO] [stdout] 96 + Io(()), [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] --> hot-reload/src/main.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Default, Debug, Clone, serde::Serialize)] [INFO] [stdout] | ^--------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_State` [INFO] [stdout] 12 | struct State { [INFO] [stdout] | ----- `State` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde::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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `serde::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] --> hot-reload/src/main.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Copy, Clone, serde::Deserialize)] [INFO] [stdout] | ^----------------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Message` [INFO] [stdout] 19 | enum Message { [INFO] [stdout] | ------- `Message` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde::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 `serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> hot-reload/src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | fn view(&mut self) -> iced::Element { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | fn view(&mut self) -> iced::Element<'_, Self::Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hot-reload/src/main.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | PollFileChanges(std::time::Instant), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 - PollFileChanges(std::time::Instant), [INFO] [stdout] 27 + PollFileChanges(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hot-reload/src/main.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `HotswappoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 96 - Io(std::io::Error), [INFO] [stdout] 96 + Io(()), [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] --> hot-reload/src/main.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Default, Debug, Clone, serde::Serialize)] [INFO] [stdout] | ^--------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_State` [INFO] [stdout] 12 | struct State { [INFO] [stdout] | ----- `State` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde::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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `serde::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] --> hot-reload/src/main.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Copy, Clone, serde::Deserialize)] [INFO] [stdout] | ^----------------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Message` [INFO] [stdout] 19 | enum Message { [INFO] [stdout] | ------- `Message` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde::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 `serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> hot-reload/src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | fn view(&mut self) -> iced::Element { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | fn view(&mut self) -> iced::Element<'_, Self::Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "3537e9149cf7bdb862913e37721ec91cef0686d8aa7363b22b26a0a259284643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3537e9149cf7bdb862913e37721ec91cef0686d8aa7363b22b26a0a259284643", kill_on_drop: false }` [INFO] [stdout] 3537e9149cf7bdb862913e37721ec91cef0686d8aa7363b22b26a0a259284643