[INFO] cloning repository https://github.com/yifeikong/garage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yifeikong/garage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyifeikong%2Fgarage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyifeikong%2Fgarage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e1373fafcf1789efa876fc9c66fb85cd74d3a31 [INFO] checking yifeikong/garage against try#b6bca0d7327839b5e3f7a7779947cb9113d08917+rustflags=-Zstrict-projection-item-bounds for 150662-leaf [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyifeikong%2Fgarage" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yifeikong/garage [INFO] finished tweaking git repo https://github.com/yifeikong/garage [INFO] tweaked toml for git repo https://github.com/yifeikong/garage written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yifeikong/garage on toolchain b6bca0d7327839b5e3f7a7779947cb9113d08917 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yifeikong/garage 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" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3baab476de1e8b443a76b7df819d7a8c85cf7975d3f2948ffb41ab004108648e [INFO] running `Command { std: "docker" "start" "-a" "3baab476de1e8b443a76b7df819d7a8c85cf7975d3f2948ffb41ab004108648e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3baab476de1e8b443a76b7df819d7a8c85cf7975d3f2948ffb41ab004108648e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3baab476de1e8b443a76b7df819d7a8c85cf7975d3f2948ffb41ab004108648e", kill_on_drop: false }` [INFO] [stdout] 3baab476de1e8b443a76b7df819d7a8c85cf7975d3f2948ffb41ab004108648e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zstrict-projection-item-bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a7d9914fe64b51100c85b8bfbb5337efcb6a5d568d1514643ab6ab744141735 [INFO] running `Command { std: "docker" "start" "-a" "0a7d9914fe64b51100c85b8bfbb5337efcb6a5d568d1514643ab6ab744141735", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking ppv-lite86 v0.2.14 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling err-derive v0.3.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking arc-swap v1.4.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking xxhash-rust v0.8.2 [INFO] [stderr] Checking gethostname v0.2.1 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling zstd-safe v4.1.1+zstd.1.5.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking xmlparser v0.13.3 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking rmp v0.8.10 [INFO] [stderr] Checking http-range v0.1.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking hexdump v0.1.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Compiling zstd-sys v1.6.1+zstd.1.5.0 [INFO] [stderr] Checking roxmltree v0.14.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling git-version-macro v0.3.5 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Checking git-version v0.3.5 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking rmp-serde v0.14.4 [INFO] [stderr] Checking rmp-serde v0.15.5 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking quick-xml v0.21.0 [INFO] [stderr] Checking zstd v0.9.0+zstd.1.5.0 [INFO] [stderr] Checking kuska-sodiumoxide v0.2.5-0 [INFO] [stderr] Checking kuska-handshake v0.2.0 [INFO] [stderr] Checking netapp v0.3.0 [INFO] [stderr] Checking garage_util v0.6.0 (/opt/rustwide/workdir/src/util) [INFO] [stderr] Checking garage_util v0.5.1 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_io_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] 14 | #[error(display = "IO error: {}", _0)] [INFO] [stdout] 15 | Io(#[error(source)] io::Error), [INFO] [stdout] | --------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_hyper_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 18 | Hyper(#[error(source)] hyper::Error), [INFO] [stdout] | ------------ `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_http_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 21 | Http(#[error(source)] http::Error), [INFO] [stdout] | ----------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_http_header_ToStrError_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 24 | HttpHeader(#[error(source)] http::header::ToStrError), [INFO] [stdout] | ------------------------ `ToStrError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_netapp_error_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 27 | Netapp(#[error(source)] netapp::error::Error), [INFO] [stdout] | -------------------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_sled_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 30 | Sled(#[error(source)] sled::Error), [INFO] [stdout] | ----------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_rmp_serde_encode_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 33 | RmpEncode(#[error(source)] rmp_serde::encode::Error), [INFO] [stdout] | ------------------------ `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_rmp_serde_decode_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 35 | RmpDecode(#[error(source)] rmp_serde::decode::Error), [INFO] [stdout] | ------------------------ `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_serde_json_error_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 37 | Json(#[error(source)] serde_json::error::Error), [INFO] [stdout] | ------------------------ `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_toml_de_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 39 | TomlDecode(#[error(source)] toml::de::Error), [INFO] [stdout] | --------------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_tokio_task_JoinError_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 42 | TokioJoin(#[error(source)] tokio::task::JoinError), [INFO] [stdout] | ---------------------- `JoinError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_tokio_sync_AcquireError_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 45 | TokioSemAcquire(#[error(source)] tokio::sync::AcquireError), [INFO] [stdout] | ------------------------- `AcquireError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking garage_rpc v0.6.0 (/opt/rustwide/workdir/src/rpc) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_io_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] 14 | #[error(display = "IO error: {}", _0)] [INFO] [stdout] 15 | Io(#[error(source)] io::Error), [INFO] [stdout] | --------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_hyper_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 18 | Hyper(#[error(source)] hyper::Error), [INFO] [stdout] | ------------ `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_http_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 21 | Http(#[error(source)] http::Error), [INFO] [stdout] | ----------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_http_header_ToStrError_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 24 | HttpHeader(#[error(source)] http::header::ToStrError), [INFO] [stdout] | ------------------------ `ToStrError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_netapp_error_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 27 | Netapp(#[error(source)] netapp::error::Error), [INFO] [stdout] | -------------------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_sled_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 30 | Sled(#[error(source)] sled::Error), [INFO] [stdout] | ----------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_rmp_serde_encode_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 33 | RmpEncode(#[error(source)] rmp_serde::encode::Error), [INFO] [stdout] | ------------------------ `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_rmp_serde_decode_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 35 | RmpDecode(#[error(source)] rmp_serde::decode::Error), [INFO] [stdout] | ------------------------ `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_serde_json_error_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 37 | Json(#[error(source)] serde_json::error::Error), [INFO] [stdout] | ------------------------ `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_toml_de_Error_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 39 | TomlDecode(#[error(source)] toml::de::Error), [INFO] [stdout] | --------------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_tokio_task_JoinError_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 42 | TokioJoin(#[error(source)] tokio::task::JoinError), [INFO] [stdout] | ---------------------- `JoinError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/util/error.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_tokio_sync_AcquireError_FOR_Error` [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 45 | TokioSemAcquire(#[error(source)] tokio::sync::AcquireError), [INFO] [stdout] | ------------------------- `AcquireError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be shared between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Sync` [INFO] [stdout] | [INFO] [stdout] 107 | H: EndpointHandler, S: std::marker::Sync [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be sent between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 107 | H: EndpointHandler, S: std::marker::Send [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Deserialize<'_>` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `for<'de> consul::_::_serde::Deserialize<'de>` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Deserialize` [INFO] [stdout] | [INFO] [stdout] 107 | H: EndpointHandler, S: consul::_::_serde::Deserialize<'_> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Serialize` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `consul::_::_serde::Serialize` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Serialize` [INFO] [stdout] | [INFO] [stdout] 107 | H: EndpointHandler, S: consul::_::_serde::Serialize [INFO] [stdout] | +++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be shared between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Sync` [INFO] [stdout] | [INFO] [stdout] 121 | H: EndpointHandler, S: std::marker::Sync [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be sent between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 121 | H: EndpointHandler, S: std::marker::Send [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be shared between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Sync` [INFO] [stdout] | [INFO] [stdout] 107 | H: EndpointHandler, S: std::marker::Sync [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Deserialize<'_>` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `for<'de> consul::_::_serde::Deserialize<'de>` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Deserialize` [INFO] [stdout] | [INFO] [stdout] 121 | H: EndpointHandler, S: consul::_::_serde::Deserialize<'_> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be sent between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 107 | H: EndpointHandler, S: std::marker::Send [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Serialize` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `consul::_::_serde::Serialize` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Serialize` [INFO] [stdout] | [INFO] [stdout] 121 | H: EndpointHandler, S: consul::_::_serde::Serialize [INFO] [stdout] | +++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Deserialize<'_>` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `for<'de> consul::_::_serde::Deserialize<'de>` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Deserialize` [INFO] [stdout] | [INFO] [stdout] 107 | H: EndpointHandler, S: consul::_::_serde::Deserialize<'_> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be shared between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Sync` [INFO] [stdout] | [INFO] [stdout] 152 | H: EndpointHandler, S: std::marker::Sync [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Serialize` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `consul::_::_serde::Serialize` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Serialize` [INFO] [stdout] | [INFO] [stdout] 107 | H: EndpointHandler, S: consul::_::_serde::Serialize [INFO] [stdout] | +++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be sent between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 152 | H: EndpointHandler, S: std::marker::Send [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Deserialize<'_>` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `for<'de> consul::_::_serde::Deserialize<'de>` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Deserialize` [INFO] [stdout] | [INFO] [stdout] 152 | H: EndpointHandler, S: consul::_::_serde::Deserialize<'_> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be shared between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Sync` [INFO] [stdout] | [INFO] [stdout] 121 | H: EndpointHandler, S: std::marker::Sync [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Serialize` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `consul::_::_serde::Serialize` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Serialize` [INFO] [stdout] | [INFO] [stdout] 152 | H: EndpointHandler, S: consul::_::_serde::Serialize [INFO] [stdout] | +++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be sent between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 121 | H: EndpointHandler, S: std::marker::Send [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Deserialize<'_>` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `for<'de> consul::_::_serde::Deserialize<'de>` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Deserialize` [INFO] [stdout] | [INFO] [stdout] 121 | H: EndpointHandler, S: consul::_::_serde::Deserialize<'_> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be shared between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Sync` [INFO] [stdout] | [INFO] [stdout] 174 | H: EndpointHandler, S: std::marker::Sync [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be sent between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 174 | H: EndpointHandler, S: std::marker::Send [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Serialize` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `consul::_::_serde::Serialize` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Serialize` [INFO] [stdout] | [INFO] [stdout] 121 | H: EndpointHandler, S: consul::_::_serde::Serialize [INFO] [stdout] | +++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be shared between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Sync` [INFO] [stdout] | [INFO] [stdout] 152 | H: EndpointHandler, S: std::marker::Sync [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be sent between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 152 | H: EndpointHandler, S: std::marker::Send [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Deserialize<'_>` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `for<'de> consul::_::_serde::Deserialize<'de>` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Deserialize` [INFO] [stdout] | [INFO] [stdout] 152 | H: EndpointHandler, S: consul::_::_serde::Deserialize<'_> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Deserialize<'_>` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `for<'de> consul::_::_serde::Deserialize<'de>` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Deserialize` [INFO] [stdout] | [INFO] [stdout] 174 | H: EndpointHandler, S: consul::_::_serde::Deserialize<'_> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Serialize` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `consul::_::_serde::Serialize` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Serialize` [INFO] [stdout] | [INFO] [stdout] 174 | H: EndpointHandler, S: consul::_::_serde::Serialize [INFO] [stdout] | +++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be shared between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | M: Rpc> + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Sync` [INFO] [stdout] | [INFO] [stdout] 198 | S: Send + std::marker::Sync, [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Serialize` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `consul::_::_serde::Serialize` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Serialize` [INFO] [stdout] | [INFO] [stdout] 152 | H: EndpointHandler, S: consul::_::_serde::Serialize [INFO] [stdout] | +++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | M: Rpc> + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Deserialize<'_>` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `for<'de> consul::_::_serde::Deserialize<'de>` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Deserialize` [INFO] [stdout] | [INFO] [stdout] 198 | S: Send + consul::_::_serde::Deserialize<'_>, [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | M: Rpc> + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Serialize` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `consul::_::_serde::Serialize` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Serialize` [INFO] [stdout] | [INFO] [stdout] 198 | S: Send + consul::_::_serde::Serialize, [INFO] [stdout] | ++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be shared between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Sync` [INFO] [stdout] | [INFO] [stdout] 174 | H: EndpointHandler, S: std::marker::Sync [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be sent between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 174 | H: EndpointHandler, S: std::marker::Send [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Deserialize<'_>` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `for<'de> consul::_::_serde::Deserialize<'de>` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Deserialize` [INFO] [stdout] | [INFO] [stdout] 174 | H: EndpointHandler, S: consul::_::_serde::Deserialize<'_> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | M: Rpc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Serialize` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `consul::_::_serde::Serialize` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Serialize` [INFO] [stdout] | [INFO] [stdout] 174 | H: EndpointHandler, S: consul::_::_serde::Serialize [INFO] [stdout] | +++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be shared between threads safely [INFO] [stdout] --> src/rpc/rpc_helper.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | M: Rpc> + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `S` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it appears within the type `Result` [INFO] [stdout] --> /rustc/b6bca0d7327839b5e3f7a7779947cb9113d08917/library/core/src/result.rs:557:9 [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Sync` [INFO] [stdout] | [INFO] [stdout] 198 | S: Send + std::marker::Sync, [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | M: Rpc> + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Deserialize<'_>` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `for<'de> consul::_::_serde::Deserialize<'de>` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Deserialize` [INFO] [stdout] | [INFO] [stdout] 198 | S: Send + consul::_::_serde::Deserialize<'_>, [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: consul::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/rpc/rpc_helper.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | M: Rpc> + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `consul::_::_serde::Serialize` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = note: required for `Result` to implement `consul::_::_serde::Serialize` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Serialize` [INFO] [stdout] | [INFO] [stdout] 198 | S: Send + consul::_::_serde::Serialize, [INFO] [stdout] | ++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking garage_rpc v0.5.1 [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `garage_rpc` (lib test) due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `garage_rpc` (lib) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "0a7d9914fe64b51100c85b8bfbb5337efcb6a5d568d1514643ab6ab744141735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a7d9914fe64b51100c85b8bfbb5337efcb6a5d568d1514643ab6ab744141735", kill_on_drop: false }` [INFO] [stdout] 0a7d9914fe64b51100c85b8bfbb5337efcb6a5d568d1514643ab6ab744141735