[INFO] crate log4rs-rolling-file 0.2.0 is already in cache [INFO] extracting crate log4rs-rolling-file 0.2.0 into work/ex/clippy-test-run/sources/stable/reg/log4rs-rolling-file/0.2.0 [INFO] extracting crate log4rs-rolling-file 0.2.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/log4rs-rolling-file/0.2.0 [INFO] validating manifest of log4rs-rolling-file-0.2.0 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 log4rs-rolling-file-0.2.0 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 log4rs-rolling-file-0.2.0 [INFO] finished frobbing log4rs-rolling-file-0.2.0 [INFO] frobbed toml for log4rs-rolling-file-0.2.0 written to work/ex/clippy-test-run/sources/stable/reg/log4rs-rolling-file/0.2.0/Cargo.toml [INFO] started frobbing log4rs-rolling-file-0.2.0 [INFO] finished frobbing log4rs-rolling-file-0.2.0 [INFO] frobbed toml for log4rs-rolling-file-0.2.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/log4rs-rolling-file/0.2.0/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 log4rs-rolling-file-0.2.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/log4rs-rolling-file/0.2.0:/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" "-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] 402fea69d79d3803e912954657b7e2f170fec53f66f9a2167786f11ea64019c6 [INFO] running `"docker" "start" "-a" "402fea69d79d3803e912954657b7e2f170fec53f66f9a2167786f11ea64019c6"` [INFO] [stderr] Checking serde_yaml v0.2.5 [INFO] [stderr] Checking humantime v0.1.3 [INFO] [stderr] Checking ordered-float v0.1.0 [INFO] [stderr] Checking serde-value v0.2.1 [INFO] [stderr] Checking log4rs v0.4.8 [INFO] [stderr] Checking log4rs-rolling-file v0.2.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/policy/compound/config.rs:201:20 [INFO] [stderr] | [INFO] [stderr] 201 | Ok(Trigger{kind: kind, config: Value::Map(map),}) [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `kind` [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] warning: redundant field names in struct initialization [INFO] [stderr] --> src/policy/compound/config.rs:220:19 [INFO] [stderr] | [INFO] [stderr] 220 | Ok(Roller{kind: kind, config: Value::Map(map),}) [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `kind` [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: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes [INFO] [stderr] --> src/policy/compound/mod.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::deprecated_cfg_attr)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/policy/compound/config.rs:201:20 [INFO] [stderr] | [INFO] [stderr] 201 | Ok(Trigger{kind: kind, config: Value::Map(map),}) [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `kind` [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] warning: redundant field names in struct initialization [INFO] [stderr] --> src/policy/compound/config.rs:220:19 [INFO] [stderr] | [INFO] [stderr] 220 | Ok(Roller{kind: kind, config: Value::Map(map),}) [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `kind` [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: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes [INFO] [stderr] --> src/policy/compound/mod.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::deprecated_cfg_attr)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stderr] [INFO] [stderr] warning: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes [INFO] [stderr] --> src/policy/compound/roll/delete/mod.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stderr] [INFO] [stderr] warning: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes [INFO] [stderr] --> src/policy/compound/roll/fixed_window/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/policy/compound/roll/fixed_window/mod.rs:174:13 [INFO] [stderr] | [INFO] [stderr] 174 | compression: compression, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `compression` [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/policy/compound/roll/fixed_window/mod.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | count: count, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `count` [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/policy/compound/trigger/size/config.rs:111:87 [INFO] [stderr] | [INFO] [stderr] 111 | Ok(__SerdeDeserializeWithStruct{value: [INFO] [stderr] | _______________________________________________________________________________________^ [INFO] [stderr] 112 | | value, [INFO] [stderr] | |_______________________________________________________________________________________________^ help: replace it with: `value` [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/policy/compound/trigger/size/config.rs:169:99 [INFO] [stderr] | [INFO] [stderr] 169 | Ok(__SerdeDeserializeWithStruct{value: [INFO] [stderr] | ___________________________________________________________________________________________________^ [INFO] [stderr] 170 | | value, [INFO] [stderr] | |___________________________________________________________________________________________________________^ help: replace it with: `value` [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: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes [INFO] [stderr] --> src/policy/compound/trigger/size/mod.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/policy/compound/trigger/size/mod.rs:24:23 [INFO] [stderr] | [INFO] [stderr] 24 | SizeTrigger { limit: limit } [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `limit` [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/policy/compound/mod.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | trigger: trigger, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `trigger` [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/policy/compound/mod.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | roller: roller, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `roller` [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/config.rs:273:19 [INFO] [stderr] | [INFO] [stderr] 273 | Ok(Policy{kind: kind, config: Value::Map(map),}) [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `kind` [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: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes [INFO] [stderr] --> src/lib.rs:51:1 [INFO] [stderr] | [INFO] [stderr] 51 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib.rs:175:17 [INFO] [stderr] | [INFO] [stderr] 175 | len: len, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `len` [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/lib.rs:190:13 [INFO] [stderr] | [INFO] [stderr] 190 | len: len, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `len` [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/lib.rs:239:13 [INFO] [stderr] | [INFO] [stderr] 239 | policy: policy, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `policy` [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] [INFO] [stderr] warning: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes [INFO] [stderr] --> src/policy/compound/roll/delete/mod.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stderr] [INFO] [stderr] warning: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes [INFO] [stderr] --> src/policy/compound/roll/fixed_window/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/policy/compound/roll/fixed_window/mod.rs:174:13 [INFO] [stderr] | [INFO] [stderr] 174 | compression: compression, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `compression` [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/policy/compound/roll/fixed_window/mod.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | count: count, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `count` [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/policy/compound/trigger/size/config.rs:111:87 [INFO] [stderr] | [INFO] [stderr] 111 | Ok(__SerdeDeserializeWithStruct{value: [INFO] [stderr] | _______________________________________________________________________________________^ [INFO] [stderr] 112 | | value, [INFO] [stderr] | |_______________________________________________________________________________________________^ help: replace it with: `value` [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/policy/compound/trigger/size/config.rs:169:99 [INFO] [stderr] | [INFO] [stderr] 169 | Ok(__SerdeDeserializeWithStruct{value: [INFO] [stderr] | ___________________________________________________________________________________________________^ [INFO] [stderr] 170 | | value, [INFO] [stderr] | |___________________________________________________________________________________________________________^ help: replace it with: `value` [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: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes [INFO] [stderr] --> src/policy/compound/trigger/size/mod.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/policy/compound/trigger/size/mod.rs:24:23 [INFO] [stderr] | [INFO] [stderr] 24 | SizeTrigger { limit: limit } [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `limit` [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/policy/compound/mod.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | trigger: trigger, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `trigger` [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/policy/compound/mod.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | roller: roller, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `roller` [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/config.rs:273:19 [INFO] [stderr] | [INFO] [stderr] 273 | Ok(Policy{kind: kind, config: Value::Map(map),}) [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `kind` [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: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes [INFO] [stderr] --> src/lib.rs:51:1 [INFO] [stderr] | [INFO] [stderr] 51 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib.rs:175:17 [INFO] [stderr] | [INFO] [stderr] 175 | len: len, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `len` [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/lib.rs:190:13 [INFO] [stderr] | [INFO] [stderr] 190 | len: len, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `len` [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/lib.rs:239:13 [INFO] [stderr] | [INFO] [stderr] 239 | policy: policy, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `policy` [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: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/policy/compound/config.rs:177:36 [INFO] [stderr] | [INFO] [stderr] 177 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/policy/compound/config.rs:177:46 [INFO] [stderr] | [INFO] [stderr] 177 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/policy/compound/roll/delete/config.rs:91:36 [INFO] [stderr] | [INFO] [stderr] 91 | const FIELDS: &'static [&'static str] = &[]; [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/policy/compound/roll/delete/config.rs:91:46 [INFO] [stderr] | [INFO] [stderr] 91 | const FIELDS: &'static [&'static str] = &[]; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:202:36 [INFO] [stderr] | [INFO] [stderr] 202 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:202:46 [INFO] [stderr] | [INFO] [stderr] 202 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:148:54 [INFO] [stderr] | [INFO] [stderr] 148 | Some(({ [INFO] [stderr] | ______________________________________________________^ [INFO] [stderr] 149 | | struct __SerdeDeserializeWithStruct { [INFO] [stderr] 150 | | value: u64, [INFO] [stderr] 151 | | phantom: ::std::marker::PhantomData, [INFO] [stderr] ... | [INFO] [stderr] 179 | | > ( )).value [INFO] [stderr] 180 | | })); [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 148 | Some({ [INFO] [stderr] 149 | struct __SerdeDeserializeWithStruct { [INFO] [stderr] 150 | value: u64, [INFO] [stderr] 151 | phantom: ::std::marker::PhantomData, [INFO] [stderr] 152 | } [INFO] [stderr] 153 | impl _serde::de::Deserialize [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:148:54 [INFO] [stderr] | [INFO] [stderr] 148 | Some(({ [INFO] [stderr] | ______________________________________________________^ [INFO] [stderr] 149 | | struct __SerdeDeserializeWithStruct { [INFO] [stderr] 150 | | value: u64, [INFO] [stderr] 151 | | phantom: ::std::marker::PhantomData, [INFO] [stderr] ... | [INFO] [stderr] 179 | | > ( )).value [INFO] [stderr] 180 | | })); [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::double_parens)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:196:36 [INFO] [stderr] | [INFO] [stderr] 196 | const FIELDS: &'static [&'static str] = &["limit"]; [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:196:46 [INFO] [stderr] | [INFO] [stderr] 196 | const FIELDS: &'static [&'static str] = &["limit"]; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/config.rs:249:36 [INFO] [stderr] | [INFO] [stderr] 249 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/config.rs:249:46 [INFO] [stderr] | [INFO] [stderr] 249 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/policy/compound/config.rs:177:36 [INFO] [stderr] | [INFO] [stderr] 177 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/policy/compound/config.rs:177:46 [INFO] [stderr] | [INFO] [stderr] 177 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/policy/compound/roll/delete/config.rs:91:36 [INFO] [stderr] | [INFO] [stderr] 91 | const FIELDS: &'static [&'static str] = &[]; [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/policy/compound/roll/delete/config.rs:91:46 [INFO] [stderr] | [INFO] [stderr] 91 | const FIELDS: &'static [&'static str] = &[]; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:202:36 [INFO] [stderr] | [INFO] [stderr] 202 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/policy/compound/roll/fixed_window/config.rs:202:46 [INFO] [stderr] | [INFO] [stderr] 202 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:148:54 [INFO] [stderr] | [INFO] [stderr] 148 | Some(({ [INFO] [stderr] | ______________________________________________________^ [INFO] [stderr] 149 | | struct __SerdeDeserializeWithStruct { [INFO] [stderr] 150 | | value: u64, [INFO] [stderr] 151 | | phantom: ::std::marker::PhantomData, [INFO] [stderr] ... | [INFO] [stderr] 179 | | > ( )).value [INFO] [stderr] 180 | | })); [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 148 | Some({ [INFO] [stderr] 149 | struct __SerdeDeserializeWithStruct { [INFO] [stderr] 150 | value: u64, [INFO] [stderr] 151 | phantom: ::std::marker::PhantomData, [INFO] [stderr] 152 | } [INFO] [stderr] 153 | impl _serde::de::Deserialize [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: Consider removing unnecessary double parentheses [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:148:54 [INFO] [stderr] | [INFO] [stderr] 148 | Some(({ [INFO] [stderr] | ______________________________________________________^ [INFO] [stderr] 149 | | struct __SerdeDeserializeWithStruct { [INFO] [stderr] 150 | | value: u64, [INFO] [stderr] 151 | | phantom: ::std::marker::PhantomData, [INFO] [stderr] ... | [INFO] [stderr] 179 | | > ( )).value [INFO] [stderr] 180 | | })); [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::double_parens)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:196:36 [INFO] [stderr] | [INFO] [stderr] 196 | const FIELDS: &'static [&'static str] = &["limit"]; [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:196:46 [INFO] [stderr] | [INFO] [stderr] 196 | const FIELDS: &'static [&'static str] = &["limit"]; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/config.rs:249:36 [INFO] [stderr] | [INFO] [stderr] 249 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/config.rs:249:46 [INFO] [stderr] | [INFO] [stderr] 249 | const FIELDS: &'static [&'static str] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `policy::compound::roll::delete::DeleteRoller` [INFO] [stderr] --> src/policy/compound/roll/delete/mod.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | / pub fn new() -> DeleteRoller { [INFO] [stderr] 28 | | DeleteRoller(()) [INFO] [stderr] 29 | | } [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] 17 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: item `LogFile<'a>` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> src/lib.rs:104:1 [INFO] [stderr] | [INFO] [stderr] 104 | / impl<'a> LogFile<'a> { [INFO] [stderr] 105 | | /// Returns the path to the log file. [INFO] [stderr] 106 | | pub fn path(&self) -> &Path { [INFO] [stderr] 107 | | self.path [INFO] [stderr] ... | [INFO] [stderr] 130 | | } [INFO] [stderr] 131 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_without_is_empty)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/policy/compound/trigger/size/config.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `policy::compound::roll::delete::DeleteRoller` [INFO] [stderr] --> src/policy/compound/roll/delete/mod.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | / pub fn new() -> DeleteRoller { [INFO] [stderr] 28 | | DeleteRoller(()) [INFO] [stderr] 29 | | } [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] 17 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: item `LogFile<'a>` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> src/lib.rs:104:1 [INFO] [stderr] | [INFO] [stderr] 104 | / impl<'a> LogFile<'a> { [INFO] [stderr] 105 | | /// Returns the path to the log file. [INFO] [stderr] 106 | | pub fn path(&self) -> &Path { [INFO] [stderr] 107 | | self.path [INFO] [stderr] ... | [INFO] [stderr] 130 | | } [INFO] [stderr] 131 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_without_is_empty)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.42s [INFO] running `"docker" "inspect" "402fea69d79d3803e912954657b7e2f170fec53f66f9a2167786f11ea64019c6"` [INFO] running `"docker" "rm" "-f" "402fea69d79d3803e912954657b7e2f170fec53f66f9a2167786f11ea64019c6"` [INFO] [stdout] 402fea69d79d3803e912954657b7e2f170fec53f66f9a2167786f11ea64019c6