[INFO] crate ioc 0.6.2 is already in cache [INFO] extracting crate ioc 0.6.2 into work/ex/clippy-test-run/sources/stable/reg/ioc/0.6.2 [INFO] extracting crate ioc 0.6.2 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/ioc/0.6.2 [INFO] validating manifest of ioc-0.6.2 on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of ioc-0.6.2 on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing ioc-0.6.2 [INFO] finished frobbing ioc-0.6.2 [INFO] frobbed toml for ioc-0.6.2 written to work/ex/clippy-test-run/sources/stable/reg/ioc/0.6.2/Cargo.toml [INFO] started frobbing ioc-0.6.2 [INFO] finished frobbing ioc-0.6.2 [INFO] frobbed toml for ioc-0.6.2 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/ioc/0.6.2/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting ioc-0.6.2 against stable+rustflags=-Dclippy::into_iter_on_array for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/ioc/0.6.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dclippy::into_iter_on_array" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] a40f6729c7aa25551427611ce9651ff90e5f9a0818c5274441818939a4f94134 [INFO] running `"docker" "start" "-a" "a40f6729c7aa25551427611ce9651ff90e5f9a0818c5274441818939a4f94134"` [INFO] [stderr] Checking downcast v0.6.0 [INFO] [stderr] Checking ioc v0.6.2 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/errors.rs:72:26 [INFO] [stderr] | [INFO] [stderr] 72 | Error::Poisoned{ key: key } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] --> src/errors.rs:72:26 [INFO] [stderr] | [INFO] [stderr] 72 | Error::Poisoned{ key: key } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/errors.rs:81:59 [INFO] [stderr] | [INFO] [stderr] 81 | TryLockError::Poisoned(_) => Error::Poisoned{ key: key }, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/errors.rs:81:59 [INFO] [stderr] | [INFO] [stderr] 81 | TryLockError::Poisoned(_) => Error::Poisoned{ key: key }, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/errors.rs:82:60 [INFO] [stderr] | [INFO] [stderr] 82 | TryLockError::WouldBlock => Error::WouldBlock{ key: key } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/container.rs:70:42 [INFO] [stderr] | [INFO] [stderr] 70 | None => Err(Error::NotFound{ key: key }) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/container.rs:80:42 [INFO] [stderr] | [INFO] [stderr] 80 | None => Err(Error::NotFound{ key: key }) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/container.rs:93:17 [INFO] [stderr] | [INFO] [stderr] 93 | key: key, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/container.rs:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | key: key, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/container.rs:140:42 [INFO] [stderr] | [INFO] [stderr] 140 | None => Err(Error::NotFound{ key: key }) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/container.rs:150:42 [INFO] [stderr] | [INFO] [stderr] 150 | None => Err(Error::NotFound{ key: key }) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/container.rs:163:17 [INFO] [stderr] | [INFO] [stderr] 163 | key: key, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/container.rs:180:17 [INFO] [stderr] | [INFO] [stderr] 180 | key: key, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/errors.rs:82:60 [INFO] [stderr] | [INFO] [stderr] 82 | TryLockError::WouldBlock => Error::WouldBlock{ key: key } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/container.rs:70:42 [INFO] [stderr] | [INFO] [stderr] 70 | None => Err(Error::NotFound{ key: key }) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/container.rs:80:42 [INFO] [stderr] | [INFO] [stderr] 80 | None => Err(Error::NotFound{ key: key }) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/container.rs:93:17 [INFO] [stderr] | [INFO] [stderr] 93 | key: key, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/container.rs:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | key: key, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/container.rs:140:42 [INFO] [stderr] | [INFO] [stderr] 140 | None => Err(Error::NotFound{ key: key }) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/container.rs:150:42 [INFO] [stderr] | [INFO] [stderr] 150 | None => Err(Error::NotFound{ key: key }) [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/container.rs:163:17 [INFO] [stderr] | [INFO] [stderr] 163 | key: key, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/container.rs:180:17 [INFO] [stderr] | [INFO] [stderr] 180 | key: key, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `key` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `TryLockError` [INFO] [stderr] --> src/container.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | use std::sync::{TryLockError, Mutex, RwLock, RwLockReadGuard, RwLockWriteGuard}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `TryLockError` [INFO] [stderr] --> src/container.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | use std::sync::{TryLockError, Mutex, RwLock, RwLockReadGuard, RwLockWriteGuard}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/errors.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | / match self { [INFO] [stderr] 39 | | &Error::NotFound{ key } [INFO] [stderr] 40 | | | &Error::Poisoned{ key } [INFO] [stderr] 41 | | | &Error::WouldBlock{ key } => { [INFO] [stderr] ... | [INFO] [stderr] 49 | | } [INFO] [stderr] 50 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::match_ref_pats)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stderr] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stderr] | [INFO] [stderr] 38 | match *self { [INFO] [stderr] 39 | Error::NotFound{ key } [INFO] [stderr] 40 | | Error::Poisoned{ key } [INFO] [stderr] 41 | | Error::WouldBlock{ key } => { [INFO] [stderr] 42 | fmt.write_fmt(format_args!("[{:?}] {}.", key, desc)) [INFO] [stderr] 43 | } [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/errors.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | / match self { [INFO] [stderr] 59 | | &Error::NotFound{ .. } => "Service could not be found", [INFO] [stderr] 60 | | &Error::Poisoned{ .. } => "Service could not be aquired, mutex was poisoned", [INFO] [stderr] 61 | | &Error::WouldBlock{ .. } => "Service could not be aquired, mutex would block", [INFO] [stderr] 62 | | &Error::MismatchedType{ .. } => "Service is of wrong type", [INFO] [stderr] 63 | | &Error::CreationError{ .. } => "Factory failed to create object", [INFO] [stderr] 64 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stderr] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stderr] | [INFO] [stderr] 58 | match *self { [INFO] [stderr] 59 | Error::NotFound{ .. } => "Service could not be found", [INFO] [stderr] 60 | Error::Poisoned{ .. } => "Service could not be aquired, mutex was poisoned", [INFO] [stderr] 61 | Error::WouldBlock{ .. } => "Service could not be aquired, mutex would block", [INFO] [stderr] 62 | Error::MismatchedType{ .. } => "Service is of wrong type", [INFO] [stderr] 63 | Error::CreationError{ .. } => "Factory failed to create object", [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/errors.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | / match self { [INFO] [stderr] 39 | | &Error::NotFound{ key } [INFO] [stderr] 40 | | | &Error::Poisoned{ key } [INFO] [stderr] 41 | | | &Error::WouldBlock{ key } => { [INFO] [stderr] ... | [INFO] [stderr] 49 | | } [INFO] [stderr] 50 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::match_ref_pats)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stderr] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stderr] | [INFO] [stderr] 38 | match *self { [INFO] [stderr] 39 | Error::NotFound{ key } [INFO] [stderr] 40 | | Error::Poisoned{ key } [INFO] [stderr] 41 | | Error::WouldBlock{ key } => { [INFO] [stderr] 42 | fmt.write_fmt(format_args!("[{:?}] {}.", key, desc)) [INFO] [stderr] 43 | } [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/errors.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | / match self { [INFO] [stderr] 59 | | &Error::NotFound{ .. } => "Service could not be found", [INFO] [stderr] 60 | | &Error::Poisoned{ .. } => "Service could not be aquired, mutex was poisoned", [INFO] [stderr] 61 | | &Error::WouldBlock{ .. } => "Service could not be aquired, mutex would block", [INFO] [stderr] 62 | | &Error::MismatchedType{ .. } => "Service is of wrong type", [INFO] [stderr] 63 | | &Error::CreationError{ .. } => "Factory failed to create object", [INFO] [stderr] 64 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stderr] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stderr] | [INFO] [stderr] 58 | match *self { [INFO] [stderr] 59 | Error::NotFound{ .. } => "Service could not be found", [INFO] [stderr] 60 | Error::Poisoned{ .. } => "Service could not be aquired, mutex was poisoned", [INFO] [stderr] 61 | Error::WouldBlock{ .. } => "Service could not be aquired, mutex would block", [INFO] [stderr] 62 | Error::MismatchedType{ .. } => "Service is of wrong type", [INFO] [stderr] 63 | Error::CreationError{ .. } => "Factory failed to create object", [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/container.rs:18:33 [INFO] [stderr] | [INFO] [stderr] 18 | pub type ReadGuard<'a, T, Base: ?Sized> = downcast::Guard>>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(type_alias_bounds)] on by default [INFO] [stderr] = help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/container.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | pub type WriteGuard<'a, T, Base: ?Sized> = downcast::Guard>>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `container::Container` [INFO] [stderr] --> src/container.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | / pub fn new() -> Self { [INFO] [stderr] 31 | | Container{ services: BTreeMap::new(), deadlock_protection: Mutex::new(()) } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/container.rs:18:33 [INFO] [stderr] | [INFO] [stderr] 18 | pub type ReadGuard<'a, T, Base: ?Sized> = downcast::Guard>>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(type_alias_bounds)] on by default [INFO] [stderr] = help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/container.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | pub type WriteGuard<'a, T, Base: ?Sized> = downcast::Guard>>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `container::Container` [INFO] [stderr] --> src/container.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | / pub fn new() -> Self { [INFO] [stderr] 31 | | Container{ services: BTreeMap::new(), deadlock_protection: Mutex::new(()) } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.72s [INFO] running `"docker" "inspect" "a40f6729c7aa25551427611ce9651ff90e5f9a0818c5274441818939a4f94134"` [INFO] running `"docker" "rm" "-f" "a40f6729c7aa25551427611ce9651ff90e5f9a0818c5274441818939a4f94134"` [INFO] [stdout] a40f6729c7aa25551427611ce9651ff90e5f9a0818c5274441818939a4f94134