[INFO] updating cached repository paulthom12345/rig [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/paulthom12345/rig [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/paulthom12345/rig" "work/ex/clippy-test-run/sources/stable/gh/paulthom12345/rig"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/paulthom12345/rig'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/paulthom12345/rig" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/paulthom12345/rig"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/paulthom12345/rig'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d59d2c40f45767c797f793bc53e1a1099c99e76a [INFO] sha for GitHub repo paulthom12345/rig: d59d2c40f45767c797f793bc53e1a1099c99e76a [INFO] validating manifest of paulthom12345/rig 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 paulthom12345/rig 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 paulthom12345/rig [INFO] finished frobbing paulthom12345/rig [INFO] frobbed toml for paulthom12345/rig written to work/ex/clippy-test-run/sources/stable/gh/paulthom12345/rig/Cargo.toml [INFO] started frobbing paulthom12345/rig [INFO] finished frobbing paulthom12345/rig [INFO] frobbed toml for paulthom12345/rig written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/paulthom12345/rig/Cargo.toml [INFO] crate paulthom12345/rig 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 paulthom12345/rig 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/paulthom12345/rig:/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] 157adfdb77158f3adb3b76b74f0f578c3cb15f020e8bddf9fe8f1f07e6d2afb1 [INFO] running `"docker" "start" "-a" "157adfdb77158f3adb3b76b74f0f578c3cb15f020e8bddf9fe8f1f07e6d2afb1"` [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Compiling cmake v0.1.31 [INFO] [stderr] Compiling libz-sys v1.0.18 [INFO] [stderr] Compiling openssl-sys v0.9.33 [INFO] [stderr] Compiling curl-sys v0.4.5 [INFO] [stderr] Compiling libssh2-sys v0.2.7 [INFO] [stderr] Compiling libgit2-sys v0.7.4 [INFO] [stderr] Checking tui v0.2.3 [INFO] [stderr] Checking git2 v0.7.2 [INFO] [stderr] Checking linker v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: lint name `clippy_pedantic` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/bin/main.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(clippy_pedantic)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::pedantic` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_possible_truncation` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/bin/main.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #![allow(cast_possible_truncation)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_possible_truncation` [INFO] [stderr] [INFO] [stderr] warning: lint name `clippy_pedantic` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/bin/main.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(clippy_pedantic)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::pedantic` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_possible_truncation` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/bin/main.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #![allow(cast_possible_truncation)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_possible_truncation` [INFO] [stderr] [INFO] [stderr] warning: lint name `clippy_pedantic` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/bin/main.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(clippy_pedantic)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::pedantic` [INFO] [stderr] [INFO] [stderr] warning: lint name `clippy_pedantic` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/bin/main.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(clippy_pedantic)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::pedantic` [INFO] [stderr] [INFO] [stderr] error: item name starts with its containing module's name [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/bin/main.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(clippy_pedantic)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::stutter)] implied by #[deny(clippy::pedantic)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#stutter [INFO] [stderr] [INFO] [stderr] warning: unused variable: `url` [INFO] [stderr] --> src/bin/main.rs:195:22 [INFO] [stderr] | [INFO] [stderr] 195 | cbs.credentials(|url, user, allowed| { [INFO] [stderr] | ^^^ help: consider using `_url` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/bin/main.rs:195:27 [INFO] [stderr] | [INFO] [stderr] 195 | cbs.credentials(|url, user, allowed| { [INFO] [stderr] | ^^^^ help: consider using `_user` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `allowed` [INFO] [stderr] --> src/bin/main.rs:195:33 [INFO] [stderr] | [INFO] [stderr] 195 | cbs.credentials(|url, user, allowed| { [INFO] [stderr] | ^^^^^^^ help: consider using `_allowed` instead [INFO] [stderr] [INFO] [stderr] warning: variant `FETCH_FILLED` should have a camel case name such as `FetchFilled` [INFO] [stderr] --> src/bin/main.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | / FETCH_FILLED { [INFO] [stderr] 43 | | refspec: usize [INFO] [stderr] 44 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_camel_case_types)] on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] warning: called `.get().unwrap()` on a Vec. Using `[]` is more clear and more concise [INFO] [stderr] --> src/bin/main.rs:130:38 [INFO] [stderr] | [INFO] [stderr] 130 | let gitref = branches.get(refspec).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `branches[refspec]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::get_unwrap)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_unwrap [INFO] [stderr] [INFO] [stderr] error: Could not compile `linker`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: casting f32 to u16 may lose the sign of the value [INFO] [stderr] --> src/bin/main.rs:243:35 [INFO] [stderr] | [INFO] [stderr] 243 | f(String::from(path), ((f32::from(up)) / f32::from(to) * 100.0) as u16) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/bin/main.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(clippy_pedantic)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::cast_sign_loss)] implied by #[deny(clippy::pedantic)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `linker`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "157adfdb77158f3adb3b76b74f0f578c3cb15f020e8bddf9fe8f1f07e6d2afb1"` [INFO] running `"docker" "rm" "-f" "157adfdb77158f3adb3b76b74f0f578c3cb15f020e8bddf9fe8f1f07e6d2afb1"` [INFO] [stdout] 157adfdb77158f3adb3b76b74f0f578c3cb15f020e8bddf9fe8f1f07e6d2afb1