[INFO] updating cached repository WAFFO/hello-wasm-webgl [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/WAFFO/hello-wasm-webgl [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/WAFFO/hello-wasm-webgl" "work/ex/clippy-test-run/sources/stable/gh/WAFFO/hello-wasm-webgl"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/WAFFO/hello-wasm-webgl'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/WAFFO/hello-wasm-webgl" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/WAFFO/hello-wasm-webgl"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/WAFFO/hello-wasm-webgl'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c333760a1a3e536c84d9311e3f44c09461b17023 [INFO] sha for GitHub repo WAFFO/hello-wasm-webgl: c333760a1a3e536c84d9311e3f44c09461b17023 [INFO] validating manifest of WAFFO/hello-wasm-webgl 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 WAFFO/hello-wasm-webgl 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 WAFFO/hello-wasm-webgl [INFO] finished frobbing WAFFO/hello-wasm-webgl [INFO] frobbed toml for WAFFO/hello-wasm-webgl written to work/ex/clippy-test-run/sources/stable/gh/WAFFO/hello-wasm-webgl/Cargo.toml [INFO] started frobbing WAFFO/hello-wasm-webgl [INFO] finished frobbing WAFFO/hello-wasm-webgl [INFO] frobbed toml for WAFFO/hello-wasm-webgl written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/WAFFO/hello-wasm-webgl/Cargo.toml [INFO] crate WAFFO/hello-wasm-webgl 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 WAFFO/hello-wasm-webgl against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-3/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/WAFFO/hello-wasm-webgl:/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] 4fbe52414b8e393ccf9305c78bfc6e3ecc051bfa6cb1c421bf5bd0574c5ddedb [INFO] running `"docker" "start" "-a" "4fbe52414b8e393ccf9305c78bfc6e3ecc051bfa6cb1c421bf5bd0574c5ddedb"` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.28 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.28 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.28 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling weedle v0.8.0 [INFO] [stderr] Compiling env_logger v0.6.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.28 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.28 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.22 [INFO] [stderr] Checking js-sys v0.3.5 [INFO] [stderr] Compiling web-sys v0.3.5 [INFO] [stderr] Checking hello-webgl v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: you should consider adding a `Default` implementation for `timer_mod::Timer` [INFO] [stderr] --> src/timer_mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | / pub fn new() -> Timer { [INFO] [stderr] 11 | | let performance = web_sys::window().unwrap().performance().unwrap(); [INFO] [stderr] 12 | | let last_frame = performance.now(); [INFO] [stderr] 13 | | let delta = 0.0; [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 9 | impl Default for timer_mod::Timer { [INFO] [stderr] 10 | fn default() -> Self { [INFO] [stderr] 11 | Self::new() [INFO] [stderr] 12 | } [INFO] [stderr] 13 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you should consider adding a `Default` implementation for `timer_mod::Timer` [INFO] [stderr] --> src/timer_mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | / pub fn new() -> Timer { [INFO] [stderr] 11 | | let performance = web_sys::window().unwrap().performance().unwrap(); [INFO] [stderr] 12 | | let last_frame = performance.now(); [INFO] [stderr] 13 | | let delta = 0.0; [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 9 | impl Default for timer_mod::Timer { [INFO] [stderr] 10 | fn default() -> Self { [INFO] [stderr] 11 | Self::new() [INFO] [stderr] 12 | } [INFO] [stderr] 13 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.54s [INFO] running `"docker" "inspect" "4fbe52414b8e393ccf9305c78bfc6e3ecc051bfa6cb1c421bf5bd0574c5ddedb"` [INFO] running `"docker" "rm" "-f" "4fbe52414b8e393ccf9305c78bfc6e3ecc051bfa6cb1c421bf5bd0574c5ddedb"` [INFO] [stdout] 4fbe52414b8e393ccf9305c78bfc6e3ecc051bfa6cb1c421bf5bd0574c5ddedb