[INFO] updating cached repository ruscur/snowpatch [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ruscur/snowpatch [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ruscur/snowpatch" "work/ex/clippy-test-run/sources/stable/gh/ruscur/snowpatch"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/ruscur/snowpatch'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ruscur/snowpatch" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ruscur/snowpatch"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ruscur/snowpatch'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b5431f74fc663222caace3160691c8519d4411fe [INFO] sha for GitHub repo ruscur/snowpatch: b5431f74fc663222caace3160691c8519d4411fe [INFO] validating manifest of ruscur/snowpatch 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 ruscur/snowpatch 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 ruscur/snowpatch [INFO] finished frobbing ruscur/snowpatch [INFO] frobbed toml for ruscur/snowpatch written to work/ex/clippy-test-run/sources/stable/gh/ruscur/snowpatch/Cargo.toml [INFO] started frobbing ruscur/snowpatch [INFO] finished frobbing ruscur/snowpatch [INFO] frobbed toml for ruscur/snowpatch written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ruscur/snowpatch/Cargo.toml [INFO] crate ruscur/snowpatch 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 ruscur/snowpatch against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/ruscur/snowpatch:/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] e6f65c933f039c6e53765d1339a2e739b955a5deb77601321076aca8fca08a06 [INFO] running `"docker" "start" "-a" "e6f65c933f039c6e53765d1339a2e739b955a5deb77601321076aca8fca08a06"` [INFO] [stderr] Compiling serde v1.0.81 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libssh2-sys v0.2.11 [INFO] [stderr] Compiling curl-sys v0.4.15 [INFO] [stderr] Compiling libgit2-sys v0.7.10 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking tokio-timer v0.2.8 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking memchr v2.1.1 [INFO] [stderr] Checking openssl-sys v0.9.39 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking crossbeam-deque v0.6.2 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking tokio-reactor v0.1.7 [INFO] [stderr] Checking tokio-threadpool v0.1.9 [INFO] [stderr] Checking openssl v0.10.15 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking tokio-uds v0.2.4 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Checking tokio-fs v0.1.4 [INFO] [stderr] Checking tokio v0.1.13 [INFO] [stderr] Checking hyper v0.12.17 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking native-tls v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.81 [INFO] [stderr] Checking serde_urlencoded v0.5.4 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Checking reqwest v0.9.5 [INFO] [stderr] Checking docopt v1.0.2 [INFO] [stderr] Checking git2 v0.7.5 [INFO] [stderr] Checking snowpatch v0.2.0 (/opt/crater/workdir) [INFO] [stderr] error: lint name `ptr_arg` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/patchwork.rs:213:48 [INFO] [stderr] | [INFO] [stderr] 213 | #[cfg_attr(feature = "cargo-clippy", allow(ptr_arg))] [INFO] [stderr] | ^^^^^^^ help: change it to: `clippy::ptr_arg` [INFO] [stderr] [INFO] [stderr] error: lint name `ptr_arg` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/patchwork.rs:228:48 [INFO] [stderr] | [INFO] [stderr] 228 | #[cfg_attr(feature = "cargo-clippy", allow(ptr_arg))] [INFO] [stderr] | ^^^^^^^ help: change it to: `clippy::ptr_arg` [INFO] [stderr] [INFO] [stderr] error: unneeded unit return type [INFO] [stderr] --> src/git.rs:71:57 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn checkout_branch(repo: &Repository, branch: &str) -> () { [INFO] [stderr] | ^^^^^ help: remove the `-> ()` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/main.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::unused_unit)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stderr] [INFO] [stderr] error: unneeded unit expression [INFO] [stderr] --> src/git.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | () [INFO] [stderr] | ^^ help: remove the final `()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stderr] [INFO] [stderr] error: lint name `cyclomatic_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:290:44 [INFO] [stderr] | [INFO] [stderr] 290 | #[cfg_attr(feature = "cargo-clippy", allow(cyclomatic_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cyclomatic_complexity` [INFO] [stderr] [INFO] [stderr] error: lint name `ptr_arg` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/patchwork.rs:213:48 [INFO] [stderr] | [INFO] [stderr] 213 | #[cfg_attr(feature = "cargo-clippy", allow(ptr_arg))] [INFO] [stderr] | ^^^^^^^ help: change it to: `clippy::ptr_arg` [INFO] [stderr] [INFO] [stderr] error: lint name `ptr_arg` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/patchwork.rs:228:48 [INFO] [stderr] | [INFO] [stderr] 228 | #[cfg_attr(feature = "cargo-clippy", allow(ptr_arg))] [INFO] [stderr] | ^^^^^^^ help: change it to: `clippy::ptr_arg` [INFO] [stderr] [INFO] [stderr] error: unneeded unit return type [INFO] [stderr] --> src/git.rs:71:57 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn checkout_branch(repo: &Repository, branch: &str) -> () { [INFO] [stderr] | ^^^^^ help: remove the `-> ()` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/main.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::unused_unit)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stderr] [INFO] [stderr] error: unneeded unit expression [INFO] [stderr] --> src/git.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | () [INFO] [stderr] | ^^ help: remove the final `()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stderr] [INFO] [stderr] error: lint name `cyclomatic_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/main.rs:290:44 [INFO] [stderr] | [INFO] [stderr] 290 | #[cfg_attr(feature = "cargo-clippy", allow(cyclomatic_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cyclomatic_complexity` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `snowpatch`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `snowpatch`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e6f65c933f039c6e53765d1339a2e739b955a5deb77601321076aca8fca08a06"` [INFO] running `"docker" "rm" "-f" "e6f65c933f039c6e53765d1339a2e739b955a5deb77601321076aca8fca08a06"` [INFO] [stdout] e6f65c933f039c6e53765d1339a2e739b955a5deb77601321076aca8fca08a06