[INFO] crate nastran 0.0.1 is already in cache [INFO] extracting crate nastran 0.0.1 into work/ex/clippy-test-run/sources/stable/reg/nastran/0.0.1 [INFO] extracting crate nastran 0.0.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/nastran/0.0.1 [INFO] validating manifest of nastran-0.0.1 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 nastran-0.0.1 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 nastran-0.0.1 [INFO] finished frobbing nastran-0.0.1 [INFO] frobbed toml for nastran-0.0.1 written to work/ex/clippy-test-run/sources/stable/reg/nastran/0.0.1/Cargo.toml [INFO] started frobbing nastran-0.0.1 [INFO] finished frobbing nastran-0.0.1 [INFO] frobbed toml for nastran-0.0.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/nastran/0.0.1/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 nastran-0.0.1 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/nastran/0.0.1:/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] bc53228cdfc3b93c7c7d1d925a3f4106851d546a0ef221ee868c757f12065931 [INFO] running `"docker" "start" "-a" "bc53228cdfc3b93c7c7d1d925a3f4106851d546a0ef221ee868c757f12065931"` [INFO] [stderr] Checking memmap v0.5.2 [INFO] [stderr] Checking nastran v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:1:18 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(test,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 `nastran`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: an inclusive range would be more readable [INFO] [stderr] --> src/datfile/field.rs:188:18 [INFO] [stderr] | [INFO] [stderr] 188 | temp[j + 1..n + 1].copy_from_slice(&buffer[j..]); [INFO] [stderr] | ^^^^^^^^^^^^ help: use: `j + 1..=n` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::range_plus_one)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one [INFO] [stderr] [INFO] [stderr] warning: an inclusive range would be more readable [INFO] [stderr] --> src/datfile/field.rs:189:42 [INFO] [stderr] | [INFO] [stderr] 189 | let s = str::from_utf8(&temp[..n + 1])?; [INFO] [stderr] | ^^^^^^^ help: use: `..=n` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one [INFO] [stderr] [INFO] [stderr] warning: use of `ok_or` followed by a function call [INFO] [stderr] --> src/datfile/mod.rs:257:58 [INFO] [stderr] | [INFO] [stderr] 257 | let index = self.continuations.remove(c).ok_or( [INFO] [stderr] | __________________________________________________________^ [INFO] [stderr] 258 | | Error::UnmatchedContinuation( [INFO] [stderr] 259 | | c.to_owned(), [INFO] [stderr] 260 | | ), [INFO] [stderr] 261 | | )?; [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::or_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 257 | let index = self.continuations.remove(c).ok_or_else(|| Error::UnmatchedContinuation( [INFO] [stderr] 258 | c.to_owned(), [INFO] [stderr] 259 | ))?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `ok_or` followed by a function call [INFO] [stderr] --> src/datfile/mod.rs:275:59 [INFO] [stderr] | [INFO] [stderr] 275 | let index = self.continuations.remove("").ok_or( [INFO] [stderr] | ___________________________________________________________^ [INFO] [stderr] 276 | | Error::UnmatchedContinuation( [INFO] [stderr] 277 | | "".to_owned(), [INFO] [stderr] 278 | | ), [INFO] [stderr] 279 | | )?; [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 275 | let index = self.continuations.remove("").ok_or_else(|| Error::UnmatchedContinuation( [INFO] [stderr] 276 | "".to_owned(), [INFO] [stderr] 277 | ))?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "bc53228cdfc3b93c7c7d1d925a3f4106851d546a0ef221ee868c757f12065931"` [INFO] running `"docker" "rm" "-f" "bc53228cdfc3b93c7c7d1d925a3f4106851d546a0ef221ee868c757f12065931"` [INFO] [stdout] bc53228cdfc3b93c7c7d1d925a3f4106851d546a0ef221ee868c757f12065931