[INFO] fetching crate mtgapi-client 0.2.0... [INFO] testing mtgapi-client-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate mtgapi-client 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate mtgapi-client 0.2.0 [INFO] finished tweaking crates.io crate mtgapi-client 0.2.0 [INFO] tweaked toml for crates.io crate mtgapi-client 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mtgapi-client 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 205 packages to latest compatible versions [INFO] [stderr] Adding hyper-rustls v0.20.0 (available: v0.27.7) [INFO] [stderr] Adding itertools v0.9.0 (available: v0.14.0) [INFO] [stderr] Adding reqwest v0.10.10 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6c19d6f63dd870b01b4d96c9e2e7379e9fe396127f0cd7be14bab3852953ef5 [INFO] running `Command { std: "docker" "start" "-a" "d6c19d6f63dd870b01b4d96c9e2e7379e9fe396127f0cd7be14bab3852953ef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6c19d6f63dd870b01b4d96c9e2e7379e9fe396127f0cd7be14bab3852953ef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c19d6f63dd870b01b4d96c9e2e7379e9fe396127f0cd7be14bab3852953ef5", kill_on_drop: false }` [INFO] [stdout] d6c19d6f63dd870b01b4d96c9e2e7379e9fe396127f0cd7be14bab3852953ef5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d6d6b8773b55865569e29732947da0713de18effd5146536960ab80d5cd75de [INFO] running `Command { std: "docker" "start" "-a" "5d6d6b8773b55865569e29732947da0713de18effd5146536960ab80d5cd75de", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling ct-logs v0.6.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling rustls-native-certs v0.3.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling hyper-rustls v0.20.0 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling mtgapi-client v0.2.0 (/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/api/error.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MtgApiErrorKind` [INFO] [stdout] 14 | pub enum MtgApiErrorKind { [INFO] [stdout] | --------------- `MtgApiErrorKind` 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/api/error.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Eq, PartialEq, Debug, Fail)] [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_MtgApiErrorKind` [INFO] [stdout] 14 | pub enum MtgApiErrorKind { [INFO] [stdout] | --------------- `MtgApiErrorKind` 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 25.03s [INFO] running `Command { std: "docker" "inspect" "5d6d6b8773b55865569e29732947da0713de18effd5146536960ab80d5cd75de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d6d6b8773b55865569e29732947da0713de18effd5146536960ab80d5cd75de", kill_on_drop: false }` [INFO] [stdout] 5d6d6b8773b55865569e29732947da0713de18effd5146536960ab80d5cd75de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 760f16221aa9c70146bdc19c0357f89705a17a851eaf66e7252ef250f936f7e3 [INFO] running `Command { std: "docker" "start" "-a" "760f16221aa9c70146bdc19c0357f89705a17a851eaf66e7252ef250f936f7e3", 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/api/error.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MtgApiErrorKind` [INFO] [stdout] 14 | pub enum MtgApiErrorKind { [INFO] [stdout] | --------------- `MtgApiErrorKind` 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/api/error.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Eq, PartialEq, Debug, Fail)] [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_MtgApiErrorKind` [INFO] [stdout] 14 | pub enum MtgApiErrorKind { [INFO] [stdout] | --------------- `MtgApiErrorKind` 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 mtgapi-client v0.2.0 (/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/api/error.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MtgApiErrorKind` [INFO] [stdout] 14 | pub enum MtgApiErrorKind { [INFO] [stdout] | --------------- `MtgApiErrorKind` 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/api/error.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Eq, PartialEq, Debug, Fail)] [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_MtgApiErrorKind` [INFO] [stdout] 14 | pub enum MtgApiErrorKind { [INFO] [stdout] | --------------- `MtgApiErrorKind` 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 1.56s [INFO] running `Command { std: "docker" "inspect" "760f16221aa9c70146bdc19c0357f89705a17a851eaf66e7252ef250f936f7e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "760f16221aa9c70146bdc19c0357f89705a17a851eaf66e7252ef250f936f7e3", kill_on_drop: false }` [INFO] [stdout] 760f16221aa9c70146bdc19c0357f89705a17a851eaf66e7252ef250f936f7e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 71079311a6fd84a2ac13769e30f82f5c05bc200828f85fe57a35c073beef69ab [INFO] running `Command { std: "docker" "start" "-a" "71079311a6fd84a2ac13769e30f82f5c05bc200828f85fe57a35c073beef69ab", 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/api/error.rs:13:39 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MtgApiErrorKind` [INFO] [stderr] 14 | pub enum MtgApiErrorKind { [INFO] [stderr] | --------------- `MtgApiErrorKind` 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/api/error.rs:13:39 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Clone, Eq, PartialEq, Debug, Fail)] [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_MtgApiErrorKind` [INFO] [stderr] 14 | pub enum MtgApiErrorKind { [INFO] [stderr] | --------------- `MtgApiErrorKind` 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: `mtgapi-client` (lib) generated 2 warnings [INFO] [stderr] warning: `mtgapi-client` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mtgapi_client-0987d73a9a3388ba) [INFO] [stderr] Doc-tests mtgapi_client [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 64 tests [INFO] [stdout] test src/api/card/card_api.rs - api::card::card_api::AllCardsRequest::next_page (line 91) - compile ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::artists (line 746) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::contains_field (line 1052) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::color_identities_and (line 268) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::color (line 184) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::artist (line 728) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::build (line 23) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::custom (line 40) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::flavors_or (line 690) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::cardtype (line 399) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::colors_and (line 215) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::contains_fields (line 1067) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::fulltypes_and (line 327) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::flavor (line 672) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::color_identity (line 231) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::colors_or (line 199) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::cardtypes_and (line 433) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::cardtypes_or (line 414) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::converted_mana_cost (line 169) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::flavors_and (line 709) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::color_identities_or (line 246) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::fulltype (line 290) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::game_formats_with_legality (line 980) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::layout (line 138) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::fulltypes_or (line 308) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::layouts (line 153) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::game_format (line 929) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::loyalities (line 910) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::game_formats (line 944) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::game_format_with_legality (line 960) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::multiverse_id (line 1013) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::names (line 76) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::multiverse_ids (line 1033) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::names_with_language (line 114) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::name (line 58) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::number (line 767) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::rarity (line 508) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::name_with_language (line 95) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::rarities (line 523) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::set (line 542) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::loyality (line 890) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::power (line 808) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::set_names (line 597) ... ok [INFO] [stdout] test src/api/set/filter.rs - api::set::filter::SetFilterBuilder::block (line 93) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::powers (line 828) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::text (line 616) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::supertypes_or (line 361) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::numbers (line 787) ... ok [INFO] [stdout] test src/api/set/filter.rs - api::set::filter::SetFilterBuilder::blocks (line 108) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::subtypes_or (line 470) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::supertype (line 346) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::sets (line 560) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::set_name (line 579) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::subtype (line 452) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::toughnesses (line 869) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::subtypes_and (line 489) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::supertypes_and (line 380) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::toughness (line 849) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::texts_and (line 653) ... ok [INFO] [stdout] test src/api/card/filter.rs - api::card::filter::CardFilterBuilder::texts_or (line 634) ... ok [INFO] [stdout] test src/api/set/filter.rs - api::set::filter::SetFilterBuilder::build (line 22) ... ok [INFO] [stdout] test src/api/set/filter.rs - api::set::filter::SetFilterBuilder::custom (line 38) ... ok [INFO] [stdout] test src/api/set/filter.rs - api::set::filter::SetFilterBuilder::names (line 74) ... ok [INFO] [stdout] test src/api/set/filter.rs - api::set::filter::SetFilterBuilder::name (line 56) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 64 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 30.59s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "71079311a6fd84a2ac13769e30f82f5c05bc200828f85fe57a35c073beef69ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71079311a6fd84a2ac13769e30f82f5c05bc200828f85fe57a35c073beef69ab", kill_on_drop: false }` [INFO] [stdout] 71079311a6fd84a2ac13769e30f82f5c05bc200828f85fe57a35c073beef69ab