[INFO] updating cached repository pka/legeo [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/pka/legeo [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/pka/legeo" "work/ex/clippy-test-run/sources/stable/gh/pka/legeo"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/pka/legeo'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/pka/legeo" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/pka/legeo"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/pka/legeo'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 26f0f719706e38aae6ab93709d2d327c870f45fd [INFO] sha for GitHub repo pka/legeo: 26f0f719706e38aae6ab93709d2d327c870f45fd [INFO] validating manifest of pka/legeo 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 pka/legeo 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 pka/legeo [INFO] finished frobbing pka/legeo [INFO] frobbed toml for pka/legeo written to work/ex/clippy-test-run/sources/stable/gh/pka/legeo/Cargo.toml [INFO] started frobbing pka/legeo [INFO] finished frobbing pka/legeo [INFO] frobbed toml for pka/legeo written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/pka/legeo/Cargo.toml [INFO] crate pka/legeo 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 pka/legeo 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/pka/legeo:/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] d94937ff34562b27ba6f898c4bd424b3b070fbc84d44d54463b7725fc357a732 [INFO] running `"docker" "start" "-a" "d94937ff34562b27ba6f898c4bd424b3b070fbc84d44d54463b7725fc357a732"` [INFO] [stderr] Checking arc-swap v0.3.5 [INFO] [stderr] Compiling syn v0.15.20 [INFO] [stderr] Checking tokio-fs v0.1.4 [INFO] [stderr] Checking crossbeam-channel v0.2.6 [INFO] [stderr] Checking signal-hook v0.1.6 [INFO] [stderr] Checking tokio-signal v0.2.6 [INFO] [stderr] Checking tokio v0.1.11 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Checking failure v0.1.3 [INFO] [stderr] Checking trust-dns-proto v0.5.0 [INFO] [stderr] Checking trust-dns-resolver v0.10.0 [INFO] [stderr] Checking actix v0.7.6 [INFO] [stderr] Checking legeo v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: handle read amount returned or use `Read::read_exact` instead [INFO] [stderr] --> src/file.rs:103:9 [INFO] [stderr] | [INFO] [stderr] 103 | file.read(&mut content).unwrap(); [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 read amount returned or use `Read::read_exact` instead [INFO] [stderr] --> src/file.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | file.read(&mut content).unwrap(); [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 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `legeo`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "d94937ff34562b27ba6f898c4bd424b3b070fbc84d44d54463b7725fc357a732"` [INFO] running `"docker" "rm" "-f" "d94937ff34562b27ba6f898c4bd424b3b070fbc84d44d54463b7725fc357a732"` [INFO] [stdout] d94937ff34562b27ba6f898c4bd424b3b070fbc84d44d54463b7725fc357a732