[INFO] updating cached repository miyamoen/roar-cli-app [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/miyamoen/roar-cli-app [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/miyamoen/roar-cli-app" "work/ex/clippy-test-run/sources/stable/gh/miyamoen/roar-cli-app"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/miyamoen/roar-cli-app'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/miyamoen/roar-cli-app" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/miyamoen/roar-cli-app"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/miyamoen/roar-cli-app'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4d88af7e1d7b56513942b24e7808a1a51a7567e3 [INFO] sha for GitHub repo miyamoen/roar-cli-app: 4d88af7e1d7b56513942b24e7808a1a51a7567e3 [INFO] validating manifest of miyamoen/roar-cli-app 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 miyamoen/roar-cli-app 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 miyamoen/roar-cli-app [INFO] finished frobbing miyamoen/roar-cli-app [INFO] frobbed toml for miyamoen/roar-cli-app written to work/ex/clippy-test-run/sources/stable/gh/miyamoen/roar-cli-app/Cargo.toml [INFO] started frobbing miyamoen/roar-cli-app [INFO] finished frobbing miyamoen/roar-cli-app [INFO] frobbed toml for miyamoen/roar-cli-app written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/miyamoen/roar-cli-app/Cargo.toml [INFO] crate miyamoen/roar-cli-app has a lockfile. skipping [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 miyamoen/roar-cli-app against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/miyamoen/roar-cli-app:/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] 177cef0e6b3ec8eee4d553bb000a363bfdf4bc275f48dc05b2e3c8d32972e30b [INFO] running `"docker" "start" "-a" "177cef0e6b3ec8eee4d553bb000a363bfdf4bc275f48dc05b2e3c8d32972e30b"` [INFO] [stderr] Compiling cc v1.0.5 [INFO] [stderr] Compiling libc v0.2.37 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking net2 v0.2.32 [INFO] [stderr] Checking clicolors-control v0.2.0 [INFO] [stderr] Checking toml v0.4.5 [INFO] [stderr] Checking parking_lot_core v0.2.13 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking bytes v0.4.6 [INFO] [stderr] Checking regex v0.2.6 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking mio v0.6.13 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Checking parking_lot v0.5.4 [INFO] [stderr] Checking tokio-io v0.1.5 [INFO] [stderr] Checking serde_urlencoded v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.27 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling openssl v0.9.24 [INFO] [stderr] Checking tokio-core v0.1.12 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Checking console v0.6.1 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.4 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking dialoguer v0.1.0 [INFO] [stderr] Checking indicatif v0.9.0 [INFO] [stderr] Checking hyper v0.11.21 [INFO] [stderr] Checking native-tls v0.1.5 [INFO] [stderr] Checking tokio-tls v0.1.4 [INFO] [stderr] Checking hyper-tls v0.1.2 [INFO] [stderr] Checking reqwest v0.8.5 [INFO] [stderr] Checking roar v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/cli.rs:93:17 [INFO] [stderr] | [INFO] [stderr] 93 | app_id: app_id, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `app_id` [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/cli.rs:94:17 [INFO] [stderr] | [INFO] [stderr] 94 | title: title, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `title` [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/cli.rs:95:17 [INFO] [stderr] | [INFO] [stderr] 95 | n: n, [INFO] [stderr] | ^^^^ help: replace it with: `n` [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/api.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | name: name, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `name` [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/api.rs:64:13 [INFO] [stderr] | [INFO] [stderr] 64 | app_id: app_id, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `app_id` [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/api.rs:65:13 [INFO] [stderr] | [INFO] [stderr] 65 | title: title, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `title` [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/cli.rs:93:17 [INFO] [stderr] | [INFO] [stderr] 93 | app_id: app_id, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `app_id` [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/cli.rs:94:17 [INFO] [stderr] | [INFO] [stderr] 94 | title: title, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `title` [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/cli.rs:95:17 [INFO] [stderr] | [INFO] [stderr] 95 | n: n, [INFO] [stderr] | ^^^^ help: replace it with: `n` [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/api.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | name: name, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `name` [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/api.rs:64:13 [INFO] [stderr] | [INFO] [stderr] 64 | app_id: app_id, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `app_id` [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/api.rs:65:13 [INFO] [stderr] | [INFO] [stderr] 65 | title: title, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `title` [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: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/config.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | let mut path = env::home_dir().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/config.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | let mut path = env::home_dir().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/main.rs:51:48 [INFO] [stderr] | [INFO] [stderr] 51 | Cmd::App(AppCmd::Send { app_id, title, n }) => { [INFO] [stderr] | ^ help: try ignoring the field: `n: _` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/config.rs:27:18 [INFO] [stderr] | [INFO] [stderr] 27 | .map_err(|e| ConfigError::IO(e))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `ConfigError::IO` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/config.rs:28:54 [INFO] [stderr] | [INFO] [stderr] 28 | let res = toml::from_str::(&buf).map_err(|e| ConfigError::Deserialize(e))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `ConfigError::Deserialize` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/config.rs:33:55 [INFO] [stderr] | [INFO] [stderr] 33 | let serialized = toml::to_string(&config).map_err(|e| ConfigError::Serialize(e))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `ConfigError::Serialize` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/config.rs:34:52 [INFO] [stderr] | [INFO] [stderr] 34 | let file = File::create(config_path()).map_err(|e| ConfigError::IO(e))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `ConfigError::IO` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/config.rs:37:18 [INFO] [stderr] | [INFO] [stderr] 37 | .map_err(|e| ConfigError::IO(e)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `ConfigError::IO` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/main.rs:51:48 [INFO] [stderr] | [INFO] [stderr] 51 | Cmd::App(AppCmd::Send { app_id, title, n }) => { [INFO] [stderr] | ^ help: try ignoring the field: `n: _` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:25:49 [INFO] [stderr] | [INFO] [stderr] 25 | let config = config::read().map_err(|err| CliError::Config(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Config` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:29:54 [INFO] [stderr] | [INFO] [stderr] 29 | config::write(Config::default()).map_err(|err| CliError::Config(err))? [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Config` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:36:58 [INFO] [stderr] | [INFO] [stderr] 36 | config::write(Config::default()).map_err(|err| CliError::Config(err))? [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Config` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:40:49 [INFO] [stderr] | [INFO] [stderr] 40 | let config = config::read().map_err(|err| CliError::Config(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Config` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:41:51 [INFO] [stderr] | [INFO] [stderr] 41 | let list = App::list(&config).map_err(|err| CliError::Reqwest(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Reqwest` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:45:49 [INFO] [stderr] | [INFO] [stderr] 45 | let config = config::read().map_err(|err| CliError::Config(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Config` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:48:26 [INFO] [stderr] | [INFO] [stderr] 48 | .map_err(|err| CliError::Reqwest(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Reqwest` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:52:49 [INFO] [stderr] | [INFO] [stderr] 52 | let config = config::read().map_err(|err| CliError::Config(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Config` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:55:26 [INFO] [stderr] | [INFO] [stderr] 55 | .map_err(|err| CliError::Reqwest(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Reqwest` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/config.rs:27:18 [INFO] [stderr] | [INFO] [stderr] 27 | .map_err(|e| ConfigError::IO(e))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `ConfigError::IO` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/config.rs:28:54 [INFO] [stderr] | [INFO] [stderr] 28 | let res = toml::from_str::(&buf).map_err(|e| ConfigError::Deserialize(e))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `ConfigError::Deserialize` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/config.rs:33:55 [INFO] [stderr] | [INFO] [stderr] 33 | let serialized = toml::to_string(&config).map_err(|e| ConfigError::Serialize(e))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `ConfigError::Serialize` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/config.rs:34:52 [INFO] [stderr] | [INFO] [stderr] 34 | let file = File::create(config_path()).map_err(|e| ConfigError::IO(e))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `ConfigError::IO` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/config.rs:37:18 [INFO] [stderr] | [INFO] [stderr] 37 | .map_err(|e| ConfigError::IO(e)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `ConfigError::IO` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:25:49 [INFO] [stderr] | [INFO] [stderr] 25 | let config = config::read().map_err(|err| CliError::Config(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Config` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:29:54 [INFO] [stderr] | [INFO] [stderr] 29 | config::write(Config::default()).map_err(|err| CliError::Config(err))? [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Config` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:36:58 [INFO] [stderr] | [INFO] [stderr] 36 | config::write(Config::default()).map_err(|err| CliError::Config(err))? [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Config` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:40:49 [INFO] [stderr] | [INFO] [stderr] 40 | let config = config::read().map_err(|err| CliError::Config(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Config` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:41:51 [INFO] [stderr] | [INFO] [stderr] 41 | let list = App::list(&config).map_err(|err| CliError::Reqwest(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Reqwest` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:45:49 [INFO] [stderr] | [INFO] [stderr] 45 | let config = config::read().map_err(|err| CliError::Config(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Config` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:48:26 [INFO] [stderr] | [INFO] [stderr] 48 | .map_err(|err| CliError::Reqwest(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Reqwest` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:52:49 [INFO] [stderr] | [INFO] [stderr] 52 | let config = config::read().map_err(|err| CliError::Config(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Config` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:55:26 [INFO] [stderr] | [INFO] [stderr] 55 | .map_err(|err| CliError::Reqwest(err))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `CliError::Reqwest` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.07s [INFO] running `"docker" "inspect" "177cef0e6b3ec8eee4d553bb000a363bfdf4bc275f48dc05b2e3c8d32972e30b"` [INFO] running `"docker" "rm" "-f" "177cef0e6b3ec8eee4d553bb000a363bfdf4bc275f48dc05b2e3c8d32972e30b"` [INFO] [stdout] 177cef0e6b3ec8eee4d553bb000a363bfdf4bc275f48dc05b2e3c8d32972e30b