[INFO] cloning repository https://github.com/bvanrijn/image-to-mc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bvanrijn/image-to-mc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbvanrijn%2Fimage-to-mc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbvanrijn%2Fimage-to-mc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92f135a078a4ba84d2feeab336071f889d66d1a1 [INFO] checking bvanrijn/image-to-mc against master#2aabf3ce0569dd7c8c2d2a27944850056dcf2566 for pr-156508-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbvanrijn%2Fimage-to-mc" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bvanrijn/image-to-mc [INFO] finished tweaking git repo https://github.com/bvanrijn/image-to-mc [INFO] tweaked toml for git repo https://github.com/bvanrijn/image-to-mc written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bvanrijn/image-to-mc on toolchain 2aabf3ce0569dd7c8c2d2a27944850056dcf2566 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bvanrijn/image-to-mc 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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded remove_dir_all v0.5.1 [INFO] [stderr] Downloaded tempfile v3.0.4 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded itoa v0.4.3 [INFO] [stderr] Downloaded cfg-if v0.1.3 [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded num-iter v0.1.37 [INFO] [stderr] Downloaded rprompt v1.0.3 [INFO] [stderr] Downloaded rgb v0.8.11 [INFO] [stderr] Downloaded lzw v0.10.0 [INFO] [stderr] Downloaded nodrop v0.1.12 [INFO] [stderr] Downloaded num-integer v0.1.38 [INFO] [stderr] Downloaded crossbeam-utils v0.2.2 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded either v1.5.0 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded memoffset v0.2.1 [INFO] [stderr] Downloaded color_quant v1.0.1 [INFO] [stderr] Downloaded num_cpus v1.8.0 [INFO] [stderr] Downloaded inflate v0.1.1 [INFO] [stderr] Downloaded adler32 v1.0.2 [INFO] [stderr] Downloaded rgb v0.7.2 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.3.3 [INFO] [stderr] Downloaded crossbeam-deque v0.2.0 [INFO] [stderr] Downloaded enum_primitive v0.1.1 [INFO] [stderr] Downloaded gif-dispose v1.0.2 [INFO] [stderr] Downloaded rand_core v0.2.2 [INFO] [stderr] Downloaded quote v0.6.3 [INFO] [stderr] Downloaded num-traits v0.1.43 [INFO] [stderr] Downloaded core-foundation-sys v0.3.1 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.6 [INFO] [stderr] Downloaded png v0.6.2 [INFO] [stderr] Downloaded winapi-build v0.1.1 [INFO] [stderr] Downloaded num-traits v0.2.4 [INFO] [stderr] Downloaded num-derive v0.2.2 [INFO] [stderr] Downloaded user32-sys v0.2.0 [INFO] [stderr] Downloaded pkg-config v0.3.11 [INFO] [stderr] Downloaded core-graphics v0.8.2 [INFO] [stderr] Downloaded core-foundation v0.3.0 [INFO] [stderr] Downloaded byteorder v1.2.3 [INFO] [stderr] Downloaded jpeg-decoder v0.1.15 [INFO] [stderr] Downloaded gif v0.9.2 [INFO] [stderr] Downloaded bitflags v0.9.1 [INFO] [stderr] Downloaded rand_core v0.3.0 [INFO] [stderr] Downloaded lazy_static v1.0.1 [INFO] [stderr] Downloaded png v0.12.0 [INFO] [stderr] Downloaded rand v0.5.5 [INFO] [stderr] Downloaded num-rational v0.1.42 [INFO] [stderr] Downloaded inflate v0.4.2 [INFO] [stderr] Downloaded num-rational v0.2.1 [INFO] [stderr] Downloaded gif v0.10.0 [INFO] [stderr] Downloaded enigo v0.0.11 [INFO] [stderr] Downloaded fuchsia-zircon v0.3.3 [INFO] [stderr] Downloaded crossbeam-epoch v0.3.1 [INFO] [stderr] Downloaded arrayvec v0.4.7 [INFO] [stderr] Downloaded ryu v0.2.7 [INFO] [stderr] Downloaded serde_derive v1.0.80 [INFO] [stderr] Downloaded rayon-core v1.4.0 [INFO] [stderr] Downloaded serde v1.0.80 [INFO] [stderr] Downloaded rand v0.4.2 [INFO] [stderr] Downloaded serde_json v1.0.33 [INFO] [stderr] Downloaded image v0.12.4 [INFO] [stderr] Downloaded syn v0.15.21 [INFO] [stderr] Downloaded deflate v0.7.18 [INFO] [stderr] Downloaded rayon v1.0.1 [INFO] [stderr] Downloaded syn v0.14.2 [INFO] [stderr] Downloaded image v0.20.1 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded winapi v0.2.8 [INFO] [stderr] Downloaded tiff v0.2.1 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] [stderr] Downloaded image-utils v0.2.0 [INFO] [stderr] Downloaded color-thief v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a2979e45a097fe5f66c1bc6cd5fc54916bc59b17f5040afa679742067ca1ed8 [INFO] running `Command { std: "docker" "start" "-a" "9a2979e45a097fe5f66c1bc6cd5fc54916bc59b17f5040afa679742067ca1ed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a2979e45a097fe5f66c1bc6cd5fc54916bc59b17f5040afa679742067ca1ed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a2979e45a097fe5f66c1bc6cd5fc54916bc59b17f5040afa679742067ca1ed8", kill_on_drop: false }` [INFO] [stdout] 9a2979e45a097fe5f66c1bc6cd5fc54916bc59b17f5040afa679742067ca1ed8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d1846c6018ddca7aae037c1db16a4e3ad355d453ee91ca69ea288a83b85799c [INFO] running `Command { std: "docker" "start" "-a" "7d1846c6018ddca7aae037c1db16a4e3ad355d453ee91ca69ea288a83b85799c", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking rgb v0.7.2 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking inflate v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Checking inflate v0.4.2 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking gif-dispose v1.0.2 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking color-thief v0.1.0 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking rprompt v1.0.3 [INFO] [stderr] Checking rgb v0.8.11 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Compiling enigo v0.0.11 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Compiling syn v0.15.21 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.6.2 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Checking tempfile v3.0.4 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking tiff v0.2.1 [INFO] [stderr] Checking image v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking image v0.20.1 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking image-utils v0.2.0 [INFO] [stderr] Checking image-to-minecraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/values/mod.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/values/mod.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [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: function `send_command` is never used [INFO] [stdout] --> src/keyboard/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn send_command(command: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_block` is never used [INFO] [stdout] --> src/keyboard/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn set_block(x: i32, y: i32, z: i32, block: String, data_value: u32) { [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/values/mod.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Item` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Item` [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] --> src/values/mod.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Item` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Item` [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/values/mod.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/values/mod.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [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: function `send_command` is never used [INFO] [stdout] --> src/keyboard/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn send_command(command: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_block` is never used [INFO] [stdout] --> src/keyboard/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn set_block(x: i32, y: i32, z: i32, block: String, data_value: u32) { [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/values/mod.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Item` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Item` [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] --> src/values/mod.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Item` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Item` [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 15.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, syn v0.14.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7d1846c6018ddca7aae037c1db16a4e3ad355d453ee91ca69ea288a83b85799c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d1846c6018ddca7aae037c1db16a4e3ad355d453ee91ca69ea288a83b85799c", kill_on_drop: false }` [INFO] [stdout] 7d1846c6018ddca7aae037c1db16a4e3ad355d453ee91ca69ea288a83b85799c