[INFO] updating cached repository mathiasmagnusson/cargis [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/mathiasmagnusson/cargis [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/mathiasmagnusson/cargis" "work/ex/clippy-test-run/sources/stable/gh/mathiasmagnusson/cargis"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/mathiasmagnusson/cargis'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mathiasmagnusson/cargis" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mathiasmagnusson/cargis"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mathiasmagnusson/cargis'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c09529848b647773b0acf40abd759c4fa8eaa86c [INFO] sha for GitHub repo mathiasmagnusson/cargis: c09529848b647773b0acf40abd759c4fa8eaa86c [INFO] validating manifest of mathiasmagnusson/cargis 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 mathiasmagnusson/cargis 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 mathiasmagnusson/cargis [INFO] finished frobbing mathiasmagnusson/cargis [INFO] frobbed toml for mathiasmagnusson/cargis written to work/ex/clippy-test-run/sources/stable/gh/mathiasmagnusson/cargis/Cargo.toml [INFO] started frobbing mathiasmagnusson/cargis [INFO] finished frobbing mathiasmagnusson/cargis [INFO] frobbed toml for mathiasmagnusson/cargis written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mathiasmagnusson/cargis/Cargo.toml [INFO] crate mathiasmagnusson/cargis 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 mathiasmagnusson/cargis 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/mathiasmagnusson/cargis:/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] 46c5824e06c572cb0607eccc75815773d6f3fb017ba3777db99dc6b54f7ec916 [INFO] running `"docker" "start" "-a" "46c5824e06c572cb0607eccc75815773d6f3fb017ba3777db99dc6b54f7ec916"` [INFO] [stderr] Checking transformation-pipeline v0.1.0 [INFO] [stderr] Checking text_io v0.1.7 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking msdos_time v0.1.6 [INFO] [stderr] Checking miniz_oxide_c_api v0.2.0 [INFO] [stderr] Checking parking_lot_core v0.3.1 [INFO] [stderr] Checking h2 v0.1.14 [INFO] [stderr] Checking flate2 v1.0.6 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking zip v0.2.8 [INFO] [stderr] Checking tokio-reactor v0.1.7 [INFO] [stderr] Checking unzip v0.1.0 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking tokio-uds v0.2.4 [INFO] [stderr] Checking tokio v0.1.13 [INFO] [stderr] Checking hyper v0.12.17 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Checking easy-http-request v0.0.7 [INFO] [stderr] Checking cargis v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/error.rs:46:6 [INFO] [stderr] | [INFO] [stderr] 46 | write!(f, "The termination code was: {}\n", code)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::write_with_newline)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/error.rs:46:6 [INFO] [stderr] | [INFO] [stderr] 46 | write!(f, "The termination code was: {}\n", code)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::write_with_newline)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> src/test.rs:61:4 [INFO] [stderr] | [INFO] [stderr] 61 | stdin.write(&input)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::unused_io_amount)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> src/test.rs:74:4 [INFO] [stderr] | [INFO] [stderr] 74 | io::stdout().write(&input)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> src/test.rs:76:4 [INFO] [stderr] | [INFO] [stderr] 76 | io::stdout().write(&answer)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> src/test.rs:78:4 [INFO] [stderr] | [INFO] [stderr] 78 | io::stdout().write(&output.stdout)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `cargis`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> src/test.rs:61:4 [INFO] [stderr] | [INFO] [stderr] 61 | stdin.write(&input)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::unused_io_amount)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> src/test.rs:74:4 [INFO] [stderr] | [INFO] [stderr] 74 | io::stdout().write(&input)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> src/test.rs:76:4 [INFO] [stderr] | [INFO] [stderr] 76 | io::stdout().write(&answer)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> src/test.rs:78:4 [INFO] [stderr] | [INFO] [stderr] 78 | io::stdout().write(&output.stdout)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `cargis`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "46c5824e06c572cb0607eccc75815773d6f3fb017ba3777db99dc6b54f7ec916"` [INFO] running `"docker" "rm" "-f" "46c5824e06c572cb0607eccc75815773d6f3fb017ba3777db99dc6b54f7ec916"` [INFO] [stdout] 46c5824e06c572cb0607eccc75815773d6f3fb017ba3777db99dc6b54f7ec916