[INFO] fetching crate kucoin_api 1.4.11... [INFO] testing kucoin_api-1.4.11 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate kucoin_api 1.4.11 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate kucoin_api 1.4.11 [INFO] finished tweaking crates.io crate kucoin_api 1.4.11 [INFO] tweaked toml for crates.io crate kucoin_api 1.4.11 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kucoin_api 1.4.11 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kucoin_api 1.4.11 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded opaque-debug v0.3.0 [INFO] [stderr] Downloaded sha-1 v0.9.8 [INFO] [stderr] Downloaded tempfile v3.8.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.69 [INFO] [stderr] Downloaded rustls-pemfile v1.0.3 [INFO] [stderr] Downloaded url v2.4.1 [INFO] [stderr] Downloaded futures-task v0.3.29 [INFO] [stderr] Downloaded opaque-debug v0.2.3 [INFO] [stderr] Downloaded streamunordered v0.5.3 [INFO] [stderr] Downloaded byte-tools v0.3.1 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.88 [INFO] [stderr] Downloaded crypto-mac v0.7.0 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded futures-executor v0.3.29 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded socket2 v0.4.10 [INFO] [stderr] Downloaded futures v0.3.29 [INFO] [stderr] Downloaded reqwest v0.11.22 [INFO] [stderr] Downloaded wasm-bindgen v0.2.88 [INFO] [stderr] Downloaded openssl v0.10.59 [INFO] [stderr] Downloaded webpki-roots v0.25.2 [INFO] [stderr] Downloaded gimli v0.28.0 [INFO] [stderr] Downloaded object v0.32.1 [INFO] [stderr] Downloaded serde_json v1.0.108 [INFO] [stderr] Downloaded base64 v0.21.5 [INFO] [stderr] Downloaded futures-util v0.3.29 [INFO] [stderr] Downloaded h2 v0.3.21 [INFO] [stderr] Downloaded web-sys v0.3.65 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.88 [INFO] [stderr] Downloaded openssl-sys v0.9.95 [INFO] [stderr] Downloaded js-sys v0.3.65 [INFO] [stderr] Downloaded security-framework v2.9.2 [INFO] [stderr] Downloaded hmac v0.7.1 [INFO] [stderr] Downloaded tokio-util v0.7.10 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.38 [INFO] [stderr] Downloaded serde v1.0.191 [INFO] [stderr] Downloaded subtle v1.0.0 [INFO] [stderr] Downloaded pin-project v1.1.3 [INFO] [stderr] Downloaded tokio v1.33.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.88 [INFO] [stderr] Downloaded serde_derive v1.0.191 [INFO] [stderr] Downloaded digest v0.8.1 [INFO] [stderr] Downloaded rustls v0.21.8 [INFO] [stderr] Downloaded block-padding v0.1.5 [INFO] [stderr] Downloaded block-buffer v0.7.3 [INFO] [stderr] Downloaded generic-array v0.12.4 [INFO] [stderr] Downloaded fake-simd v0.1.2 [INFO] [stderr] Downloaded sha2 v0.8.2 [INFO] [stderr] Downloaded futures-macro v0.3.29 [INFO] [stderr] Downloaded futures-sink v0.3.29 [INFO] [stderr] Downloaded hermit-abi v0.3.3 [INFO] [stderr] Downloaded socket2 v0.5.5 [INFO] [stderr] Downloaded bitflags v2.4.1 [INFO] [stderr] Downloaded errno v0.3.5 [INFO] [stderr] Downloaded libc v0.2.150 [INFO] [stderr] Downloaded futures-channel v0.3.29 [INFO] [stderr] Downloaded futures-core v0.3.29 [INFO] [stderr] Downloaded tungstenite v0.12.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.13.0 [INFO] [stderr] Downloaded security-framework-sys v2.9.1 [INFO] [stderr] Downloaded futures-io v0.3.29 [INFO] [stderr] Downloaded input_buffer v0.4.0 [INFO] [stderr] Downloaded rustix v0.38.21 [INFO] [stderr] Downloaded syn v2.0.39 [INFO] [stderr] Downloaded smallvec v1.11.1 [INFO] [stderr] Downloaded pin-project-internal v1.1.3 [INFO] [stderr] Downloaded mio v0.8.9 [INFO] [stderr] Downloaded tungstenite v0.13.0 [INFO] [stderr] Downloaded linux-raw-sys v0.4.10 [INFO] [stderr] Downloaded encoding_rs v0.8.33 [INFO] [stderr] Downloaded ring v0.17.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c729a898cd3a81244fd2a96ebf00e4eed82c2093a7671965ffbd0a2aed80ac49 [INFO] running `Command { std: "docker" "start" "-a" "c729a898cd3a81244fd2a96ebf00e4eed82c2093a7671965ffbd0a2aed80ac49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c729a898cd3a81244fd2a96ebf00e4eed82c2093a7671965ffbd0a2aed80ac49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c729a898cd3a81244fd2a96ebf00e4eed82c2093a7671965ffbd0a2aed80ac49", kill_on_drop: false }` [INFO] [stdout] c729a898cd3a81244fd2a96ebf00e4eed82c2093a7671965ffbd0a2aed80ac49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc68f618046395f62a2c571dc4d77391542c57011c1e492da8d01de0df6cf005 [INFO] running `Command { std: "docker" "start" "-a" "bc68f618046395f62a2c571dc4d77391542c57011c1e492da8d01de0df6cf005", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling serde v1.0.191 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustls v0.21.8 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling webpki-roots v0.25.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling serde_derive v1.0.191 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling streamunordered v0.5.3 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-tungstenite v0.13.0 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling kucoin_api v1.4.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_APIError` [INFO] [stdout] 2 | pub enum APIError { [INFO] [stdout] | -------- `APIError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/error.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_APIError` [INFO] [stdout] 2 | pub enum APIError { [INFO] [stdout] | -------- `APIError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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 1m 12s [INFO] running `Command { std: "docker" "inspect" "bc68f618046395f62a2c571dc4d77391542c57011c1e492da8d01de0df6cf005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc68f618046395f62a2c571dc4d77391542c57011c1e492da8d01de0df6cf005", kill_on_drop: false }` [INFO] [stdout] bc68f618046395f62a2c571dc4d77391542c57011c1e492da8d01de0df6cf005 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf932cf22c586c4cf064ecc3f47108a347f9a9bb56df32d5485fe24e0779d444 [INFO] running `Command { std: "docker" "start" "-a" "cf932cf22c586c4cf064ecc3f47108a347f9a9bb56df32d5485fe24e0779d444", kill_on_drop: false }` [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_APIError` [INFO] [stdout] 2 | pub enum APIError { [INFO] [stdout] | -------- `APIError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/error.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_APIError` [INFO] [stdout] 2 | pub enum APIError { [INFO] [stdout] | -------- `APIError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kucoin_api v1.4.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_APIError` [INFO] [stdout] 2 | pub enum APIError { [INFO] [stdout] | -------- `APIError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/error.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_APIError` [INFO] [stdout] 2 | pub enum APIError { [INFO] [stdout] | -------- `APIError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.74s [INFO] running `Command { std: "docker" "inspect" "cf932cf22c586c4cf064ecc3f47108a347f9a9bb56df32d5485fe24e0779d444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf932cf22c586c4cf064ecc3f47108a347f9a9bb56df32d5485fe24e0779d444", kill_on_drop: false }` [INFO] [stdout] cf932cf22c586c4cf064ecc3f47108a347f9a9bb56df32d5485fe24e0779d444 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 960bf78dcc5b307a10049b85d8ed3b56a8a589b9b06c126732e14cb0ccc82e7f [INFO] running `Command { std: "docker" "start" "-a" "960bf78dcc5b307a10049b85d8ed3b56a8a589b9b06c126732e14cb0ccc82e7f", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_APIError` [INFO] [stderr] 2 | pub enum APIError { [INFO] [stderr] | -------- `APIError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_APIError` [INFO] [stderr] 2 | pub enum APIError { [INFO] [stderr] | -------- `APIError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `kucoin_api` (lib) generated 2 warnings [INFO] [stderr] warning: `kucoin_api` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kucoin_api-31c75b504847bfe5) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test trade::test::use_build_pattern_all_fills_optionals ... ok [INFO] [stdout] test trade::test::use_build_pattern_some_fills_optionals ... ok [INFO] [stdout] test trade::test::use_build_pattern_all_order_info_optionals ... ok [INFO] [stdout] test trade::test::use_build_pattern_some_order_info_optionals ... ok [INFO] [stdout] test utils::test::format_query_test ... ok [INFO] [stdout] test trade::test::use_build_pattern_some_order_optionals ... ok [INFO] [stderr] Doc-tests kucoin_api [INFO] [stdout] test trade::test::use_build_pattern_all_order_optionals ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - (line 126) ... ignored [INFO] [stdout] test src/lib.rs - (line 68) ... ignored [INFO] [stdout] test src/lib.rs - (line 89) ... ignored [INFO] [stdout] test src/trade.rs - trade::OrderOptionals (line 368) ... ok [INFO] [stdout] test src/trade.rs - trade::OrderInfoOptionals (line 492) ... ok [INFO] [stdout] test src/lib.rs - (line 35) ... ok [INFO] [stdout] test src/trade.rs - trade::FillsOptionals (line 597) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 1.67s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "960bf78dcc5b307a10049b85d8ed3b56a8a589b9b06c126732e14cb0ccc82e7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "960bf78dcc5b307a10049b85d8ed3b56a8a589b9b06c126732e14cb0ccc82e7f", kill_on_drop: false }` [INFO] [stdout] 960bf78dcc5b307a10049b85d8ed3b56a8a589b9b06c126732e14cb0ccc82e7f