[INFO] updating cached repository bluecereal/mvp_transform [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/bluecereal/mvp_transform [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/bluecereal/mvp_transform" "work/ex/clippy-test-run/sources/stable/gh/bluecereal/mvp_transform"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/bluecereal/mvp_transform'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/bluecereal/mvp_transform" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/bluecereal/mvp_transform"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/bluecereal/mvp_transform'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 87fde8d0be0909a6948ec2066fc7fb2daa009fba [INFO] sha for GitHub repo bluecereal/mvp_transform: 87fde8d0be0909a6948ec2066fc7fb2daa009fba [INFO] validating manifest of bluecereal/mvp_transform 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 bluecereal/mvp_transform 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 bluecereal/mvp_transform [INFO] finished frobbing bluecereal/mvp_transform [INFO] frobbed toml for bluecereal/mvp_transform written to work/ex/clippy-test-run/sources/stable/gh/bluecereal/mvp_transform/Cargo.toml [INFO] started frobbing bluecereal/mvp_transform [INFO] finished frobbing bluecereal/mvp_transform [INFO] frobbed toml for bluecereal/mvp_transform written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/bluecereal/mvp_transform/Cargo.toml [INFO] crate bluecereal/mvp_transform 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 bluecereal/mvp_transform against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/bluecereal/mvp_transform:/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] 641fdeb6f48bab5690db3ce068cdcadd1790d15fea6466c02a91fb2c9809032d [INFO] running `"docker" "start" "-a" "641fdeb6f48bab5690db3ce068cdcadd1790d15fea6466c02a91fb2c9809032d"` [INFO] [stderr] Compiling phf_shared v0.7.19 [INFO] [stderr] Compiling serde v0.8.18 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stderr] Compiling xml-rs v0.3.4 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Compiling x11-dl v2.11.0 [INFO] [stderr] Checking cgmath v0.12.0 [INFO] [stderr] Checking gfx_core v0.4.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking tempfile v2.1.4 [INFO] [stderr] Compiling phf v0.7.19 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Compiling phf_generator v0.7.19 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.7.19 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling serde_json v0.8.3 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling libloading v0.3.1 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.5.11 [INFO] [stderr] Checking wayland-window v0.2.3 [INFO] [stderr] Checking wayland-kbd v0.3.6 [INFO] [stderr] Checking gfx_device_gl v0.11.2 [INFO] [stderr] Checking gfx v0.12.1 [INFO] [stderr] Checking gfx_window_glutin v0.12.0 [INFO] [stderr] Checking mvp_transform v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: `$crate` may not be imported [INFO] [stderr] --> src/main.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / gfx_defines! { [INFO] [stderr] 25 | | vertex Vertex { [INFO] [stderr] 26 | | pos: [f32; 2] = "a_Pos", [INFO] [stderr] 27 | | color: [f32; 3] = "a_Color", [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `use $crate;` was erroneously allowed and will become a hard error in a future release [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `$crate` may not be imported [INFO] [stderr] --> src/main.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / gfx_defines! { [INFO] [stderr] 25 | | vertex Vertex { [INFO] [stderr] 26 | | pos: [f32; 2] = "a_Pos", [INFO] [stderr] 27 | | color: [f32; 3] = "a_Color", [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `use $crate;` was erroneously allowed and will become a hard error in a future release [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `GREEN` [INFO] [stderr] --> src/main.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | const GREEN: [f32; 3] = [0.0, 1.0, 0.0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `BLUE` [INFO] [stderr] --> src/main.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | const BLUE: [f32; 3] = [0.0, 0.0, 1.0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: reference to uninitialized memory [INFO] [stderr] --> src/main.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / gfx_defines! { [INFO] [stderr] 25 | | vertex Vertex { [INFO] [stderr] 26 | | pos: [f32; 2] = "a_Pos", [INFO] [stderr] 27 | | color: [f32; 3] = "a_Color", [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::invalid_ref)] on by default [INFO] [stderr] = help: Creation of a null reference is undefined behavior; see https://doc.rust-lang.org/reference/behavior-considered-undefined.html [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#invalid_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: reference to uninitialized memory [INFO] [stderr] --> src/main.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / gfx_defines! { [INFO] [stderr] 25 | | vertex Vertex { [INFO] [stderr] 26 | | pos: [f32; 2] = "a_Pos", [INFO] [stderr] 27 | | color: [f32; 3] = "a_Color", [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Creation of a null reference is undefined behavior; see https://doc.rust-lang.org/reference/behavior-considered-undefined.html [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#invalid_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [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/main.rs:111:13 [INFO] [stderr] | [INFO] [stderr] 111 | / match event { [INFO] [stderr] 112 | | glutin::Event::Closed => break, [INFO] [stderr] 113 | | _ => {}, [INFO] [stderr] 114 | | } [INFO] [stderr] | |_____________^ help: try this: `if let glutin::Event::Closed = event { break }` [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] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `mvp_transform`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: constant item is never used: `GREEN` [INFO] [stderr] --> src/main.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | const GREEN: [f32; 3] = [0.0, 1.0, 0.0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `BLUE` [INFO] [stderr] --> src/main.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | const BLUE: [f32; 3] = [0.0, 0.0, 1.0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: reference to uninitialized memory [INFO] [stderr] --> src/main.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / gfx_defines! { [INFO] [stderr] 25 | | vertex Vertex { [INFO] [stderr] 26 | | pos: [f32; 2] = "a_Pos", [INFO] [stderr] 27 | | color: [f32; 3] = "a_Color", [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::invalid_ref)] on by default [INFO] [stderr] = help: Creation of a null reference is undefined behavior; see https://doc.rust-lang.org/reference/behavior-considered-undefined.html [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#invalid_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: reference to uninitialized memory [INFO] [stderr] --> src/main.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / gfx_defines! { [INFO] [stderr] 25 | | vertex Vertex { [INFO] [stderr] 26 | | pos: [f32; 2] = "a_Pos", [INFO] [stderr] 27 | | color: [f32; 3] = "a_Color", [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Creation of a null reference is undefined behavior; see https://doc.rust-lang.org/reference/behavior-considered-undefined.html [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#invalid_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [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/main.rs:111:13 [INFO] [stderr] | [INFO] [stderr] 111 | / match event { [INFO] [stderr] 112 | | glutin::Event::Closed => break, [INFO] [stderr] 113 | | _ => {}, [INFO] [stderr] 114 | | } [INFO] [stderr] | |_____________^ help: try this: `if let glutin::Event::Closed = event { break }` [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] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `mvp_transform`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "641fdeb6f48bab5690db3ce068cdcadd1790d15fea6466c02a91fb2c9809032d"` [INFO] running `"docker" "rm" "-f" "641fdeb6f48bab5690db3ce068cdcadd1790d15fea6466c02a91fb2c9809032d"` [INFO] [stdout] 641fdeb6f48bab5690db3ce068cdcadd1790d15fea6466c02a91fb2c9809032d