[INFO] crate scribe 0.7.2 is already in cache [INFO] extracting crate scribe 0.7.2 into work/ex/clippy-test-run/sources/stable/reg/scribe/0.7.2 [INFO] extracting crate scribe 0.7.2 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/scribe/0.7.2 [INFO] validating manifest of scribe-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 scribe-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 scribe-0.7.2 [INFO] finished frobbing scribe-0.7.2 [INFO] frobbed toml for scribe-0.7.2 written to work/ex/clippy-test-run/sources/stable/reg/scribe/0.7.2/Cargo.toml [INFO] started frobbing scribe-0.7.2 [INFO] finished frobbing scribe-0.7.2 [INFO] frobbed toml for scribe-0.7.2 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/scribe/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 scribe-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-3/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/scribe/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] a57523ee2f12d0327cb5aff9a906fe3e24f908f1144814666bf9490af4467bb3 [INFO] running `"docker" "start" "-a" "a57523ee2f12d0327cb5aff9a906fe3e24f908f1144814666bf9490af4467bb3"` [INFO] [stderr] Checking unicode-segmentation v1.0.3 [INFO] [stderr] Checking luthor v0.1.7 [INFO] [stderr] Compiling onig_sys v68.2.1 [INFO] [stderr] Checking base64 v0.8.0 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking plist v0.2.4 [INFO] [stderr] Checking onig v3.2.2 [INFO] [stderr] Checking syntect v2.1.0 [INFO] [stderr] Checking scribe v0.7.2 (/opt/crater/workdir) [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/buffer/operation/history.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | / match history.previous() { [INFO] [stderr] 101 | | Some(mut operation) => operation.reverse(&mut buffer), [INFO] [stderr] 102 | | None => (), [INFO] [stderr] 103 | | }; [INFO] [stderr] | |_________^ help: try this: `if let Some(mut operation) = history.previous() { operation.reverse(&mut buffer) }` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_match)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/buffer/operation/history.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | / match history.next() { [INFO] [stderr] 110 | | Some(mut operation) => operation.run(&mut buffer), [INFO] [stderr] 111 | | None => (), [INFO] [stderr] 112 | | }; [INFO] [stderr] | |_________^ help: try this: `if let Some(mut operation) = history.next() { operation.run(&mut buffer) }` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/buffer/operation/history.rs:119:9 [INFO] [stderr] | [INFO] [stderr] 119 | / match history.previous() { [INFO] [stderr] 120 | | Some(mut operation) => operation.reverse(&mut buffer), [INFO] [stderr] 121 | | None => (), [INFO] [stderr] 122 | | }; [INFO] [stderr] | |_________^ help: try this: `if let Some(mut operation) = history.previous() { operation.reverse(&mut buffer) }` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] [INFO] [stderr] warning: length comparison to zero [INFO] [stderr] --> src/buffer/mod.rs:707:17 [INFO] [stderr] | [INFO] [stderr] 707 | assert!(buffer.search("scribé").len() > 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!buffer.search("scribé").is_empty()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_zero)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> benches/buffer_tokens.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(test)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0554`. [INFO] [stderr] error: Could not compile `scribe`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a57523ee2f12d0327cb5aff9a906fe3e24f908f1144814666bf9490af4467bb3"` [INFO] running `"docker" "rm" "-f" "a57523ee2f12d0327cb5aff9a906fe3e24f908f1144814666bf9490af4467bb3"` [INFO] [stdout] a57523ee2f12d0327cb5aff9a906fe3e24f908f1144814666bf9490af4467bb3