[INFO] updating cached repository alphastrata/bubblesort_rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/alphastrata/bubblesort_rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/alphastrata/bubblesort_rust" "work/ex/clippy-test-run/sources/stable/gh/alphastrata/bubblesort_rust"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/alphastrata/bubblesort_rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/alphastrata/bubblesort_rust" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/alphastrata/bubblesort_rust"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/alphastrata/bubblesort_rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e0ef0ba1f2c0c23e517228be975ef0c115db25e2 [INFO] sha for GitHub repo alphastrata/bubblesort_rust: e0ef0ba1f2c0c23e517228be975ef0c115db25e2 [INFO] validating manifest of alphastrata/bubblesort_rust 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 alphastrata/bubblesort_rust 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 alphastrata/bubblesort_rust [INFO] finished frobbing alphastrata/bubblesort_rust [INFO] frobbed toml for alphastrata/bubblesort_rust written to work/ex/clippy-test-run/sources/stable/gh/alphastrata/bubblesort_rust/Cargo.toml [INFO] started frobbing alphastrata/bubblesort_rust [INFO] finished frobbing alphastrata/bubblesort_rust [INFO] frobbed toml for alphastrata/bubblesort_rust written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/alphastrata/bubblesort_rust/Cargo.toml [INFO] crate alphastrata/bubblesort_rust 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 alphastrata/bubblesort_rust against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-5/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/alphastrata/bubblesort_rust:/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] eab18d2980313f067a6f49849f2e8f72d01a57bd48ecbc700512383fc88d2e3b [INFO] running `"docker" "start" "-a" "eab18d2980313f067a6f49849f2e8f72d01a57bd48ecbc700512383fc88d2e3b"` [INFO] [stderr] Checking bblsort v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: returning the result of a let binding from a block. Consider returning the expression directly. [INFO] [stderr] --> src/main.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | read [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::let_and_return)] on by default [INFO] [stderr] note: this expression can be directly returned [INFO] [stderr] --> src/main.rs:25:16 [INFO] [stderr] | [INFO] [stderr] 25 | let read = read.parse::().expect("Unable to parse as a number"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:12:22 [INFO] [stderr] | [INFO] [stderr] 12 | swap(v[j], v[j + 1]); [INFO] [stderr] | ^^^^ expected *-ptr, found u64 [INFO] [stderr] | [INFO] [stderr] = note: expected type `*mut _` [INFO] [stderr] found type `u64` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:12:28 [INFO] [stderr] | [INFO] [stderr] 12 | swap(v[j], v[j + 1]); [INFO] [stderr] | ^^^^^^^^ expected *-ptr, found u64 [INFO] [stderr] | [INFO] [stderr] = note: expected type `*mut _` [INFO] [stderr] found type `u64` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `bblsort`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: returning the result of a let binding from a block. Consider returning the expression directly. [INFO] [stderr] --> src/main.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | read [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::let_and_return)] on by default [INFO] [stderr] note: this expression can be directly returned [INFO] [stderr] --> src/main.rs:25:16 [INFO] [stderr] | [INFO] [stderr] 25 | let read = read.parse::().expect("Unable to parse as a number"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:12:22 [INFO] [stderr] | [INFO] [stderr] 12 | swap(v[j], v[j + 1]); [INFO] [stderr] | ^^^^ expected *-ptr, found u64 [INFO] [stderr] | [INFO] [stderr] = note: expected type `*mut _` [INFO] [stderr] found type `u64` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:12:28 [INFO] [stderr] | [INFO] [stderr] 12 | swap(v[j], v[j + 1]); [INFO] [stderr] | ^^^^^^^^ expected *-ptr, found u64 [INFO] [stderr] | [INFO] [stderr] = note: expected type `*mut _` [INFO] [stderr] found type `u64` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `bblsort`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "eab18d2980313f067a6f49849f2e8f72d01a57bd48ecbc700512383fc88d2e3b"` [INFO] running `"docker" "rm" "-f" "eab18d2980313f067a6f49849f2e8f72d01a57bd48ecbc700512383fc88d2e3b"` [INFO] [stdout] eab18d2980313f067a6f49849f2e8f72d01a57bd48ecbc700512383fc88d2e3b