[INFO] cloning repository https://github.com/yetone/mirdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yetone/mirdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyetone%2Fmirdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyetone%2Fmirdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67db6c5d2c8d341978dcc2032876815f62946cce [INFO] testing yetone/mirdb against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyetone%2Fmirdb" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yetone/mirdb on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/yetone/mirdb [INFO] finished tweaking git repo https://github.com/yetone/mirdb [INFO] tweaked toml for git repo https://github.com/yetone/mirdb written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yetone/mirdb 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/seiflotfy/rust-cuckoofilter` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.5.0 [INFO] [stderr] Downloaded integer-encoding v1.0.5 [INFO] [stderr] Downloaded lru v0.1.15 [INFO] [stderr] Downloaded syn v0.15.32 [INFO] [stderr] Downloaded snap v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cd30018dc3763e7e1e7fdf4fba16fd4c3fae91ae84f90eaa17dba6b4d727c35 [INFO] running `Command { std: "docker" "start" "-a" "1cd30018dc3763e7e1e7fdf4fba16fd4c3fae91ae84f90eaa17dba6b4d727c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cd30018dc3763e7e1e7fdf4fba16fd4c3fae91ae84f90eaa17dba6b4d727c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd30018dc3763e7e1e7fdf4fba16fd4c3fae91ae84f90eaa17dba6b4d727c35", kill_on_drop: false }` [INFO] [stdout] 1cd30018dc3763e7e1e7fdf4fba16fd4c3fae91ae84f90eaa17dba6b4d727c35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7045891007a6d8b607e0d7de19c90720bb1b4897f165d5fb4497a12f44bb101e [INFO] running `Command { std: "docker" "start" "-a" "7045891007a6d8b607e0d7de19c90720bb1b4897f165d5fb4497a12f44bb101e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling futures v0.1.26 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.28 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling syn v0.15.32 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling bincode v1.1.3 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling tokio-sync v0.1.5 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling lru v0.1.15 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling snap v0.2.5 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling integer-encoding v1.0.5 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling skip-list v0.1.0 (/opt/rustwide/workdir/skip-list) [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> skip-list/src/list.rs:243:62 [INFO] [stdout] | [INFO] [stdout] 243 | let old_value = next.replace_value(unsafe { mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> skip-list/src/node.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> skip-list/src/node.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> skip-list/src/iter.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | ::std::mem::replace(&mut self.0, Some(unsafe { &mut *next })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = ::std::mem::replace(&mut self.0, Some(unsafe { &mut *next })); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> skip-list/src/node.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | Box::from_raw(node_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = Box::from_raw(node_ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.19 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling cuckoofilter v0.4.0 (https://github.com/seiflotfy/rust-cuckoofilter?tag=v0.4.0#ced11f3d) [INFO] [stderr] Compiling toml v0.5.0 [INFO] [stderr] Compiling sstable v0.1.0 (/opt/rustwide/workdir/sstable) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> sstable/src/util.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | (rot.wrapping_shr(17) | rot.wrapping_shl(15)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - (rot.wrapping_shr(17) | rot.wrapping_shl(15)) [INFO] [stdout] 65 + rot.wrapping_shr(17) | rot.wrapping_shl(15) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sstable/src/meta_block.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] = help: 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: 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] --> sstable/src/meta_block.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] = help: 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: 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: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> sstable/src/error.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | Status::new(code, e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> sstable/src/error.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | Status::new(code, e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> sstable/src/error.rs:60:49 [INFO] [stdout] | [INFO] [stdout] 60 | Status::new(StatusCode::BincodeError, e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> sstable/src/error.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | Status::new(StatusCode::CuckooError, e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> sstable/src/types.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | Ok((self as &FileExt).read_at(dst, offset as u64)?) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | Ok((self as &dyn FileExt).read_at(dst, offset as u64)?) [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] --> sstable/src/meta_block.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[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_MetaBlock` [INFO] [stdout] 17 | pub struct MetaBlock { [INFO] [stdout] | --------- `MetaBlock` 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] --> sstable/src/meta_block.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[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_MetaBlock` [INFO] [stdout] 17 | pub struct MetaBlock { [INFO] [stdout] | --------- `MetaBlock` 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] Compiling mirdb v0.1.0 (/opt/rustwide/workdir/mirdb-server) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> mirdb-server/src/config.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, 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] = help: 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: 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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/config.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / gen_parser!( [INFO] [stdout] 65 | | size_parser, [INFO] [stdout] 66 | | chain!(size: usize_parser >> unit: size_unit_parser >> (to_size_unit(unit) * size)) [INFO] [stdout] 67 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/config.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / gen_parser!( [INFO] [stdout] 65 | | size_parser, [INFO] [stdout] 66 | | chain!(size: usize_parser >> unit: size_unit_parser >> (to_size_unit(unit) * size)) [INFO] [stdout] 67 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (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] --> mirdb-server/src/manifest.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, 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] = help: 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: see for more information about checking conditional configuration [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] --> mirdb-server/src/manifest.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, 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] = help: 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: 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] --> mirdb-server/src/manifest.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, 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] = help: 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: see for more information about checking conditional configuration [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] --> mirdb-server/src/manifest.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, 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] = help: 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: 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] --> mirdb-server/src/manifest.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone, 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] = help: 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: see for more information about checking conditional configuration [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] --> mirdb-server/src/manifest.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone, 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] = help: 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: 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: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / gen_parser!( [INFO] [stdout] 20 | | getter, [INFO] [stdout] 21 | | chain!( [INFO] [stdout] 22 | | getter: getter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / gen_parser!( [INFO] [stdout] 20 | | getter, [INFO] [stdout] 21 | | chain!( [INFO] [stdout] 22 | | getter: getter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / gen_parser!( [INFO] [stdout] 86 | | deleter, [INFO] [stdout] 87 | | chain!( [INFO] [stdout] 88 | | tag!(b"delete") [INFO] [stdout] ... | [INFO] [stdout] 99 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / gen_parser!( [INFO] [stdout] 86 | | deleter, [INFO] [stdout] 87 | | chain!( [INFO] [stdout] 88 | | tag!(b"delete") [INFO] [stdout] ... | [INFO] [stdout] 99 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (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] --> mirdb-server/src/store.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, PartialEq, Clone, 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] = help: 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: see for more information about checking conditional configuration [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] --> mirdb-server/src/store.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, PartialEq, Clone, 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] = help: 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: 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] --> mirdb-server/src/main.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mirdb-server/src/response.rs:75:38 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn write(&self, writer: &mut Writer) -> MyResult<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 75 | pub fn write(&self, writer: &mut dyn Writer) -> MyResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> mirdb-server/src/error.rs:46:49 [INFO] [stdout] | [INFO] [stdout] 46 | Status::new(StatusCode::BincodeError, e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> mirdb-server/src/error.rs:53:72 [INFO] [stdout] | [INFO] [stdout] 53 | ErrorKind::NotFound => Status::new(StatusCode::NotFound, e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> mirdb-server/src/error.rs:54:53 [INFO] [stdout] | [INFO] [stdout] 54 | _ => Status::new(StatusCode::IOError, e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> mirdb-server/src/error.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | Status::new(code, e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | IRResult::Err(e) => panic!(e.to_owned()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 18 | IRResult::Err(e) => panic!("{}", e.to_owned()), [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] --> mirdb-server/src/config.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, 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] 15 | pub 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: panic message is not a string literal [INFO] [stdout] --> mirdb-server/src/config.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | _ => panic!(format!("unknown size unit {:?}", x)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 55 - _ => panic!(format!("unknown size unit {:?}", x)), [INFO] [stdout] 55 + _ => panic!("unknown size unit {:?}", x), [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] --> mirdb-server/src/manifest.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, 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_FileMeta` [INFO] [stdout] 19 | pub struct FileMeta { [INFO] [stdout] | -------- `FileMeta` 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] --> mirdb-server/src/manifest.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, 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_FileMeta` [INFO] [stdout] 19 | pub struct FileMeta { [INFO] [stdout] | -------- `FileMeta` 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] --> mirdb-server/src/manifest.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, 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_LevelMeta` [INFO] [stdout] 24 | pub struct LevelMeta { [INFO] [stdout] | --------- `LevelMeta` 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] --> mirdb-server/src/manifest.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, 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_LevelMeta` [INFO] [stdout] 24 | pub struct LevelMeta { [INFO] [stdout] | --------- `LevelMeta` 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] --> mirdb-server/src/manifest.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone, 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_Manifest` [INFO] [stdout] 50 | pub struct Manifest { [INFO] [stdout] | -------- `Manifest` 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] --> mirdb-server/src/manifest.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone, 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_Manifest` [INFO] [stdout] 50 | pub struct Manifest { [INFO] [stdout] | -------- `Manifest` 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: panic message is not a string literal [INFO] [stdout] --> mirdb-server/src/parser.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!(format!("unknown getter {:?}", x)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 41 - _ => panic!(format!("unknown getter {:?}", x)), [INFO] [stdout] 41 + _ => panic!("unknown getter {:?}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> mirdb-server/src/parser.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!(format!("unknown setter {:?}", x)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 52 - _ => panic!(format!("unknown setter {:?}", x)), [INFO] [stdout] 52 + _ => panic!("unknown setter {:?}", x), [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] --> mirdb-server/src/store.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, PartialEq, Clone, 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_StorePayload` [INFO] [stdout] 25 | pub struct StorePayload { [INFO] [stdout] | ------------ `StorePayload` 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] --> mirdb-server/src/store.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, PartialEq, Clone, 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_StorePayload` [INFO] [stdout] 25 | pub struct StorePayload { [INFO] [stdout] | ------------ `StorePayload` 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 31.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: mirdb v0.1.0 (/opt/rustwide/workdir/mirdb-server), snap v0.2.5 [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" "7045891007a6d8b607e0d7de19c90720bb1b4897f165d5fb4497a12f44bb101e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7045891007a6d8b607e0d7de19c90720bb1b4897f165d5fb4497a12f44bb101e", kill_on_drop: false }` [INFO] [stdout] 7045891007a6d8b607e0d7de19c90720bb1b4897f165d5fb4497a12f44bb101e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14fb9877dcd3489f474a79e569b1f1081a03dc08b67334063024d82ef81ff8cd [INFO] running `Command { std: "docker" "start" "-a" "14fb9877dcd3489f474a79e569b1f1081a03dc08b67334063024d82ef81ff8cd", kill_on_drop: false }` [INFO] [stderr] Compiling skip-list v0.1.0 (/opt/rustwide/workdir/skip-list) [INFO] [stderr] Compiling sstable v0.1.0 (/opt/rustwide/workdir/sstable) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> skip-list/src/list.rs:243:62 [INFO] [stdout] | [INFO] [stdout] 243 | let old_value = next.replace_value(unsafe { mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> skip-list/src/node.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> skip-list/src/node.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> skip-list/src/iter.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | ::std::mem::replace(&mut self.0, Some(unsafe { &mut *next })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = ::std::mem::replace(&mut self.0, Some(unsafe { &mut *next })); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> skip-list/src/node.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | Box::from_raw(node_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = Box::from_raw(node_ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> sstable/src/util.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | (rot.wrapping_shr(17) | rot.wrapping_shl(15)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - (rot.wrapping_shr(17) | rot.wrapping_shl(15)) [INFO] [stdout] 65 + rot.wrapping_shr(17) | rot.wrapping_shl(15) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sstable/src/meta_block.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] = help: 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: 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] --> sstable/src/meta_block.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] = help: 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: 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: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> sstable/src/error.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | Status::new(code, e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> sstable/src/error.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | Status::new(code, e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> sstable/src/error.rs:60:49 [INFO] [stdout] | [INFO] [stdout] 60 | Status::new(StatusCode::BincodeError, e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> sstable/src/error.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | Status::new(StatusCode::CuckooError, e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> sstable/src/types.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | Ok((self as &FileExt).read_at(dst, offset as u64)?) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | Ok((self as &dyn FileExt).read_at(dst, offset as u64)?) [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] --> sstable/src/meta_block.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[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_MetaBlock` [INFO] [stdout] 17 | pub struct MetaBlock { [INFO] [stdout] | --------- `MetaBlock` 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] [stderr] Compiling mirdb v0.1.0 (/opt/rustwide/workdir/mirdb-server) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> sstable/src/meta_block.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[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_MetaBlock` [INFO] [stdout] 17 | pub struct MetaBlock { [INFO] [stdout] | --------- `MetaBlock` 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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> skip-list/src/list.rs:243:62 [INFO] [stdout] | [INFO] [stdout] 243 | let old_value = next.replace_value(unsafe { mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> skip-list/src/node.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> skip-list/src/node.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> sstable/src/util.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | (rot.wrapping_shr(17) | rot.wrapping_shl(15)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - (rot.wrapping_shr(17) | rot.wrapping_shl(15)) [INFO] [stdout] 65 + rot.wrapping_shr(17) | rot.wrapping_shl(15) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sstable/src/meta_block.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] = help: 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: 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] --> sstable/src/meta_block.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[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] = help: 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: 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: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> skip-list/src/iter.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | ::std::mem::replace(&mut self.0, Some(unsafe { &mut *next })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = ::std::mem::replace(&mut self.0, Some(unsafe { &mut *next })); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> skip-list/src/node.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | Box::from_raw(node_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = Box::from_raw(node_ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 452 | let r = chain!( [INFO] [stdout] | _________________- [INFO] [stdout] 453 | | b"hello world", [INFO] [stdout] 454 | | hello: alpha >> tag!(b" ") >> world: alpha >> (hello, world) [INFO] [stdout] 455 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 452 | let r = chain!( [INFO] [stdout] | _________________- [INFO] [stdout] 453 | | b"hello world", [INFO] [stdout] 454 | | hello: alpha >> tag!(b" ") >> world: alpha >> (hello, world) [INFO] [stdout] 455 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 462 | let r = chain!( [INFO] [stdout] | _________________- [INFO] [stdout] 463 | | b"hello world", [INFO] [stdout] 464 | | hello: alpha >> tag!(b" ") >> world: alpha >> tag!(b" ") >> (hello, world) [INFO] [stdout] 465 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 462 | let r = chain!( [INFO] [stdout] | _________________- [INFO] [stdout] 463 | | b"hello world", [INFO] [stdout] 464 | | hello: alpha >> tag!(b" ") >> world: alpha >> tag!(b" ") >> (hello, world) [INFO] [stdout] 465 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 470 | / gen_parser!( [INFO] [stdout] 471 | | test<(&[u8], &[u8])>, [INFO] [stdout] 472 | | chain!(hello: alpha >> tag!(b" ") >> world: alpha >> (hello, world)) [INFO] [stdout] 473 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 470 | / gen_parser!( [INFO] [stdout] 471 | | test<(&[u8], &[u8])>, [INFO] [stdout] 472 | | chain!(hello: alpha >> tag!(b" ") >> world: alpha >> (hello, world)) [INFO] [stdout] 473 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 560 | let r = chain!(b" I love u", space >> keys: split!(space, alpha) >> (keys)).unwrap(); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 569 | let r = chain!( [INFO] [stdout] | _________________- [INFO] [stdout] 570 | | b"get I love u", [INFO] [stdout] 571 | | getter: getter_name >> space >> keys: split!(space, alpha) >> (getter, keys) [INFO] [stdout] 572 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 569 | let r = chain!( [INFO] [stdout] | _________________- [INFO] [stdout] 570 | | b"get I love u", [INFO] [stdout] 571 | | getter: getter_name >> space >> keys: split!(space, alpha) >> (getter, keys) [INFO] [stdout] 572 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 584 | let r = chain!( [INFO] [stdout] | _________________- [INFO] [stdout] 585 | | b"gets I love u", [INFO] [stdout] 586 | | getter: getter_name >> space >> keys: split!(space, alpha) >> (getter, keys) [INFO] [stdout] 587 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 584 | let r = chain!( [INFO] [stdout] | _________________- [INFO] [stdout] 585 | | b"gets I love u", [INFO] [stdout] 586 | | getter: getter_name >> space >> keys: split!(space, alpha) >> (getter, keys) [INFO] [stdout] 587 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` (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] --> mirdb-server/src/config.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, 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] = help: 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: 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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/config.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / gen_parser!( [INFO] [stdout] 65 | | size_parser, [INFO] [stdout] 66 | | chain!(size: usize_parser >> unit: size_unit_parser >> (to_size_unit(unit) * size)) [INFO] [stdout] 67 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/config.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / gen_parser!( [INFO] [stdout] 65 | | size_parser, [INFO] [stdout] 66 | | chain!(size: usize_parser >> unit: size_unit_parser >> (to_size_unit(unit) * size)) [INFO] [stdout] 67 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (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] --> mirdb-server/src/manifest.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, 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] = help: 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: see for more information about checking conditional configuration [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] --> mirdb-server/src/manifest.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, 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] = help: 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: 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] --> mirdb-server/src/manifest.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, 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] = help: 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: see for more information about checking conditional configuration [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] --> mirdb-server/src/manifest.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, 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] = help: 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: 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] --> mirdb-server/src/manifest.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone, 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] = help: 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: see for more information about checking conditional configuration [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] --> mirdb-server/src/manifest.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone, 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] = help: 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: 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: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / gen_parser!( [INFO] [stdout] 20 | | getter, [INFO] [stdout] 21 | | chain!( [INFO] [stdout] 22 | | getter: getter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / gen_parser!( [INFO] [stdout] 20 | | getter, [INFO] [stdout] 21 | | chain!( [INFO] [stdout] 22 | | getter: getter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / gen_parser!( [INFO] [stdout] 57 | | setter, [INFO] [stdout] 58 | | chain!( [INFO] [stdout] 59 | | setter: setter_name_parser [INFO] [stdout] ... | [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / gen_parser!( [INFO] [stdout] 86 | | deleter, [INFO] [stdout] 87 | | chain!( [INFO] [stdout] 88 | | tag!(b"delete") [INFO] [stdout] ... | [INFO] [stdout] 99 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stdout] | [INFO] [stdout] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: mirdb-server/src/parser.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / gen_parser!( [INFO] [stdout] 86 | | deleter, [INFO] [stdout] 87 | | chain!( [INFO] [stdout] 88 | | tag!(b"delete") [INFO] [stdout] ... | [INFO] [stdout] 99 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stdout] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (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] --> mirdb-server/src/store.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, PartialEq, Clone, 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] = help: 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: see for more information about checking conditional configuration [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] --> mirdb-server/src/store.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, PartialEq, Clone, 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] = help: 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: 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] --> mirdb-server/src/main.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mirdb-server/src/response.rs:75:38 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn write(&self, writer: &mut Writer) -> MyResult<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 75 | pub fn write(&self, writer: &mut dyn Writer) -> MyResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> sstable/src/error.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | Status::new(code, e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> sstable/src/error.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | Status::new(code, e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> sstable/src/error.rs:60:49 [INFO] [stdout] | [INFO] [stdout] 60 | Status::new(StatusCode::BincodeError, e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> sstable/src/error.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | Status::new(StatusCode::CuckooError, e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> mirdb-server/src/error.rs:46:49 [INFO] [stdout] | [INFO] [stdout] 46 | Status::new(StatusCode::BincodeError, e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> mirdb-server/src/error.rs:53:72 [INFO] [stdout] | [INFO] [stdout] 53 | ErrorKind::NotFound => Status::new(StatusCode::NotFound, e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> mirdb-server/src/error.rs:54:53 [INFO] [stdout] | [INFO] [stdout] 54 | _ => Status::new(StatusCode::IOError, e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> mirdb-server/src/error.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | Status::new(code, e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> sstable/src/types.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | Ok((self as &FileExt).read_at(dst, offset as u64)?) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | Ok((self as &dyn FileExt).read_at(dst, offset as u64)?) [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] --> sstable/src/meta_block.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[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_MetaBlock` [INFO] [stdout] 17 | pub struct MetaBlock { [INFO] [stdout] | --------- `MetaBlock` 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] --> sstable/src/meta_block.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[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_MetaBlock` [INFO] [stdout] 17 | pub struct MetaBlock { [INFO] [stdout] | --------- `MetaBlock` 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: panic message is not a string literal [INFO] [stdout] --> mirdb-server/src/parser_util/macros.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | IRResult::Err(e) => panic!(e.to_owned()), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 18 | IRResult::Err(e) => panic!("{}", e.to_owned()), [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] --> mirdb-server/src/config.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, 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] 15 | pub 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: panic message is not a string literal [INFO] [stdout] --> mirdb-server/src/config.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | _ => panic!(format!("unknown size unit {:?}", x)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 55 - _ => panic!(format!("unknown size unit {:?}", x)), [INFO] [stdout] 55 + _ => panic!("unknown size unit {:?}", x), [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] --> mirdb-server/src/manifest.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, 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_FileMeta` [INFO] [stdout] 19 | pub struct FileMeta { [INFO] [stdout] | -------- `FileMeta` 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] --> mirdb-server/src/manifest.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, 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_FileMeta` [INFO] [stdout] 19 | pub struct FileMeta { [INFO] [stdout] | -------- `FileMeta` 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] --> mirdb-server/src/manifest.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, 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_LevelMeta` [INFO] [stdout] 24 | pub struct LevelMeta { [INFO] [stdout] | --------- `LevelMeta` 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] --> mirdb-server/src/manifest.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, 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_LevelMeta` [INFO] [stdout] 24 | pub struct LevelMeta { [INFO] [stdout] | --------- `LevelMeta` 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] --> mirdb-server/src/manifest.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone, 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_Manifest` [INFO] [stdout] 50 | pub struct Manifest { [INFO] [stdout] | -------- `Manifest` 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] --> mirdb-server/src/manifest.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone, 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_Manifest` [INFO] [stdout] 50 | pub struct Manifest { [INFO] [stdout] | -------- `Manifest` 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: panic message is not a string literal [INFO] [stdout] --> mirdb-server/src/parser.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!(format!("unknown getter {:?}", x)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 41 - _ => panic!(format!("unknown getter {:?}", x)), [INFO] [stdout] 41 + _ => panic!("unknown getter {:?}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> mirdb-server/src/parser.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!(format!("unknown setter {:?}", x)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 52 - _ => panic!(format!("unknown setter {:?}", x)), [INFO] [stdout] 52 + _ => panic!("unknown setter {:?}", x), [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] --> mirdb-server/src/store.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, PartialEq, Clone, 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_StorePayload` [INFO] [stdout] 25 | pub struct StorePayload { [INFO] [stdout] | ------------ `StorePayload` 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] --> mirdb-server/src/store.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, PartialEq, Clone, 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_StorePayload` [INFO] [stdout] 25 | pub struct StorePayload { [INFO] [stdout] | ------------ `StorePayload` 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 `test` profile [unoptimized + debuginfo] target(s) in 3.60s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: mirdb v0.1.0 (/opt/rustwide/workdir/mirdb-server), snap v0.2.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "14fb9877dcd3489f474a79e569b1f1081a03dc08b67334063024d82ef81ff8cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14fb9877dcd3489f474a79e569b1f1081a03dc08b67334063024d82ef81ff8cd", kill_on_drop: false }` [INFO] [stdout] 14fb9877dcd3489f474a79e569b1f1081a03dc08b67334063024d82ef81ff8cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2e8b8c4127912a9de96131eb8571343eeb59700ad4e07a8130af5ee26d742a47 [INFO] running `Command { std: "docker" "start" "-a" "2e8b8c4127912a9de96131eb8571343eeb59700ad4e07a8130af5ee26d742a47", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> skip-list/src/list.rs:243:62 [INFO] [stderr] | [INFO] [stderr] 243 | let old_value = next.replace_value(unsafe { mem::uninitialized() }); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> skip-list/src/node.rs:40:27 [INFO] [stderr] | [INFO] [stderr] 40 | unsafe { mem::uninitialized() }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> skip-list/src/node.rs:41:27 [INFO] [stderr] | [INFO] [stderr] 41 | unsafe { mem::uninitialized() }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> skip-list/src/iter.rs:42:17 [INFO] [stderr] | [INFO] [stderr] 42 | ::std::mem::replace(&mut self.0, Some(unsafe { &mut *next })); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 42 | let _ = ::std::mem::replace(&mut self.0, Some(unsafe { &mut *next })); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> skip-list/src/node.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | Box::from_raw(node_ptr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 60 | let _ = Box::from_raw(node_ptr); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `skip-list` (lib) generated 5 warnings [INFO] [stderr] warning: `skip-list` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> sstable/src/util.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | (rot.wrapping_shr(17) | rot.wrapping_shl(15)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 65 - (rot.wrapping_shr(17) | rot.wrapping_shl(15)) [INFO] [stderr] 65 + rot.wrapping_shr(17) | rot.wrapping_shl(15) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> sstable/src/meta_block.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> sstable/src/meta_block.rs:16:21 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> sstable/src/error.rs:44:29 [INFO] [stderr] | [INFO] [stderr] 44 | Status::new(code, e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> sstable/src/error.rs:54:29 [INFO] [stderr] | [INFO] [stderr] 54 | Status::new(code, e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> sstable/src/error.rs:60:49 [INFO] [stderr] | [INFO] [stderr] 60 | Status::new(StatusCode::BincodeError, e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> sstable/src/error.rs:66:48 [INFO] [stderr] | [INFO] [stderr] 66 | Status::new(StatusCode::CuckooError, e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> sstable/src/types.rs:32:22 [INFO] [stderr] | [INFO] [stderr] 32 | Ok((self as &FileExt).read_at(dst, offset as u64)?) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 32 | Ok((self as &dyn FileExt).read_at(dst, offset as u64)?) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> sstable/src/meta_block.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MetaBlock` [INFO] [stderr] 17 | pub struct MetaBlock { [INFO] [stderr] | --------- `MetaBlock` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> sstable/src/meta_block.rs:16:21 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_MetaBlock` [INFO] [stderr] 17 | pub struct MetaBlock { [INFO] [stderr] | --------- `MetaBlock` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `sstable` (lib) generated 10 warnings (run `cargo fix --lib -p sstable` to apply 2 suggestions) [INFO] [stderr] warning: `sstable` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stderr] | [INFO] [stderr] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 452 | let r = chain!( [INFO] [stderr] | _________________- [INFO] [stderr] 453 | | b"hello world", [INFO] [stderr] 454 | | hello: alpha >> tag!(b" ") >> world: alpha >> (hello, world) [INFO] [stderr] 455 | | ) [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stderr] | [INFO] [stderr] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 452 | let r = chain!( [INFO] [stderr] | _________________- [INFO] [stderr] 453 | | b"hello world", [INFO] [stderr] 454 | | hello: alpha >> tag!(b" ") >> world: alpha >> (hello, world) [INFO] [stderr] 455 | | ) [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stderr] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stderr] | [INFO] [stderr] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 462 | let r = chain!( [INFO] [stderr] | _________________- [INFO] [stderr] 463 | | b"hello world", [INFO] [stderr] 464 | | hello: alpha >> tag!(b" ") >> world: alpha >> tag!(b" ") >> (hello, world) [INFO] [stderr] 465 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stderr] | [INFO] [stderr] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 462 | let r = chain!( [INFO] [stderr] | _________________- [INFO] [stderr] 463 | | b"hello world", [INFO] [stderr] 464 | | hello: alpha >> tag!(b" ") >> world: alpha >> tag!(b" ") >> (hello, world) [INFO] [stderr] 465 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stderr] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stderr] | [INFO] [stderr] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 470 | / gen_parser!( [INFO] [stderr] 471 | | test<(&[u8], &[u8])>, [INFO] [stderr] 472 | | chain!(hello: alpha >> tag!(b" ") >> world: alpha >> (hello, world)) [INFO] [stderr] 473 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stderr] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stderr] | [INFO] [stderr] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 560 | let r = chain!(b" I love u", space >> keys: split!(space, alpha) >> (keys)).unwrap(); [INFO] [stderr] | ------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stderr] | [INFO] [stderr] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 569 | let r = chain!( [INFO] [stderr] | _________________- [INFO] [stderr] 570 | | b"get I love u", [INFO] [stderr] 571 | | getter: getter_name >> space >> keys: split!(space, alpha) >> (getter, keys) [INFO] [stderr] 572 | | ) [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stderr] | [INFO] [stderr] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 569 | let r = chain!( [INFO] [stderr] | _________________- [INFO] [stderr] 570 | | b"get I love u", [INFO] [stderr] 571 | | getter: getter_name >> space >> keys: split!(space, alpha) >> (getter, keys) [INFO] [stderr] 572 | | ) [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stderr] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stderr] | [INFO] [stderr] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 584 | let r = chain!( [INFO] [stderr] | _________________- [INFO] [stderr] 585 | | b"gets I love u", [INFO] [stderr] 586 | | getter: getter_name >> space >> keys: split!(space, alpha) >> (getter, keys) [INFO] [stderr] 587 | | ) [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stderr] | [INFO] [stderr] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 584 | let r = chain!( [INFO] [stderr] | _________________- [INFO] [stderr] 585 | | b"gets I love u", [INFO] [stderr] 586 | | getter: getter_name >> space >> keys: split!(space, alpha) >> (getter, keys) [INFO] [stderr] 587 | | ) [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stderr] = note: this warning originates in the macro `chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> mirdb-server/src/config.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stderr] | [INFO] [stderr] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: mirdb-server/src/config.rs:64:1 [INFO] [stderr] | [INFO] [stderr] 64 | / gen_parser!( [INFO] [stderr] 65 | | size_parser, [INFO] [stderr] 66 | | chain!(size: usize_parser >> unit: size_unit_parser >> (to_size_unit(unit) * size)) [INFO] [stderr] 67 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stderr] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> mirdb-server/src/manifest.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> mirdb-server/src/manifest.rs:18:35 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> mirdb-server/src/manifest.rs:23:24 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> mirdb-server/src/manifest.rs:23:35 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> mirdb-server/src/manifest.rs:49:24 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> mirdb-server/src/manifest.rs:49:35 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stderr] | [INFO] [stderr] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: mirdb-server/src/parser.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / gen_parser!( [INFO] [stderr] 20 | | getter, [INFO] [stderr] 21 | | chain!( [INFO] [stderr] 22 | | getter: getter_name_parser [INFO] [stderr] ... | [INFO] [stderr] 31 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stderr] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stderr] | [INFO] [stderr] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: mirdb-server/src/parser.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / gen_parser!( [INFO] [stderr] 20 | | getter, [INFO] [stderr] 21 | | chain!( [INFO] [stderr] 22 | | getter: getter_name_parser [INFO] [stderr] ... | [INFO] [stderr] 31 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stderr] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stderr] | [INFO] [stderr] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | / gen_parser!( [INFO] [stderr] 57 | | setter, [INFO] [stderr] 58 | | chain!( [INFO] [stderr] 59 | | setter: setter_name_parser [INFO] [stderr] ... | [INFO] [stderr] 83 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stderr] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stderr] | [INFO] [stderr] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: mirdb-server/src/parser.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | / gen_parser!( [INFO] [stderr] 57 | | setter, [INFO] [stderr] 58 | | chain!( [INFO] [stderr] 59 | | setter: setter_name_parser [INFO] [stderr] ... | [INFO] [stderr] 83 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stderr] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:177:50 [INFO] [stderr] | [INFO] [stderr] 177 | chain!(@inner $i, call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: mirdb-server/src/parser.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | / gen_parser!( [INFO] [stderr] 86 | | deleter, [INFO] [stderr] 87 | | chain!( [INFO] [stderr] 88 | | tag!(b"delete") [INFO] [stderr] ... | [INFO] [stderr] 99 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stderr] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:190:58 [INFO] [stderr] | [INFO] [stderr] 190 | chain!(@inner $i, $field: call!($e) >> $($rest)*); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: mirdb-server/src/parser.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | / gen_parser!( [INFO] [stderr] 86 | | deleter, [INFO] [stderr] 87 | | chain!( [INFO] [stderr] 88 | | tag!(b"delete") [INFO] [stderr] ... | [INFO] [stderr] 99 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chain` [INFO] [stderr] = note: this warning originates in the macro `chain` which comes from the expansion of the macro `gen_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> mirdb-server/src/store.rs:24:35 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> mirdb-server/src/store.rs:24:46 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> mirdb-server/src/main.rs:71:23 [INFO] [stderr] | [INFO] [stderr] 71 | type Future = Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 71 | type Future = Box>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> mirdb-server/src/response.rs:75:38 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn write(&self, writer: &mut Writer) -> MyResult<()> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 75 | pub fn write(&self, writer: &mut dyn Writer) -> MyResult<()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> mirdb-server/src/error.rs:46:49 [INFO] [stderr] | [INFO] [stderr] 46 | Status::new(StatusCode::BincodeError, e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> mirdb-server/src/error.rs:53:72 [INFO] [stderr] | [INFO] [stderr] 53 | ErrorKind::NotFound => Status::new(StatusCode::NotFound, e.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> mirdb-server/src/error.rs:54:53 [INFO] [stderr] | [INFO] [stderr] 54 | _ => Status::new(StatusCode::IOError, e.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> mirdb-server/src/error.rs:80:29 [INFO] [stderr] | [INFO] [stderr] 80 | Status::new(code, e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> mirdb-server/src/parser_util/macros.rs:18:40 [INFO] [stderr] | [INFO] [stderr] 18 | IRResult::Err(e) => panic!(e.to_owned()), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 18 | IRResult::Err(e) => panic!("{}", e.to_owned()), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> mirdb-server/src/config.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stderr] 15 | pub struct Config { [INFO] [stderr] | ------ `Config` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> mirdb-server/src/config.rs:55:21 [INFO] [stderr] | [INFO] [stderr] 55 | _ => panic!(format!("unknown size unit {:?}", x)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 55 - _ => panic!(format!("unknown size unit {:?}", x)), [INFO] [stderr] 55 + _ => panic!("unknown size unit {:?}", x), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> mirdb-server/src/manifest.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FileMeta` [INFO] [stderr] 19 | pub struct FileMeta { [INFO] [stderr] | -------- `FileMeta` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> mirdb-server/src/manifest.rs:18:35 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_FileMeta` [INFO] [stderr] 19 | pub struct FileMeta { [INFO] [stderr] | -------- `FileMeta` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> mirdb-server/src/manifest.rs:23:24 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LevelMeta` [INFO] [stderr] 24 | pub struct LevelMeta { [INFO] [stderr] | --------- `LevelMeta` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> mirdb-server/src/manifest.rs:23:35 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LevelMeta` [INFO] [stderr] 24 | pub struct LevelMeta { [INFO] [stderr] | --------- `LevelMeta` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> mirdb-server/src/manifest.rs:49:24 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Manifest` [INFO] [stderr] 50 | pub struct Manifest { [INFO] [stderr] | -------- `Manifest` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> mirdb-server/src/manifest.rs:49:35 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Manifest` [INFO] [stderr] 50 | pub struct Manifest { [INFO] [stderr] | -------- `Manifest` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> mirdb-server/src/parser.rs:41:21 [INFO] [stderr] | [INFO] [stderr] 41 | _ => panic!(format!("unknown getter {:?}", x)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 41 - _ => panic!(format!("unknown getter {:?}", x)), [INFO] [stderr] 41 + _ => panic!("unknown getter {:?}", x), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> mirdb-server/src/parser.rs:52:21 [INFO] [stderr] | [INFO] [stderr] 52 | _ => panic!(format!("unknown setter {:?}", x)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 52 - _ => panic!(format!("unknown setter {:?}", x)), [INFO] [stderr] 52 + _ => panic!("unknown setter {:?}", x), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> mirdb-server/src/store.rs:24:35 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_StorePayload` [INFO] [stderr] 25 | pub struct StorePayload { [INFO] [stderr] | ------------ `StorePayload` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> mirdb-server/src/store.rs:24:46 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_StorePayload` [INFO] [stderr] 25 | pub struct StorePayload { [INFO] [stderr] | ------------ `StorePayload` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `mirdb` (bin "mirdb" test) generated 54 warnings (9 duplicates) (run `cargo fix --bin "mirdb" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: mirdb v0.1.0 (/opt/rustwide/workdir/mirdb-server), snap v0.2.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mirdb-8f6a15cd9254178c) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] a: aaaaaaaaaaaaaaaaaaaa [INFO] [stderr] thread 'data_manager::test::test_fault_tolerance' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.4.0/src/block.rs:186:26: [INFO] [stderr] misaligned pointer dereference: address must be a multiple of 0x8 but is 0x72f411bff544 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5eeb469605da - std::backtrace_rs::backtrace::libunwind::trace::h45f575fdcec9cdc1 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x5eeb469605da - std::backtrace_rs::backtrace::trace_unsynchronized::heed7aaaa28209ac3 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x5eeb469605da - std::sys::backtrace::_print_fmt::h47d1e3547844619c [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5eeb469605da - ::fmt::h6c37de0361fa7462 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5eeb46989283 - core::fmt::rt::Argument::fmt::h6606d9b5304941e1 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x5eeb46989283 - core::fmt::write::hf77fe0583268bf67 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/fmt/mod.rs:1437:21 [INFO] [stderr] 6: 0x5eeb4695c8d3 - std::io::Write::write_fmt::h3b0b8069e2435ed6 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/io/mod.rs:1887:15 [INFO] [stderr] 7: 0x5eeb46960422 - std::sys::backtrace::BacktraceLock::print::hce84519ec0e7588e [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x5eeb46961a5e - std::panicking::default_hook::{{closure}}::h6e0433c33d1ed12b [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:284:22 [INFO] [stderr] 9: 0x5eeb469618a3 - std::panicking::default_hook::h19d4e9e8d7fba9e2 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:311:9 [INFO] [stderr] 10: 0x5eeb46863788 - as core::ops::function::Fn>::call::hd2aa5731f018e269 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1984:9 [INFO] [stderr] 11: 0x5eeb46863788 - test::test_main::{{closure}}::h1ae6fb8f80aa49b6 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:134:21 [INFO] [stderr] 12: 0x5eeb46962278 - as core::ops::function::Fn>::call::h4f2af756974b90d5 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1984:9 [INFO] [stderr] 13: 0x5eeb46962278 - std::panicking::rust_panic_with_hook::hd21771b96ea64164 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:825:13 [INFO] [stderr] 14: 0x5eeb46961f2a - std::panicking::begin_panic_handler::{{closure}}::h2e177f984fc72cbb [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:690:13 [INFO] [stderr] 15: 0x5eeb46960ab9 - std::sys::backtrace::__rust_end_short_backtrace::ha7f0445003f40b38 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 16: 0x5eeb46961bbd - rust_begin_unwind [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:681:5 [INFO] [stderr] 17: 0x5eeb4698775d - core::panicking::panic_nounwind_fmt::runtime::h5cd7a320af4ce258 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panicking.rs:117:22 [INFO] [stderr] 18: 0x5eeb4698775d - core::panicking::panic_nounwind_fmt::h6440a00e30860e7c [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/intrinsics/mod.rs:3840:9 [INFO] [stderr] 19: 0x5eeb46987941 - core::panicking::panic_misaligned_pointer_dereference::h24eba91de034ea18 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panicking.rs:286:5 [INFO] [stderr] 20: 0x5eeb468860ef - as rand_core::RngCore>::next_u64::{{closure}}::hddbc83df58611409 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.4.0/src/block.rs:186:26 [INFO] [stderr] 21: 0x5eeb46885fd9 - as rand_core::RngCore>::next_u64::h23e04c940edd3763 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.4.0/src/block.rs:200:13 [INFO] [stderr] 22: 0x5eeb46885fd9 - as rand_core::RngCore>::next_u64::hce44121841d3a284 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.6.5/src/rngs/adapter/reseeding.rs:125:9 [INFO] [stderr] 23: 0x5eeb46885fd9 - ::next_u64::hf259e4d45c9ea693 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.6.5/src/rngs/thread.rs:113:18 [INFO] [stderr] 24: 0x5eeb46885fd9 - rand::distributions::integer:: for rand::distributions::Standard>::sample::h4f52947abd1cca04 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.6.5/src/distributions/integer.rs:69:9 [INFO] [stderr] 25: 0x5eeb46886013 - rand::Rng::gen::h1be1b505b52fdd0d [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.6.5/src/lib.rs:215:9 [INFO] [stderr] 26: 0x5eeb46885c77 - as rand::distributions::uniform::UniformSampler>::sample_single::h302eb9ea4ced1949 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.6.5/src/distributions/uniform.rs:451:39 [INFO] [stderr] 27: 0x5eeb46886051 - rand::Rng::gen_range::h0e3ec14b37dbece2 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.6.5/src/lib.rs:245:9 [INFO] [stderr] 28: 0x5eeb468861a5 - ::gen_height::hed6b57b27f95fbbd [INFO] [stderr] at /opt/rustwide/workdir/skip-list/src/height_generator.rs:25:15 [INFO] [stderr] 29: 0x5eeb467c71a8 - skip_list::list::SkipList::insert::hc33bbb49c2b7061a [INFO] [stderr] at /opt/rustwide/workdir/skip-list/src/list.rs:124:22 [INFO] [stderr] 30: 0x5eeb4678c836 - as mirdb::types::Table>::insert::hf45b299e14318b50 [INFO] [stderr] at /opt/rustwide/workdir/mirdb-server/src/memtable.rs:69:9 [INFO] [stderr] 31: 0x5eeb467882c9 - mirdb::data_manager::DataManager::insert_::h52b991975eb18835 [INFO] [stderr] at /opt/rustwide/workdir/mirdb-server/src/data_manager.rs:191:17 [INFO] [stderr] 32: 0x5eeb46787d1a - mirdb::data_manager::DataManager::insert_with_option::h4c954ce5775362b6 [INFO] [stderr] at /opt/rustwide/workdir/mirdb-server/src/data_manager.rs:182:17 [INFO] [stderr] 33: 0x5eeb46787b1f - mirdb::data_manager::DataManager::insert::hbd44b59fa9ff5652 [INFO] [stderr] at /opt/rustwide/workdir/mirdb-server/src/data_manager.rs:173:9 [INFO] [stderr] 34: 0x5eeb46790ad5 - mirdb::data_manager::test::test_fault_tolerance::h6dea1710b18b0890 [INFO] [stderr] at /opt/rustwide/workdir/mirdb-server/src/data_manager.rs:464:13 [INFO] [stderr] 35: 0x5eeb4678ca6d - mirdb::data_manager::test::test_fault_tolerance::{{closure}}::h4a899e5bfe77d0ff [INFO] [stderr] at /opt/rustwide/workdir/mirdb-server/src/data_manager.rs:447:34 [INFO] [stderr] 36: 0x5eeb467d9436 - core::ops::function::FnOnce::call_once::h3b240000867b2a52 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 37: 0x5eeb468683cb - core::ops::function::FnOnce::call_once::hc1e06e2a5640370a [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 38: 0x5eeb468683cb - test::__rust_begin_short_backtrace::heb5aa654e2797f5b [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:632:18 [INFO] [stderr] 39: 0x5eeb46867cd9 - test::run_test_in_process::{{closure}}::h1329474a96646ad1 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:655:60 [INFO] [stderr] 40: 0x5eeb46867cd9 - as core::ops::function::FnOnce<()>>::call_once::hc87a7a8694e6d844 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 41: 0x5eeb46867cd9 - std::panicking::try::do_call::h3b8456af8bacf88f [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:573:40 [INFO] [stderr] 42: 0x5eeb46867cd9 - std::panicking::try::hc177f95c6592cea1 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:536:19 [INFO] [stderr] 43: 0x5eeb46867cd9 - std::panic::catch_unwind::h847b2adf17f7da7a [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panic.rs:358:14 [INFO] [stderr] 44: 0x5eeb46867cd9 - test::run_test_in_process::h824f7775d92af51e [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:655:27 [INFO] [stderr] 45: 0x5eeb46867cd9 - test::run_test::{{closure}}::hdfaf20d18f7af8f6 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:576:43 [INFO] [stderr] 46: 0x5eeb4682aa7a - test::run_test::{{closure}}::he83661a0a1c97403 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:606:41 [INFO] [stderr] 47: 0x5eeb4682aa7a - std::sys::backtrace::__rust_begin_short_backtrace::hd3a78fd401685e9b [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:152:18 [INFO] [stderr] 48: 0x5eeb4682e4b6 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h78d6a457dee8dc60 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/thread/mod.rs:561:17 [INFO] [stderr] 49: 0x5eeb4682e4b6 - as core::ops::function::FnOnce<()>>::call_once::hc4069b3cc6600bde [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 50: 0x5eeb4682e4b6 - std::panicking::try::do_call::h0dde49ad0af85fa8 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:573:40 [INFO] [stderr] 51: 0x5eeb4682e4b6 - std::panicking::try::h918d0d3a7e94727d [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:536:19 [INFO] [stderr] 52: 0x5eeb4682e4b6 - std::panic::catch_unwind::h7016984cdcdd8b9e [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panic.rs:358:14 [INFO] [stderr] 53: 0x5eeb4682e4b6 - std::thread::Builder::spawn_unchecked_::{{closure}}::h2766f51195a4a65d [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/thread/mod.rs:559:30 [INFO] [stderr] 54: 0x5eeb4682e4b6 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbd6e39e4ea63a011 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 55: 0x5eeb46966eab - as core::ops::function::FnOnce>::call_once::h34bec2a4cdedc102 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1970:9 [INFO] [stderr] 56: 0x5eeb46966eab - as core::ops::function::FnOnce>::call_once::ha62c0d1861fdf293 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1970:9 [INFO] [stderr] 57: 0x5eeb46966eab - std::sys::pal::unix::thread::Thread::new::thread_start::h71fe57097907b3f8 [INFO] [stderr] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stderr] 58: 0x72f4120a1ac3 - [INFO] [stderr] 59: 0x72f412132a04 - clone [INFO] [stderr] 60: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `-p mirdb --bin mirdb` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/mirdb-8f6a15cd9254178c` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "2e8b8c4127912a9de96131eb8571343eeb59700ad4e07a8130af5ee26d742a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e8b8c4127912a9de96131eb8571343eeb59700ad4e07a8130af5ee26d742a47", kill_on_drop: false }` [INFO] [stdout] 2e8b8c4127912a9de96131eb8571343eeb59700ad4e07a8130af5ee26d742a47