[INFO] updating cached repository das3in/rust-pomodoro [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/das3in/rust-pomodoro [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/das3in/rust-pomodoro" "work/ex/clippy-test-run/sources/stable/gh/das3in/rust-pomodoro"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/das3in/rust-pomodoro'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/das3in/rust-pomodoro" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/das3in/rust-pomodoro"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/das3in/rust-pomodoro'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1c01e7e24c80acf45ea7d99eec5fef9f1dfa7d12 [INFO] sha for GitHub repo das3in/rust-pomodoro: 1c01e7e24c80acf45ea7d99eec5fef9f1dfa7d12 [INFO] validating manifest of das3in/rust-pomodoro 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 das3in/rust-pomodoro 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 das3in/rust-pomodoro [INFO] finished frobbing das3in/rust-pomodoro [INFO] frobbed toml for das3in/rust-pomodoro written to work/ex/clippy-test-run/sources/stable/gh/das3in/rust-pomodoro/Cargo.toml [INFO] started frobbing das3in/rust-pomodoro [INFO] finished frobbing das3in/rust-pomodoro [INFO] frobbed toml for das3in/rust-pomodoro written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/das3in/rust-pomodoro/Cargo.toml [INFO] crate das3in/rust-pomodoro 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 das3in/rust-pomodoro against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/das3in/rust-pomodoro:/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] 3f26c1cfd74de2c2b607d8ad0e78e605923fff05addcfc5b9bb6370b5072514b [INFO] running `"docker" "start" "-a" "3f26c1cfd74de2c2b607d8ad0e78e605923fff05addcfc5b9bb6370b5072514b"` [INFO] [stderr] Checking chan v0.1.19 [INFO] [stderr] Checking tester v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused variable: `short_break` [INFO] [stderr] --> src/main.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | let short_break = chan::tick_ms(break_param / 3); [INFO] [stderr] | ^^^^^^^^^^^ help: consider using `_short_break` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `break_minutes_remaining` [INFO] [stderr] --> src/main.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | let mut break_minutes_remaining = 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `_break_minutes_remaining` instead [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | let mut break_minutes_remaining = 3; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: casting u32 to u64 may become silently lossy if types change [INFO] [stderr] --> src/main.rs:74:63 [INFO] [stderr] | [INFO] [stderr] 74 | thread::sleep(time::Duration::from_millis(rest_param as u64)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try: `u64::from(rest_param)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u32 to u64 may become silently lossy if types change [INFO] [stderr] --> src/main.rs:81:63 [INFO] [stderr] | [INFO] [stderr] 81 | thread::sleep(time::Duration::from_millis(break_param as u64)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: try: `u64::from(break_param)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: unused variable: `short_break` [INFO] [stderr] --> src/main.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | let short_break = chan::tick_ms(break_param / 3); [INFO] [stderr] | ^^^^^^^^^^^ help: consider using `_short_break` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `break_minutes_remaining` [INFO] [stderr] --> src/main.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | let mut break_minutes_remaining = 3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `_break_minutes_remaining` instead [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | let mut break_minutes_remaining = 3; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: casting u32 to u64 may become silently lossy if types change [INFO] [stderr] --> src/main.rs:74:63 [INFO] [stderr] | [INFO] [stderr] 74 | thread::sleep(time::Duration::from_millis(rest_param as u64)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try: `u64::from(rest_param)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u32 to u64 may become silently lossy if types change [INFO] [stderr] --> src/main.rs:81:63 [INFO] [stderr] | [INFO] [stderr] 81 | thread::sleep(time::Duration::from_millis(break_param as u64)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: try: `u64::from(break_param)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `"docker" "inspect" "3f26c1cfd74de2c2b607d8ad0e78e605923fff05addcfc5b9bb6370b5072514b"` [INFO] running `"docker" "rm" "-f" "3f26c1cfd74de2c2b607d8ad0e78e605923fff05addcfc5b9bb6370b5072514b"` [INFO] [stdout] 3f26c1cfd74de2c2b607d8ad0e78e605923fff05addcfc5b9bb6370b5072514b