[INFO] crate ryb_game 0.2.24 is already in cache [INFO] extracting crate ryb_game 0.2.24 into work/ex/clippy-test-run/sources/stable/reg/ryb_game/0.2.24 [INFO] extracting crate ryb_game 0.2.24 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/ryb_game/0.2.24 [INFO] validating manifest of ryb_game-0.2.24 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 ryb_game-0.2.24 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 ryb_game-0.2.24 [INFO] finished frobbing ryb_game-0.2.24 [INFO] frobbed toml for ryb_game-0.2.24 written to work/ex/clippy-test-run/sources/stable/reg/ryb_game/0.2.24/Cargo.toml [INFO] started frobbing ryb_game-0.2.24 [INFO] finished frobbing ryb_game-0.2.24 [INFO] frobbed toml for ryb_game-0.2.24 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/ryb_game/0.2.24/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 ryb_game-0.2.24 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/ryb_game/0.2.24:/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] 044d9328b022b1ec15f73d5f9f323f2c96dd0f34a82924d675277c66e1642ae9 [INFO] running `"docker" "start" "-a" "044d9328b022b1ec15f73d5f9f323f2c96dd0f34a82924d675277c66e1642ae9"` [INFO] [stderr] Checking gfx_core v0.6.1 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Checking png v0.6.2 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking pistoncore-glutin_window v0.35.1 [INFO] [stderr] Checking image v0.12.4 [INFO] [stderr] Checking piston2d-opengl_graphics v0.42.1 [INFO] [stderr] Checking gfx v0.14.1 [INFO] [stderr] Checking gfx_device_gl v0.13.1 [INFO] [stderr] Checking piston-gfx_texture v0.22.1 [INFO] [stderr] Checking piston2d-gfx_graphics v0.38.0 [INFO] [stderr] Checking piston_window v0.64.0 [INFO] [stderr] Checking ryb_game v0.2.24 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/mainglobal.rs:61:10 [INFO] [stderr] | [INFO] [stderr] 61 | window: window, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `window` [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: 5th binding whose name is just one char [INFO] [stderr] --> src/view.rs:1093:31 [INFO] [stderr] | [INFO] [stderr] 1093 | let (mut r,mut y,mut b) = class.to_ryb(); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::many_single_char_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/mainglobal.rs:61:10 [INFO] [stderr] | [INFO] [stderr] 61 | window: window, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `window` [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: 5th binding whose name is just one char [INFO] [stderr] --> src/view.rs:1093:31 [INFO] [stderr] | [INFO] [stderr] 1093 | let (mut r,mut y,mut b) = class.to_ryb(); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::many_single_char_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/view.rs:1303:31 [INFO] [stderr] | [INFO] [stderr] 1303 | let (mut r,mut y,mut b) = class.to_ryb(); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/lang.rs:59:27 [INFO] [stderr] | [INFO] [stderr] 59 | Some(i) => { i as u64 } [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/terrain.rs:42:10 [INFO] [stderr] | [INFO] [stderr] 42 | base: base, [INFO] [stderr] --> src/view.rs:1303:31 [INFO] [stderr] | [INFO] [stderr] 1303 | let (mut r,mut y,mut b) = class.to_ryb(); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/lang.rs:59:27 [INFO] [stderr] | [INFO] [stderr] 59 | Some(i) => { i as u64 } [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/terrain.rs:42:10 [INFO] [stderr] | [INFO] [stderr] 42 | base: base, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `base` [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/terrain.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | passable: passable, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `passable` [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/terrain.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | wx: wx, wy: wy, wz: wz, [INFO] [stderr] | ^^^^^^ help: replace it with: `wx` [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/terrain.rs:176:21 [INFO] [stderr] | [INFO] [stderr] 176 | wx: wx, wy: wy, wz: wz, [INFO] [stderr] | ^^^^^^ help: replace it with: `wy` [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/terrain.rs:176:29 [INFO] [stderr] | [INFO] [stderr] 176 | wx: wx, wy: wy, wz: wz, [INFO] [stderr] | ^^^^^^ help: replace it with: `wz` [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/terrain.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | terrain_class: terrain_class, terrain_level: wz+1, tiles: map, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `terrain_class` [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/terrain.rs:180:40 [INFO] [stderr] | [INFO] [stderr] 180 | npc_table: HashMap::new(), gates: gates [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `gates` [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/terrain.rs:192:13 [INFO] [stderr] | [INFO] [stderr] 192 | wx: wx, wy: wy, wz: wz, [INFO] [stderr] | ^^^^^^ help: replace it with: `wx` [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/terrain.rs:192:21 [INFO] [stderr] | [INFO] [stderr] 192 | wx: wx, wy: wy, wz: wz, [INFO] [stderr] | ^^^^^^ help: replace it with: `wy` [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/terrain.rs:192:29 [INFO] [stderr] | [INFO] [stderr] 192 | wx: wx, wy: wy, wz: wz, [INFO] [stderr] | ^^^^^^ help: replace it with: `wz` [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/terrain.rs:194:13 [INFO] [stderr] | [INFO] [stderr] 194 | terrain_class: terrain_class, terrain_level: wz+1, tiles: map, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `terrain_class` [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/terrain.rs:196:40 [INFO] [stderr] | [INFO] [stderr] 196 | npc_table: HashMap::new(), gates: gates [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `gates` [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/agent.rs:96:10 [INFO] [stderr] | [INFO] [stderr] 96 | library: library, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `library` [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/agent.rs:98:10 [INFO] [stderr] | [INFO] [stderr] 98 | bindings: bindings, travel: travel [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `bindings` [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/agent.rs:98:30 [INFO] [stderr] | [INFO] [stderr] 98 | bindings: bindings, travel: travel [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `travel` [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] | ^^^^^^^^^^ help: replace it with: `base` [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/terrain.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | passable: passable, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `passable` [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/terrain.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | wx: wx, wy: wy, wz: wz, [INFO] [stderr] | ^^^^^^ help: replace it with: `wx` [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/terrain.rs:176:21 [INFO] [stderr] | [INFO] [stderr] 176 | wx: wx, wy: wy, wz: wz, [INFO] [stderr] | ^^^^^^ help: replace it with: `wy` [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/terrain.rs:176:29 [INFO] [stderr] | [INFO] [stderr] 176 | wx: wx, wy: wy, wz: wz, [INFO] [stderr] | ^^^^^^ help: replace it with: `wz` [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/terrain.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | terrain_class: terrain_class, terrain_level: wz+1, tiles: map, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `terrain_class` [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/terrain.rs:180:40 [INFO] [stderr] | [INFO] [stderr] 180 | npc_table: HashMap::new(), gates: gates [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `gates` [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/terrain.rs:192:13 [INFO] [stderr] | [INFO] [stderr] 192 | wx: wx, wy: wy, wz: wz, [INFO] [stderr] | ^^^^^^ help: replace it with: `wx` [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/terrain.rs:192:21 [INFO] [stderr] | [INFO] [stderr] 192 | wx: wx, wy: wy, wz: wz, [INFO] [stderr] | ^^^^^^ help: replace it with: `wy` [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/terrain.rs:192:29 [INFO] [stderr] | [INFO] [stderr] 192 | wx: wx, wy: wy, wz: wz, [INFO] [stderr] | ^^^^^^ help: replace it with: `wz` [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/terrain.rs:194:13 [INFO] [stderr] | [INFO] [stderr] 194 | terrain_class: terrain_class, terrain_level: wz+1, tiles: map, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `terrain_class` [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/terrain.rs:196:40 [INFO] [stderr] | [INFO] [stderr] 196 | npc_table: HashMap::new(), gates: gates [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `gates` [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/agent.rs:96:10 [INFO] [stderr] | [INFO] [stderr] 96 | library: library, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `library` [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/agent.rs:98:10 [INFO] [stderr] | [INFO] [stderr] 98 | bindings: bindings, travel: travel [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `bindings` [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/agent.rs:98:30 [INFO] [stderr] | [INFO] [stderr] 98 | bindings: bindings, travel: travel [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `travel` [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[E0463]: can't find crate for `alloc_system` [INFO] [stderr] --> src/main.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | extern crate alloc_system; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stderr] [INFO] [stderr] error[E0463]: can't find crate for `alloc_system` [INFO] [stderr] --> src/main.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | extern crate alloc_system; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0463`. [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0463`. [INFO] [stderr] error: Could not compile `ryb_game`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `ryb_game`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "044d9328b022b1ec15f73d5f9f323f2c96dd0f34a82924d675277c66e1642ae9"` [INFO] running `"docker" "rm" "-f" "044d9328b022b1ec15f73d5f9f323f2c96dd0f34a82924d675277c66e1642ae9"` [INFO] [stdout] 044d9328b022b1ec15f73d5f9f323f2c96dd0f34a82924d675277c66e1642ae9