[INFO] updating cached repository bluecereal/using_math_lib [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/bluecereal/using_math_lib [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/bluecereal/using_math_lib" "work/ex/clippy-test-run/sources/stable/gh/bluecereal/using_math_lib"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/bluecereal/using_math_lib'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/bluecereal/using_math_lib" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/bluecereal/using_math_lib"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/bluecereal/using_math_lib'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 47ba313ba789c14e8f6c42a474c63088e3907ced [INFO] sha for GitHub repo bluecereal/using_math_lib: 47ba313ba789c14e8f6c42a474c63088e3907ced [INFO] validating manifest of bluecereal/using_math_lib 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/using_math_lib 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/using_math_lib [INFO] finished frobbing bluecereal/using_math_lib [INFO] frobbed toml for bluecereal/using_math_lib written to work/ex/clippy-test-run/sources/stable/gh/bluecereal/using_math_lib/Cargo.toml [INFO] started frobbing bluecereal/using_math_lib [INFO] finished frobbing bluecereal/using_math_lib [INFO] frobbed toml for bluecereal/using_math_lib written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/bluecereal/using_math_lib/Cargo.toml [INFO] crate bluecereal/using_math_lib 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/using_math_lib 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/gh/bluecereal/using_math_lib:/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] a9268226392da7a458f435e8584359e383c562a098b3eb97928931a9c27681e2 [INFO] running `"docker" "start" "-a" "a9268226392da7a458f435e8584359e383c562a098b3eb97928931a9c27681e2"` [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Checking gfx v0.12.1 [INFO] [stderr] Checking libloading v0.3.1 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.5.11 [INFO] [stderr] Checking wayland-client v0.5.12 [INFO] [stderr] Checking wayland-window v0.2.3 [INFO] [stderr] Checking wayland-kbd v0.3.6 [INFO] [stderr] Checking glutin v0.6.2 [INFO] [stderr] Checking gfx_device_gl v0.11.2 [INFO] [stderr] Checking gfx_window_glutin v0.12.0 [INFO] [stderr] Checking using_math_lib v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: `$crate` may not be imported [INFO] [stderr] --> src/main.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / gfx_defines! { [INFO] [stderr] 18 | | vertex Vertex { [INFO] [stderr] 19 | | pos: [f32; 2] = "a_Pos", [INFO] [stderr] 20 | | color: [f32; 3] = "a_Color", [INFO] [stderr] ... | [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [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:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / gfx_defines! { [INFO] [stderr] 18 | | vertex Vertex { [INFO] [stderr] 19 | | pos: [f32; 2] = "a_Pos", [INFO] [stderr] 20 | | color: [f32; 3] = "a_Color", [INFO] [stderr] ... | [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [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: `RED` [INFO] [stderr] --> src/main.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | const RED: [f32; 3] = [1.0, 0.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: `GREEN` [INFO] [stderr] --> src/main.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | const GREEN: [f32; 3] = [0.0, 1.0, 0.0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: reference to uninitialized memory [INFO] [stderr] --> src/main.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / gfx_defines! { [INFO] [stderr] 18 | | vertex Vertex { [INFO] [stderr] 19 | | pos: [f32; 2] = "a_Pos", [INFO] [stderr] 20 | | color: [f32; 3] = "a_Color", [INFO] [stderr] ... | [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [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:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / gfx_defines! { [INFO] [stderr] 18 | | vertex Vertex { [INFO] [stderr] 19 | | pos: [f32; 2] = "a_Pos", [INFO] [stderr] 20 | | color: [f32; 3] = "a_Color", [INFO] [stderr] ... | [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [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] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `using_math_lib`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: constant item is never used: `RED` [INFO] [stderr] --> src/main.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | const RED: [f32; 3] = [1.0, 0.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: `GREEN` [INFO] [stderr] --> src/main.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | const GREEN: [f32; 3] = [0.0, 1.0, 0.0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: reference to uninitialized memory [INFO] [stderr] --> src/main.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / gfx_defines! { [INFO] [stderr] 18 | | vertex Vertex { [INFO] [stderr] 19 | | pos: [f32; 2] = "a_Pos", [INFO] [stderr] 20 | | color: [f32; 3] = "a_Color", [INFO] [stderr] ... | [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [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:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / gfx_defines! { [INFO] [stderr] 18 | | vertex Vertex { [INFO] [stderr] 19 | | pos: [f32; 2] = "a_Pos", [INFO] [stderr] 20 | | color: [f32; 3] = "a_Color", [INFO] [stderr] ... | [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [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] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `using_math_lib`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a9268226392da7a458f435e8584359e383c562a098b3eb97928931a9c27681e2"` [INFO] running `"docker" "rm" "-f" "a9268226392da7a458f435e8584359e383c562a098b3eb97928931a9c27681e2"` [INFO] [stdout] a9268226392da7a458f435e8584359e383c562a098b3eb97928931a9c27681e2