[INFO] updating cached repository cryptobioz/dyn-livedns-gandi [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/cryptobioz/dyn-livedns-gandi [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/cryptobioz/dyn-livedns-gandi" "work/ex/clippy-test-run/sources/stable/gh/cryptobioz/dyn-livedns-gandi"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/cryptobioz/dyn-livedns-gandi'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/cryptobioz/dyn-livedns-gandi" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/cryptobioz/dyn-livedns-gandi"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/cryptobioz/dyn-livedns-gandi'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5e5c5559cd4eb00c4b4c5fab010ca31d597fadca [INFO] sha for GitHub repo cryptobioz/dyn-livedns-gandi: 5e5c5559cd4eb00c4b4c5fab010ca31d597fadca [INFO] validating manifest of cryptobioz/dyn-livedns-gandi 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 cryptobioz/dyn-livedns-gandi 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 cryptobioz/dyn-livedns-gandi [INFO] finished frobbing cryptobioz/dyn-livedns-gandi [INFO] frobbed toml for cryptobioz/dyn-livedns-gandi written to work/ex/clippy-test-run/sources/stable/gh/cryptobioz/dyn-livedns-gandi/Cargo.toml [INFO] started frobbing cryptobioz/dyn-livedns-gandi [INFO] finished frobbing cryptobioz/dyn-livedns-gandi [INFO] frobbed toml for cryptobioz/dyn-livedns-gandi written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/cryptobioz/dyn-livedns-gandi/Cargo.toml [INFO] crate cryptobioz/dyn-livedns-gandi 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 cryptobioz/dyn-livedns-gandi 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/gh/cryptobioz/dyn-livedns-gandi:/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] 13dfee087435d2906b19f00b621e0b2375047e5114ad01eca04d05639bd7aa1c [INFO] running `"docker" "start" "-a" "13dfee087435d2906b19f00b621e0b2375047e5114ad01eca04d05639bd7aa1c"` [INFO] [stderr] Compiling http-muncher v0.3.2 [INFO] [stderr] Checking reqwest v0.9.2 [INFO] [stderr] Checking mockito v0.13.0 [INFO] [stderr] Checking dyn-livedns-gandi v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/main.rs:160:9 [INFO] [stderr] | [INFO] [stderr] 160 | return Err(format!("failed to update record, status code received {}", response.status())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove `return` as shown: `Err(format!("failed to update record, status code received {}", response.status()))` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/main.rs:228:5 [INFO] [stderr] | [INFO] [stderr] 228 | return exit_code; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove `return` as shown: `exit_code` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/main.rs:160:9 [INFO] [stderr] | [INFO] [stderr] 160 | return Err(format!("failed to update record, status code received {}", response.status())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove `return` as shown: `Err(format!("failed to update record, status code received {}", response.status()))` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/main.rs:228:5 [INFO] [stderr] | [INFO] [stderr] 228 | return exit_code; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove `return` as shown: `exit_code` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.96s [INFO] running `"docker" "inspect" "13dfee087435d2906b19f00b621e0b2375047e5114ad01eca04d05639bd7aa1c"` [INFO] running `"docker" "rm" "-f" "13dfee087435d2906b19f00b621e0b2375047e5114ad01eca04d05639bd7aa1c"` [INFO] [stdout] 13dfee087435d2906b19f00b621e0b2375047e5114ad01eca04d05639bd7aa1c