[INFO] fetching crate tchannel_rs 0.0.2... [INFO] building tchannel_rs-0.0.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate tchannel_rs 0.0.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate tchannel_rs 0.0.2 [INFO] finished tweaking crates.io crate tchannel_rs 0.0.2 [INFO] tweaked toml for crates.io crate tchannel_rs 0.0.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tchannel_rs 0.0.2 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tchannel_rs 0.0.2 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing v0.1.33 [INFO] [stderr] Downloaded derive_builder_macro v0.11.1 [INFO] [stderr] Downloaded serial_test_derive v0.6.0 [INFO] [stderr] Downloaded strum v0.24.0 [INFO] [stderr] Downloaded thiserror v1.0.30 [INFO] [stderr] Downloaded async-trait v0.1.53 [INFO] [stderr] Downloaded atoi v1.0.0 [INFO] [stderr] Downloaded anyhow v1.0.56 [INFO] [stderr] Downloaded mio v0.8.2 [INFO] [stderr] Downloaded derive_builder_core v0.11.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.37 [INFO] [stderr] Downloaded thiserror-impl v1.0.30 [INFO] [stderr] Downloaded tracing-attributes v0.1.20 [INFO] [stderr] Downloaded derive_builder v0.11.1 [INFO] [stderr] Downloaded syn v1.0.91 [INFO] [stderr] Downloaded serde v1.0.136 [INFO] [stderr] Downloaded regex v1.5.5 [INFO] [stderr] Downloaded test-case v2.0.2 [INFO] [stderr] Downloaded ordered-float v1.1.1 [INFO] [stderr] Downloaded async-stream-impl v0.3.3 [INFO] [stderr] Downloaded tokio-stream v0.1.8 [INFO] [stderr] Downloaded log v0.4.16 [INFO] [stderr] Downloaded tracing-core v0.1.25 [INFO] [stderr] Downloaded integer-encoding v3.0.3 [INFO] [stderr] Downloaded thrift v0.15.0 [INFO] [stderr] Downloaded async-stream v0.3.3 [INFO] [stderr] Downloaded tokio-test v0.4.2 [INFO] [stderr] Downloaded tokio-util v0.7.1 [INFO] [stderr] Downloaded bb8 v0.8.0 [INFO] [stderr] Downloaded libc v0.2.123 [INFO] [stderr] Downloaded serial_test v0.6.0 [INFO] [stderr] Downloaded strum_macros v0.24.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.2 [INFO] [stderr] Downloaded quote v1.0.18 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.34.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.34.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.34.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.34.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.34.0 [INFO] [stderr] Downloaded serde_json v1.0.79 [INFO] [stderr] Downloaded windows-sys v0.34.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70194f8842a4a21817c8c80647c663f8f7e84e2075c7c8eee6d6695340d2be84 [INFO] running `Command { std: "docker" "start" "-a" "70194f8842a4a21817c8c80647c663f8f7e84e2075c7c8eee6d6695340d2be84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70194f8842a4a21817c8c80647c663f8f7e84e2075c7c8eee6d6695340d2be84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70194f8842a4a21817c8c80647c663f8f7e84e2075c7c8eee6d6695340d2be84", kill_on_drop: false }` [INFO] [stdout] 70194f8842a4a21817c8c80647c663f8f7e84e2075c7c8eee6d6695340d2be84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d34749aa94c619d630a21dd43e7c7fb2eb7a84857e793f476a424d07847a0f57 [INFO] running `Command { std: "docker" "start" "-a" "d34749aa94c619d630a21dd43e7c7fb2eb7a84857e793f476a424d07847a0f57", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling strum v0.24.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.11.1 [INFO] [stderr] Compiling derive_builder_macro v0.11.1 [INFO] [stderr] Compiling derive_builder v0.11.1 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling bb8 v0.8.0 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tchannel_rs v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `RetryFlagValue` is never used [INFO] [stdout] --> src/frames/headers.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum RetryFlagValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tracing` is never used [INFO] [stdout] --> src/frames/payloads.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 207 | pub trait CallFields { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 208 | fn headers(&self) -> &HashMap; [INFO] [stdout] 209 | fn tracing(&self) -> &Tracing; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cancel` is never constructed [INFO] [stdout] --> src/frames/payloads.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub struct Cancel { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Claim` is never constructed [INFO] [stdout] --> src/frames/payloads.rs:443:12 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct Claim { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/frames/mod.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stdout] 17 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/frames/payloads.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ChecksumType` [INFO] [stdout] 31 | pub enum ChecksumType { [INFO] [stdout] | ------------ `ChecksumType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/frames/payloads.rs:30:56 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ChecksumType` [INFO] [stdout] 31 | pub enum ChecksumType { [INFO] [stdout] | ------------ `ChecksumType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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/frames/payloads.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ErrorCode` [INFO] [stdout] 42 | pub enum ErrorCode { [INFO] [stdout] | --------- `ErrorCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/frames/payloads.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ErrorCode` [INFO] [stdout] 42 | pub enum ErrorCode { [INFO] [stdout] | --------- `ErrorCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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/messages/mod.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ResponseCode` [INFO] [stdout] 58 | pub enum ResponseCode { [INFO] [stdout] | ------------ `ResponseCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/messages/mod.rs:57:60 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ResponseCode` [INFO] [stdout] 58 | pub enum ResponseCode { [INFO] [stdout] | ------------ `ResponseCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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 24.87s [INFO] running `Command { std: "docker" "inspect" "d34749aa94c619d630a21dd43e7c7fb2eb7a84857e793f476a424d07847a0f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d34749aa94c619d630a21dd43e7c7fb2eb7a84857e793f476a424d07847a0f57", kill_on_drop: false }` [INFO] [stdout] d34749aa94c619d630a21dd43e7c7fb2eb7a84857e793f476a424d07847a0f57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7552d17a9ee873af725c86575f3758f6caac5bf406328e18ff882776a44264b0 [INFO] running `Command { std: "docker" "start" "-a" "7552d17a9ee873af725c86575f3758f6caac5bf406328e18ff882776a44264b0", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling serial_test_derive v0.6.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling test-case v2.0.2 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling serial_test v0.6.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling bb8 v0.8.0 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-test v0.4.2 [INFO] [stderr] Compiling tchannel_rs v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `RetryFlagValue` is never used [INFO] [stdout] --> src/frames/headers.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum RetryFlagValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tracing` is never used [INFO] [stdout] --> src/frames/payloads.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 207 | pub trait CallFields { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 208 | fn headers(&self) -> &HashMap; [INFO] [stdout] 209 | fn tracing(&self) -> &Tracing; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cancel` is never constructed [INFO] [stdout] --> src/frames/payloads.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub struct Cancel { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Claim` is never constructed [INFO] [stdout] --> src/frames/payloads.rs:443:12 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct Claim { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/frames/mod.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stdout] 17 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/frames/payloads.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ChecksumType` [INFO] [stdout] 31 | pub enum ChecksumType { [INFO] [stdout] | ------------ `ChecksumType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/frames/payloads.rs:30:56 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ChecksumType` [INFO] [stdout] 31 | pub enum ChecksumType { [INFO] [stdout] | ------------ `ChecksumType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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/frames/payloads.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ErrorCode` [INFO] [stdout] 42 | pub enum ErrorCode { [INFO] [stdout] | --------- `ErrorCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/frames/payloads.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ErrorCode` [INFO] [stdout] 42 | pub enum ErrorCode { [INFO] [stdout] | --------- `ErrorCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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/messages/mod.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ResponseCode` [INFO] [stdout] 58 | pub enum ResponseCode { [INFO] [stdout] | ------------ `ResponseCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/messages/mod.rs:57:60 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ResponseCode` [INFO] [stdout] 58 | pub enum ResponseCode { [INFO] [stdout] | ------------ `ResponseCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RetryFlagValue` is never used [INFO] [stdout] --> src/frames/headers.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum RetryFlagValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tracing` is never used [INFO] [stdout] --> src/frames/payloads.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 207 | pub trait CallFields { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 208 | fn headers(&self) -> &HashMap; [INFO] [stdout] 209 | fn tracing(&self) -> &Tracing; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cancel` is never constructed [INFO] [stdout] --> src/frames/payloads.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub struct Cancel { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Claim` is never constructed [INFO] [stdout] --> src/frames/payloads.rs:443:12 [INFO] [stdout] | [INFO] [stdout] 443 | pub struct Claim { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/frames/mod.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stdout] 17 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/frames/payloads.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ChecksumType` [INFO] [stdout] 31 | pub enum ChecksumType { [INFO] [stdout] | ------------ `ChecksumType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/frames/payloads.rs:30:56 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ChecksumType` [INFO] [stdout] 31 | pub enum ChecksumType { [INFO] [stdout] | ------------ `ChecksumType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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/frames/payloads.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ErrorCode` [INFO] [stdout] 42 | pub enum ErrorCode { [INFO] [stdout] | --------- `ErrorCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/frames/payloads.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ErrorCode` [INFO] [stdout] 42 | pub enum ErrorCode { [INFO] [stdout] | --------- `ErrorCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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/messages/mod.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ResponseCode` [INFO] [stdout] 58 | pub enum ResponseCode { [INFO] [stdout] | ------------ `ResponseCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/messages/mod.rs:57:60 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Copy, Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ResponseCode` [INFO] [stdout] 58 | pub enum ResponseCode { [INFO] [stdout] | ------------ `ResponseCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HandlerResult` and `RequestHandler` [INFO] [stdout] --> tests/json.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use tchannel_rs::handler::{HandlerResult, RequestHandler}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tchannel_rs::messages::MessageChannel` [INFO] [stdout] --> tests/json.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tchannel_rs::messages::MessageChannel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tchannel_rs::Config` [INFO] [stdout] --> tests/json.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tchannel_rs::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TChannel` and `TResult` [INFO] [stdout] --> tests/json.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use tchannel_rs::{TChannel, TResult}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EchoHandler` is never constructed [INFO] [stdout] --> tests/json.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct EchoHandler {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOCAL_SERVER` is never used [INFO] [stdout] --> tests/json.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | const LOCAL_SERVER: &str = "127.0.0.1:8888"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.76s [INFO] running `Command { std: "docker" "inspect" "7552d17a9ee873af725c86575f3758f6caac5bf406328e18ff882776a44264b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7552d17a9ee873af725c86575f3758f6caac5bf406328e18ff882776a44264b0", kill_on_drop: false }` [INFO] [stdout] 7552d17a9ee873af725c86575f3758f6caac5bf406328e18ff882776a44264b0