[INFO] cloning repository https://github.com/mkroman/scaleway-registry-prune [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mkroman/scaleway-registry-prune" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkroman%2Fscaleway-registry-prune", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkroman%2Fscaleway-registry-prune'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c451740a59204a95bc18c154b6833dada824e82 [INFO] checking mkroman/scaleway-registry-prune against master#f5e2df741b4a9820a7579f0c8eccc951706a8782 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkroman%2Fscaleway-registry-prune" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mkroman/scaleway-registry-prune [INFO] finished tweaking git repo https://github.com/mkroman/scaleway-registry-prune [INFO] tweaked toml for git repo https://github.com/mkroman/scaleway-registry-prune written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mkroman/scaleway-registry-prune on toolchain f5e2df741b4a9820a7579f0c8eccc951706a8782 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mkroman/scaleway-registry-prune 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" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.82 [INFO] [stderr] Downloaded itoa v1.0.3 [INFO] [stderr] Downloaded socket2 v0.4.6 [INFO] [stderr] Downloaded android_system_properties v0.1.4 [INFO] [stderr] Downloaded futures-sink v0.3.23 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.82 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.32 [INFO] [stderr] Downloaded iana-time-zone v0.1.46 [INFO] [stderr] Downloaded indicatif v0.14.0 [INFO] [stderr] Downloaded ipnet v2.5.0 [INFO] [stderr] Downloaded schannel v0.1.20 [INFO] [stderr] Downloaded security-framework v2.7.0 [INFO] [stderr] Downloaded backtrace v0.3.66 [INFO] [stderr] Downloaded tokio-util v0.7.3 [INFO] [stderr] Downloaded http v0.2.8 [INFO] [stderr] Downloaded bumpalo v3.11.0 [INFO] [stderr] Downloaded chrono v0.4.22 [INFO] [stderr] Downloaded serde_json v1.0.85 [INFO] [stderr] Downloaded h2 v0.3.14 [INFO] [stderr] Downloaded openssl v0.10.41 [INFO] [stderr] Downloaded object v0.29.0 [INFO] [stderr] Downloaded hyper v0.14.20 [INFO] [stderr] Downloaded futures-util v0.3.23 [INFO] [stderr] Downloaded wasm-bindgen v0.2.82 [INFO] [stderr] Downloaded reqwest v0.11.11 [INFO] [stderr] Downloaded openssl-sys v0.9.75 [INFO] [stderr] Downloaded js-sys v0.3.59 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.82 [INFO] [stderr] Downloaded futures-core v0.3.23 [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded futures-channel v0.3.23 [INFO] [stderr] Downloaded futures-task v0.3.23 [INFO] [stderr] Downloaded tokio v1.20.1 [INFO] [stderr] Downloaded web-sys v0.3.59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d53a9d6ffad4348edc98a98fd1a30abb82b139fecac06ffed763956df3af727 [INFO] running `Command { std: "docker" "start" "-a" "4d53a9d6ffad4348edc98a98fd1a30abb82b139fecac06ffed763956df3af727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d53a9d6ffad4348edc98a98fd1a30abb82b139fecac06ffed763956df3af727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d53a9d6ffad4348edc98a98fd1a30abb82b139fecac06ffed763956df3af727", kill_on_drop: false }` [INFO] [stdout] 4d53a9d6ffad4348edc98a98fd1a30abb82b139fecac06ffed763956df3af727 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e9b7460871fc368081debdc9d34405556a89fbfd261150bbf00a51a77f0c442 [INFO] running `Command { std: "docker" "start" "-a" "9e9b7460871fc368081debdc9d34405556a89fbfd261150bbf00a51a77f0c442", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.46 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking console v0.15.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking indicatif v0.14.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking scaleway_sdk v0.1.0 (/opt/rustwide/workdir/scaleway_sdk) [INFO] [stdout] warning: field `region` is never read [INFO] [stdout] --> scaleway_sdk/src/registry.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Registry { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | client: reqwest::Client, [INFO] [stdout] 14 | region: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_count` is never read [INFO] [stdout] --> scaleway_sdk/src/registry.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 126 | struct NamespaceListResponse { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 127 | namespaces: Vec, [INFO] [stdout] 128 | total_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NamespaceListResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_count` is never read [INFO] [stdout] --> scaleway_sdk/src/registry.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 132 | struct ImageListResponse { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 133 | images: Vec, [INFO] [stdout] 134 | total_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageListResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_count` is never read [INFO] [stdout] --> scaleway_sdk/src/registry.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct ImageTagListResponse { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 139 | tags: Vec, [INFO] [stdout] 140 | total_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageTagListResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> scaleway_sdk/src/error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(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_Error` [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- `Error` 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] --> scaleway_sdk/src/error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(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_Error` [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- `Error` 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] [stdout] warning: field `region` is never read [INFO] [stdout] --> scaleway_sdk/src/registry.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Registry { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | client: reqwest::Client, [INFO] [stdout] 14 | region: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_count` is never read [INFO] [stdout] --> scaleway_sdk/src/registry.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 126 | struct NamespaceListResponse { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 127 | namespaces: Vec, [INFO] [stdout] 128 | total_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NamespaceListResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_count` is never read [INFO] [stdout] --> scaleway_sdk/src/registry.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 132 | struct ImageListResponse { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 133 | images: Vec, [INFO] [stdout] 134 | total_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageListResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_count` is never read [INFO] [stdout] --> scaleway_sdk/src/registry.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct ImageTagListResponse { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 139 | tags: Vec, [INFO] [stdout] 140 | total_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageTagListResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> scaleway_sdk/src/error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(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_Error` [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- `Error` 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] --> scaleway_sdk/src/error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(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_Error` [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- `Error` 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] Checking scaleway-registry-prune v0.1.0 (/opt/rustwide/workdir/scaleway_registry_prune) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> scaleway_registry_prune/src/main.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | let mut rt = Runtime::new().expect("unable to create async runtime"); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [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] --> scaleway_registry_prune/src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` 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] --> scaleway_registry_prune/src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` 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] [stdout] warning: unused import: `http::Response` [INFO] [stdout] --> scaleway_sdk/tests/support/server.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use http::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> scaleway_registry_prune/src/main.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | let mut rt = Runtime::new().expect("unable to create async runtime"); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [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] --> scaleway_registry_prune/src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` 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] --> scaleway_registry_prune/src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[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_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` 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 57.22s [INFO] running `Command { std: "docker" "inspect" "9e9b7460871fc368081debdc9d34405556a89fbfd261150bbf00a51a77f0c442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e9b7460871fc368081debdc9d34405556a89fbfd261150bbf00a51a77f0c442", kill_on_drop: false }` [INFO] [stdout] 9e9b7460871fc368081debdc9d34405556a89fbfd261150bbf00a51a77f0c442