[INFO] crate pandoc_ast 0.7.2 is already in cache [INFO] extracting crate pandoc_ast 0.7.2 into work/ex/clippy-test-run/sources/stable/reg/pandoc_ast/0.7.2 [INFO] extracting crate pandoc_ast 0.7.2 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/pandoc_ast/0.7.2 [INFO] validating manifest of pandoc_ast-0.7.2 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 pandoc_ast-0.7.2 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 pandoc_ast-0.7.2 [INFO] finished frobbing pandoc_ast-0.7.2 [INFO] frobbed toml for pandoc_ast-0.7.2 written to work/ex/clippy-test-run/sources/stable/reg/pandoc_ast/0.7.2/Cargo.toml [INFO] started frobbing pandoc_ast-0.7.2 [INFO] finished frobbing pandoc_ast-0.7.2 [INFO] frobbed toml for pandoc_ast-0.7.2 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/pandoc_ast/0.7.2/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 pandoc_ast-0.7.2 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/reg/pandoc_ast/0.7.2:/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] 3316c28e45d32ae78475f2045e61acab7952a2fadd179246971e25842cac8eaf [INFO] running `"docker" "start" "-a" "3316c28e45d32ae78475f2045e61acab7952a2fadd179246971e25842cac8eaf"` [INFO] [stderr] Checking pandoc_ast v0.7.2 (/opt/crater/workdir) [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> examples/uppercase.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | io::stdout().write(s.as_bytes()).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: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `pandoc_ast`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> examples/removenotes.rs:10:36 [INFO] [stderr] | [INFO] [stderr] 10 | vec_inline.retain(|inline| match inline { [INFO] [stderr] | ____________________________________^ [INFO] [stderr] 11 | | &Inline::Note(_) => false, [INFO] [stderr] 12 | | _ => true [INFO] [stderr] 13 | | }); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::match_ref_pats)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stderr] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stderr] | [INFO] [stderr] 10 | vec_inline.retain(|inline| match *inline { [INFO] [stderr] 11 | Inline::Note(_) => false, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> examples/removenotes.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | io::stdout().write(s.as_bytes()).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: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `pandoc_ast`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "3316c28e45d32ae78475f2045e61acab7952a2fadd179246971e25842cac8eaf"` [INFO] running `"docker" "rm" "-f" "3316c28e45d32ae78475f2045e61acab7952a2fadd179246971e25842cac8eaf"` [INFO] [stdout] 3316c28e45d32ae78475f2045e61acab7952a2fadd179246971e25842cac8eaf