[INFO] cloning repository https://github.com/abhijat/ya2d2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abhijat/ya2d2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhijat%2Fya2d2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhijat%2Fya2d2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 541f6c51a1c5ef8ba2053cad8c2519ecf847b9be [INFO] checking abhijat/ya2d2 against master#029c9e18dd1f4668e1d42bb187c1c263dfe20093 for pr-157562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhijat%2Fya2d2" "/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/abhijat/ya2d2 [INFO] finished tweaking git repo https://github.com/abhijat/ya2d2 [INFO] tweaked toml for git repo https://github.com/abhijat/ya2d2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/abhijat/ya2d2 on toolchain 029c9e18dd1f4668e1d42bb187c1c263dfe20093 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/abhijat/ya2d2 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" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `ya2d2` (manifest) generated 1 warning [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sled v0.16.6 [INFO] [stderr] Downloaded sled_sync v0.1.5 [INFO] [stderr] Downloaded crossbeam-utils v0.6.1 [INFO] [stderr] Downloaded pagetable v0.1.1 [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded pagecache v0.7.7 [INFO] [stderr] Downloaded redox_syscall v0.1.43 [INFO] [stderr] Downloaded phf_codegen v0.7.23 [INFO] [stderr] Downloaded phf_shared v0.7.23 [INFO] [stderr] Downloaded phf_generator v0.7.23 [INFO] [stderr] Downloaded md5 v0.6.0 [INFO] [stderr] Downloaded phf v0.7.23 [INFO] [stderr] Downloaded rustc-demangle v0.1.9 [INFO] [stderr] Downloaded smallstr v0.1.0 [INFO] [stderr] Downloaded rustc_version v0.1.7 [INFO] [stderr] Downloaded historian v3.0.4 [INFO] [stderr] Downloaded bincode v1.0.1 [INFO] [stderr] Downloaded semver v0.1.20 [INFO] [stderr] Downloaded memchr v2.1.1 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded coco v0.2.1 [INFO] [stderr] Downloaded mortal v0.1.5 [INFO] [stderr] Downloaded terminfo v0.6.1 [INFO] [stderr] Downloaded linefeed v0.5.3 [INFO] [stderr] Downloaded serde_json v1.0.33 [INFO] [stderr] Downloaded nix v0.7.0 [INFO] [stderr] Downloaded nom v4.1.1 [INFO] [stderr] Downloaded unicode-normalization v0.1.7 [INFO] [stderr] Downloaded backtrace-sys v0.1.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 56d8fed7dc05b690e001f1212c004c83ff667cdec4aa1988f013fee584040262 [INFO] running `Command { std: "docker" "start" "56d8fed7dc05b690e001f1212c004c83ff667cdec4aa1988f013fee584040262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56d8fed7dc05b690e001f1212c004c83ff667cdec4aa1988f013fee584040262" "/opt/rustwide/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56d8fed7dc05b690e001f1212c004c83ff667cdec4aa1988f013fee584040262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56d8fed7dc05b690e001f1212c004c83ff667cdec4aa1988f013fee584040262" "/opt/rustwide/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `ya2d2` (manifest) generated 1 warning [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking arrayvec v0.4.8 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking crossbeam-utils v0.6.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking nom v4.1.1 [INFO] [stderr] Checking smallvec v0.6.7 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Checking coco v0.2.1 [INFO] [stderr] Checking phf v0.7.23 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking rayon v1.0.3 [INFO] [stderr] Checking historian v3.0.4 [INFO] [stderr] Checking sled_sync v0.1.5 [INFO] [stderr] Checking pagetable v0.1.1 [INFO] [stderr] Checking smallstr v0.1.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking dirs v1.0.4 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking md5 v0.6.0 [INFO] [stderr] Compiling terminfo v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking mortal v0.1.5 [INFO] [stderr] Checking linefeed v0.5.3 [INFO] [stderr] Checking pagecache v0.7.7 [INFO] [stderr] Checking sled v0.16.6 [INFO] [stderr] Checking ya2d2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/task/task_impl.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(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/task/task_impl.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/task/task_impl.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(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/task/task_impl.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/shell.rs:18:119 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn start_shell(tree: Arc, reader: &Interface, config: Option<&Configuration>) -> Result<(), Box> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn start_shell(tree: Arc, reader: &Interface, config: Option<&Configuration>) -> Result<(), Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/initialize.rs:28:78 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn reader(db: Arc) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn reader(db: Arc) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/shell.rs:18:119 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn start_shell(tree: Arc, reader: &Interface, config: Option<&Configuration>) -> Result<(), Box> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn start_shell(tree: Arc, reader: &Interface, config: Option<&Configuration>) -> Result<(), Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/initialize.rs:28:78 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn reader(db: Arc) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn reader(db: Arc) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tags` is never read [INFO] [stdout] --> src/cmd/command_objects.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | PushCommand { payload: String, tags: Option> }, [INFO] [stdout] | ----------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tags` is never read [INFO] [stdout] --> src/cmd/command_objects.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | ListCommand { tags: Option> }, [INFO] [stdout] | ----------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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/task/task_impl.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(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_Task` [INFO] [stdout] 6 | pub struct Task { [INFO] [stdout] | ---- `Task` 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] --> src/task/task_impl.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(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_Task` [INFO] [stdout] 6 | pub struct Task { [INFO] [stdout] | ---- `Task` 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/task/task_impl.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(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_Task` [INFO] [stdout] 6 | pub struct Task { [INFO] [stdout] | ---- `Task` 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] --> src/task/task_impl.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(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_Task` [INFO] [stdout] 6 | pub struct Task { [INFO] [stdout] | ---- `Task` 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 27.96s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0, nom v4.1.1, pagecache v0.7.7, terminfo v0.6.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "56d8fed7dc05b690e001f1212c004c83ff667cdec4aa1988f013fee584040262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56d8fed7dc05b690e001f1212c004c83ff667cdec4aa1988f013fee584040262", kill_on_drop: false }` [INFO] [stdout] 56d8fed7dc05b690e001f1212c004c83ff667cdec4aa1988f013fee584040262