[INFO] updating cached repository phideg/neptungen [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/phideg/neptungen [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/phideg/neptungen" "work/ex/clippy-test-run/sources/stable/gh/phideg/neptungen"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/phideg/neptungen'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/phideg/neptungen" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/phideg/neptungen"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/phideg/neptungen'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8887bdebadf7141e39cdfb93ec30f1e73e2563d1 [INFO] sha for GitHub repo phideg/neptungen: 8887bdebadf7141e39cdfb93ec30f1e73e2563d1 [INFO] validating manifest of phideg/neptungen 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 phideg/neptungen 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 phideg/neptungen [INFO] finished frobbing phideg/neptungen [INFO] frobbed toml for phideg/neptungen written to work/ex/clippy-test-run/sources/stable/gh/phideg/neptungen/Cargo.toml [INFO] started frobbing phideg/neptungen [INFO] finished frobbing phideg/neptungen [INFO] frobbed toml for phideg/neptungen written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/phideg/neptungen/Cargo.toml [INFO] crate phideg/neptungen 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 phideg/neptungen 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/phideg/neptungen:/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] 92d9a380d5275ac7d00a3351f44ecfe9774c25db205ebdd6285058212b08cadc [INFO] running `"docker" "start" "-a" "92d9a380d5275ac7d00a3351f44ecfe9774c25db205ebdd6285058212b08cadc"` [INFO] [stderr] Checking num-traits v0.2.3 [INFO] [stderr] Compiling crc16 v0.3.4 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Checking crc8 v0.1.1 [INFO] [stderr] Checking md5 v0.3.7 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rpassword v2.0.0 [INFO] [stderr] Compiling blake v1.1.1 [INFO] [stderr] Compiling md6 v1.1.1 [INFO] [stderr] Checking shaman v0.1.0 [INFO] [stderr] Checking pbr v1.0.1 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling syn v0.13.8 [INFO] [stderr] Checking tiny-keccak v1.4.1 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking num-integer v0.1.37 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-iter v0.1.36 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking chrono v0.4.2 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking ftp v3.0.1 [INFO] [stderr] Compiling serde_derive v1.0.53 [INFO] [stderr] Checking checksums v0.5.5 [INFO] [stderr] Checking backtrace v0.3.7 [INFO] [stderr] Checking serde v1.0.53 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking liquid v0.14.3 [INFO] [stderr] Checking toml v0.4.6 [INFO] [stderr] Checking neptungen v0.4.3 (/opt/crater/workdir) [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/render.rs:98:26 [INFO] [stderr] | [INFO] [stderr] 98 | .expect(format!("error during copy of {:?}", copy_dir).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("error during copy of {:?}", copy_dir))` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::expect_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/render.rs:117:18 [INFO] [stderr] | [INFO] [stderr] 117 | .expect(format!("Error during copy of {:?}", entry.path().display()).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Error during copy of {:?}", entry.path().display()))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/render.rs:204:49 [INFO] [stderr] | [INFO] [stderr] 204 | let mut img = image::open(entry.path()).expect( [INFO] [stderr] | _________________________________________________^ [INFO] [stderr] 205 | | format!( [INFO] [stderr] 206 | | "Resize of '{}' failed: The gallery folder should only contain \ [INFO] [stderr] 207 | | images!", [INFO] [stderr] 208 | | entry.path().display() [INFO] [stderr] 209 | | ).as_ref(), [INFO] [stderr] 210 | | ); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 204 | let mut img = image::open(entry.path()).unwrap_or_else(|_| panic!("Resize of '{}' failed: The gallery folder should only contain \ [INFO] [stderr] 205 | images!", entry.path().display())); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/render.rs:226:18 [INFO] [stderr] | [INFO] [stderr] 226 | .expect(format!("Saving image '{}' failed", image_path.display()).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Saving image '{}' failed", image_path.display()))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/render.rs:249:18 [INFO] [stderr] | [INFO] [stderr] 249 | .expect(format!("Saving thumb image '{}' failed", thumb_path.display()).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Saving thumb image '{}' failed", thumb_path.display()))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/render.rs:98:26 [INFO] [stderr] | [INFO] [stderr] 98 | .expect(format!("error during copy of {:?}", copy_dir).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("error during copy of {:?}", copy_dir))` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::expect_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/render.rs:117:18 [INFO] [stderr] | [INFO] [stderr] 117 | .expect(format!("Error during copy of {:?}", entry.path().display()).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Error during copy of {:?}", entry.path().display()))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:102:22 [INFO] [stderr] | [INFO] [stderr] 102 | .expect(format!("Couldn't create file '{}'.", OLD_CRC_FILE_NAME).as_str()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Couldn't create file '{}'.", OLD_CRC_FILE_NAME))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/render.rs:204:49 [INFO] [stderr] | [INFO] [stderr] 204 | let mut img = image::open(entry.path()).expect( [INFO] [stderr] | _________________________________________________^ [INFO] [stderr] 205 | | format!( [INFO] [stderr] 206 | | "Resize of '{}' failed: The gallery folder should only contain \ [INFO] [stderr] 207 | | images!", [INFO] [stderr] 208 | | entry.path().display() [INFO] [stderr] 209 | | ).as_ref(), [INFO] [stderr] 210 | | ); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 204 | let mut img = image::open(entry.path()).unwrap_or_else(|_| panic!("Resize of '{}' failed: The gallery folder should only contain \ [INFO] [stderr] 205 | images!", entry.path().display())); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/render.rs:226:18 [INFO] [stderr] | [INFO] [stderr] 226 | .expect(format!("Saving image '{}' failed", image_path.display()).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Saving image '{}' failed", image_path.display()))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/render.rs:249:18 [INFO] [stderr] | [INFO] [stderr] 249 | .expect(format!("Saving thumb image '{}' failed", thumb_path.display()).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Saving thumb image '{}' failed", thumb_path.display()))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:220:18 [INFO] [stderr] | [INFO] [stderr] 220 | .expect(format!("Couldn't convert component '{:?}' to string.", comp).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| panic!("Couldn't convert component '{:?}' to string.", comp))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:225:22 [INFO] [stderr] | [INFO] [stderr] 225 | .expect(format!("Couldn't create dir '{}'", &dir).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Couldn't create dir '{}'", &dir))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:228:22 [INFO] [stderr] | [INFO] [stderr] 228 | .expect(format!("Couldn't change to dir '{}'", &dir).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Couldn't change to dir '{}'", &dir))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:240:18 [INFO] [stderr] | [INFO] [stderr] 240 | .expect(format!("Couldn't convert component '{:?}' to string.", comp).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| panic!("Couldn't convert component '{:?}' to string.", comp))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:250:18 [INFO] [stderr] | [INFO] [stderr] 250 | .expect(format!("Couldn't remove dir '{:?}'", src_dir).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Couldn't remove dir '{:?}'", src_dir))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:261:18 [INFO] [stderr] | [INFO] [stderr] 261 | .expect(format!("Couldn't convert component '{:?}' to string.", comp).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| panic!("Couldn't convert component '{:?}' to string.", comp))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:267:14 [INFO] [stderr] | [INFO] [stderr] 267 | .expect(format!("Couldn't remove file '{:?}'", &comp).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Couldn't remove file '{:?}'", &comp))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:282:14 [INFO] [stderr] | [INFO] [stderr] 282 | .expect(format!("Couldn't push file '{}' to ftp server", file_name).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Couldn't push file '{}' to ftp server", file_name))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:102:22 [INFO] [stderr] | [INFO] [stderr] 102 | .expect(format!("Couldn't create file '{}'.", OLD_CRC_FILE_NAME).as_str()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Couldn't create file '{}'.", OLD_CRC_FILE_NAME))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:220:18 [INFO] [stderr] | [INFO] [stderr] 220 | .expect(format!("Couldn't convert component '{:?}' to string.", comp).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| panic!("Couldn't convert component '{:?}' to string.", comp))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:225:22 [INFO] [stderr] | [INFO] [stderr] 225 | .expect(format!("Couldn't create dir '{}'", &dir).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Couldn't create dir '{}'", &dir))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:228:22 [INFO] [stderr] | [INFO] [stderr] 228 | .expect(format!("Couldn't change to dir '{}'", &dir).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Couldn't change to dir '{}'", &dir))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:240:18 [INFO] [stderr] | [INFO] [stderr] 240 | .expect(format!("Couldn't convert component '{:?}' to string.", comp).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| panic!("Couldn't convert component '{:?}' to string.", comp))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:250:18 [INFO] [stderr] | [INFO] [stderr] 250 | .expect(format!("Couldn't remove dir '{:?}'", src_dir).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Couldn't remove dir '{:?}'", src_dir))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:261:18 [INFO] [stderr] | [INFO] [stderr] 261 | .expect(format!("Couldn't convert component '{:?}' to string.", comp).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| panic!("Couldn't convert component '{:?}' to string.", comp))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:267:14 [INFO] [stderr] | [INFO] [stderr] 267 | .expect(format!("Couldn't remove file '{:?}'", &comp).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Couldn't remove file '{:?}'", &comp))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/sync.rs:282:14 [INFO] [stderr] | [INFO] [stderr] 282 | .expect(format!("Couldn't push file '{}' to ftp server", file_name).as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Couldn't push file '{}' to ftp server", file_name))` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.28s [INFO] running `"docker" "inspect" "92d9a380d5275ac7d00a3351f44ecfe9774c25db205ebdd6285058212b08cadc"` [INFO] running `"docker" "rm" "-f" "92d9a380d5275ac7d00a3351f44ecfe9774c25db205ebdd6285058212b08cadc"` [INFO] [stdout] 92d9a380d5275ac7d00a3351f44ecfe9774c25db205ebdd6285058212b08cadc