[INFO] crate flu 0.0.2 is already in cache [INFO] extracting crate flu 0.0.2 into work/ex/clippy-test-run/sources/stable/reg/flu/0.0.2 [INFO] extracting crate flu 0.0.2 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/flu/0.0.2 [INFO] validating manifest of flu-0.0.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 flu-0.0.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 flu-0.0.2 [INFO] finished frobbing flu-0.0.2 [INFO] frobbed toml for flu-0.0.2 written to work/ex/clippy-test-run/sources/stable/reg/flu/0.0.2/Cargo.toml [INFO] started frobbing flu-0.0.2 [INFO] finished frobbing flu-0.0.2 [INFO] frobbed toml for flu-0.0.2 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/flu/0.0.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 flu-0.0.2 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/flu/0.0.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] ad350d4fbece627fa48bad0ab744c27bd387f32d16d4fe3d075270255b3f537c [INFO] running `"docker" "start" "-a" "ad350d4fbece627fa48bad0ab744c27bd387f32d16d4fe3d075270255b3f537c"` [INFO] [stderr] Compiling flu v0.0.2 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'gcc::Config': gcc::Config has been renamed to gcc::Build [INFO] [stderr] --> build.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | gcc::Config::new() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'gcc::Build::new': crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> build.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | gcc::Config::new() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: dist/lua-5.1.5/src/lauxlib.c: In function 'luaL_loadfile': [INFO] [stderr] warning: dist/lua-5.1.5/src/lauxlib.c:577:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ; [INFO] [stderr] warning: ^~~~~ [INFO] [stderr] warning: dist/lua-5.1.5/src/lauxlib.c:578:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' [INFO] [stderr] warning: lf.extraline = 0; [INFO] [stderr] warning: ^~ [INFO] [stderr] warning: dist/lua-5.1.5/src/ltablib.c: In function 'addfield': [INFO] [stderr] warning: dist/lua-5.1.5/src/ltablib.c:137:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: if (!lua_isstring(L, -1)) [INFO] [stderr] warning: ^~ [INFO] [stderr] warning: dist/lua-5.1.5/src/ltablib.c:140:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' [INFO] [stderr] warning: luaL_addvalue(b); [INFO] [stderr] warning: ^~~~~~~~~~~~~ [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/collections/table.rs:30:17 [INFO] [stderr] | [INFO] [stderr] 30 | Table { cxt: cxt, ptr: LuaRef::read(cxt, -1) } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cxt` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/collections/table.rs:46:17 [INFO] [stderr] | [INFO] [stderr] 46 | Table { cxt: cxt, ptr: LuaRef::read(cxt, -1) } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cxt` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/collections/table.rs:61:17 [INFO] [stderr] | [INFO] [stderr] 61 | Table { cxt: cxt, ptr: LuaRef::read(cxt, -1) } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cxt` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/collections/table.rs:117:17 [INFO] [stderr] | [INFO] [stderr] 117 | Table { cxt: cxt, ptr: LuaRef::read(cxt, idx) } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cxt` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/value.rs:34:60 [INFO] [stderr] | [INFO] [stderr] 34 | ffi::LUA_TTABLE => LuaValue::Table(Table { cxt: cxt, ptr: ::read(cxt, idx) }), [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cxt` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/borrow.rs:30:30 [INFO] [stderr] | [INFO] [stderr] 30 | LuaRef { cxt: cxt, key: -1 } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cxt` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/borrow.rs:46:30 [INFO] [stderr] | [INFO] [stderr] 46 | LuaRef { cxt: cxt, key: r } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cxt` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/function.rs:52:17 [INFO] [stderr] | [INFO] [stderr] 52 | cxt: cxt, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cxt` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/function.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | func: func, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `func` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/collections/table.rs:30:17 [INFO] [stderr] | [INFO] [stderr] 30 | Table { cxt: cxt, ptr: LuaRef::read(cxt, -1) } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cxt` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/collections/table.rs:46:17 [INFO] [stderr] | [INFO] [stderr] 46 | Table { cxt: cxt, ptr: LuaRef::read(cxt, -1) } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cxt` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/collections/table.rs:61:17 [INFO] [stderr] | [INFO] [stderr] 61 | Table { cxt: cxt, ptr: LuaRef::read(cxt, -1) } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cxt` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/collections/table.rs:117:17 [INFO] [stderr] | [INFO] [stderr] 117 | Table { cxt: cxt, ptr: LuaRef::read(cxt, idx) } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cxt` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/value.rs:34:60 [INFO] [stderr] | [INFO] [stderr] 34 | ffi::LUA_TTABLE => LuaValue::Table(Table { cxt: cxt, ptr: ::read(cxt, idx) }), [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cxt` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/borrow.rs:30:30 [INFO] [stderr] | [INFO] [stderr] 30 | LuaRef { cxt: cxt, key: -1 } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cxt` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/borrow.rs:46:30 [INFO] [stderr] | [INFO] [stderr] 46 | LuaRef { cxt: cxt, key: r } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cxt` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/function.rs:52:17 [INFO] [stderr] | [INFO] [stderr] 52 | cxt: cxt, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `cxt` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/function.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | func: func, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `func` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(unboxed_closures)] [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] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: dist/lua-5.1.5/src/lauxlib.c: In function 'luaL_loadfile': [INFO] [stderr] warning: dist/lua-5.1.5/src/lauxlib.c:577:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ; [INFO] [stderr] warning: ^~~~~ [INFO] [stderr] warning: dist/lua-5.1.5/src/lauxlib.c:578:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' [INFO] [stderr] warning: lf.extraline = 0; [INFO] [stderr] warning: ^~ [INFO] [stderr] warning: dist/lua-5.1.5/src/ltablib.c: In function 'addfield': [INFO] [stderr] warning: dist/lua-5.1.5/src/ltablib.c:137:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: if (!lua_isstring(L, -1)) [INFO] [stderr] warning: ^~ [INFO] [stderr] warning: dist/lua-5.1.5/src/ltablib.c:140:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' [INFO] [stderr] warning: luaL_addvalue(b); [INFO] [stderr] warning: ^~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: Could not compile `flu`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(unboxed_closures)] [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] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: dist/lua-5.1.5/src/lauxlib.c: In function 'luaL_loadfile': [INFO] [stderr] warning: dist/lua-5.1.5/src/lauxlib.c:577:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ; [INFO] [stderr] warning: ^~~~~ [INFO] [stderr] warning: dist/lua-5.1.5/src/lauxlib.c:578:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' [INFO] [stderr] warning: lf.extraline = 0; [INFO] [stderr] warning: ^~ [INFO] [stderr] warning: dist/lua-5.1.5/src/ltablib.c: In function 'addfield': [INFO] [stderr] warning: dist/lua-5.1.5/src/ltablib.c:137:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: if (!lua_isstring(L, -1)) [INFO] [stderr] warning: ^~ [INFO] [stderr] warning: dist/lua-5.1.5/src/ltablib.c:140:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' [INFO] [stderr] warning: luaL_addvalue(b); [INFO] [stderr] warning: ^~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: Could not compile `flu`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ad350d4fbece627fa48bad0ab744c27bd387f32d16d4fe3d075270255b3f537c"` [INFO] running `"docker" "rm" "-f" "ad350d4fbece627fa48bad0ab744c27bd387f32d16d4fe3d075270255b3f537c"` [INFO] [stdout] ad350d4fbece627fa48bad0ab744c27bd387f32d16d4fe3d075270255b3f537c