[INFO] fetching crate patter 0.0.1... [INFO] building patter-0.0.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate patter 0.0.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate patter 0.0.1 [INFO] finished tweaking crates.io crate patter 0.0.1 [INFO] tweaked toml for crates.io crate patter 0.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate patter 0.0.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate patter 0.0.1 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wait-timeout v0.2.0 [INFO] [stderr] Downloaded assert_cmd v2.0.12 [INFO] [stderr] Downloaded errno v0.3.2 [INFO] [stderr] Downloaded tokio-test v0.4.2 [INFO] [stderr] Downloaded clap v4.3.23 [INFO] [stderr] Downloaded float-cmp v0.9.0 [INFO] [stderr] Downloaded pin-project-lite v0.2.12 [INFO] [stderr] Downloaded h2 v0.3.20 [INFO] [stderr] Downloaded clap_builder v4.3.23 [INFO] [stderr] Downloaded openssl-sys v0.9.91 [INFO] [stderr] Downloaded rustix v0.38.8 [INFO] [stderr] Downloaded openssl v0.10.56 [INFO] [stderr] Downloaded serde_derive v1.0.184 [INFO] [stderr] Downloaded serde v1.0.184 [INFO] [stderr] Downloaded anstyle-wincon v1.0.2 [INFO] [stderr] Downloaded regex v1.9.3 [INFO] [stderr] Downloaded regex-automata v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b9304497d492902449475373c6b21b31d9c3984ede91f4e7a982167fc3151bd [INFO] running `Command { std: "docker" "start" "-a" "9b9304497d492902449475373c6b21b31d9c3984ede91f4e7a982167fc3151bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b9304497d492902449475373c6b21b31d9c3984ede91f4e7a982167fc3151bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b9304497d492902449475373c6b21b31d9c3984ede91f4e7a982167fc3151bd", kill_on_drop: false }` [INFO] [stdout] 9b9304497d492902449475373c6b21b31d9c3984ede91f4e7a982167fc3151bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d6a9285064dd5c69f09b89af0407b758f75275f49ff9fa2d76ae109f2451f4a [INFO] running `Command { std: "docker" "start" "-a" "7d6a9285064dd5c69f09b89af0407b758f75275f49ff9fa2d76ae109f2451f4a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pin-project-lite v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde v1.0.184 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling object v0.31.1 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling clap_builder v4.3.23 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.184 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling addr2line v0.20.0 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling clap v4.3.23 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tokio-test v0.4.2 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling patter v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `arg` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{arg, Parser}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `carCid` is never read [INFO] [stdout] --> src/api/data.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct PinnedResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 38 | pub cid: String, [INFO] [stdout] 39 | pub carCid: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PinnedResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `carCid` should have a snake case name [INFO] [stdout] --> src/api/data.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub carCid: String [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `car_cid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) 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] --> src/errors.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[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_ApiError` [INFO] [stdout] 5 | 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/errors.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[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_ApiError` [INFO] [stdout] 5 | 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 36s [INFO] running `Command { std: "docker" "inspect" "7d6a9285064dd5c69f09b89af0407b758f75275f49ff9fa2d76ae109f2451f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d6a9285064dd5c69f09b89af0407b758f75275f49ff9fa2d76ae109f2451f4a", kill_on_drop: false }` [INFO] [stdout] 7d6a9285064dd5c69f09b89af0407b758f75275f49ff9fa2d76ae109f2451f4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d414735b933bcb598dc5c9633e6e9885a6c859a2cc19cd52cc85da5abb5015a6 [INFO] running `Command { std: "docker" "start" "-a" "d414735b933bcb598dc5c9633e6e9885a6c859a2cc19cd52cc85da5abb5015a6", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling object v0.31.1 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling patter v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `arg` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{arg, Parser}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `carCid` is never read [INFO] [stdout] --> src/api/data.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct PinnedResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 38 | pub cid: String, [INFO] [stdout] 39 | pub carCid: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PinnedResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `carCid` should have a snake case name [INFO] [stdout] --> src/api/data.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub carCid: String [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `car_cid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) 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] --> src/errors.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[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_ApiError` [INFO] [stdout] 5 | 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/errors.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[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_ApiError` [INFO] [stdout] 5 | 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 regex v1.9.3 [INFO] [stderr] Compiling bstr v1.6.0 [INFO] [stderr] Compiling predicates v3.0.3 [INFO] [stderr] Compiling assert_cmd v2.0.12 [INFO] [stdout] warning: unused import: `arg` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{arg, Parser}; [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: `predicates::prelude::*` [INFO] [stdout] --> src/tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use predicates::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assert_cmd::prelude` [INFO] [stdout] --> src/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use assert_cmd::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `carCid` is never read [INFO] [stdout] --> src/api/data.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct PinnedResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 38 | pub cid: String, [INFO] [stdout] 39 | pub carCid: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PinnedResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `carCid` should have a snake case name [INFO] [stdout] --> src/api/data.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub carCid: String [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `car_cid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) 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] --> src/errors.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[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_ApiError` [INFO] [stdout] 5 | 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/errors.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[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_ApiError` [INFO] [stdout] 5 | 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 32.12s [INFO] running `Command { std: "docker" "inspect" "d414735b933bcb598dc5c9633e6e9885a6c859a2cc19cd52cc85da5abb5015a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d414735b933bcb598dc5c9633e6e9885a6c859a2cc19cd52cc85da5abb5015a6", kill_on_drop: false }` [INFO] [stdout] d414735b933bcb598dc5c9633e6e9885a6c859a2cc19cd52cc85da5abb5015a6