[INFO] updating cached repository icewind1991/vrc-invite-bot [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/icewind1991/vrc-invite-bot [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/icewind1991/vrc-invite-bot" "work/ex/clippy-test-run/sources/stable/gh/icewind1991/vrc-invite-bot"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/icewind1991/vrc-invite-bot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/icewind1991/vrc-invite-bot" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/icewind1991/vrc-invite-bot"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/icewind1991/vrc-invite-bot'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5d650771dfa27694588f55f8ed5d2288f7b83d8d [INFO] sha for GitHub repo icewind1991/vrc-invite-bot: 5d650771dfa27694588f55f8ed5d2288f7b83d8d [INFO] validating manifest of icewind1991/vrc-invite-bot 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 icewind1991/vrc-invite-bot 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 icewind1991/vrc-invite-bot [INFO] finished frobbing icewind1991/vrc-invite-bot [INFO] frobbed toml for icewind1991/vrc-invite-bot written to work/ex/clippy-test-run/sources/stable/gh/icewind1991/vrc-invite-bot/Cargo.toml [INFO] started frobbing icewind1991/vrc-invite-bot [INFO] finished frobbing icewind1991/vrc-invite-bot [INFO] frobbed toml for icewind1991/vrc-invite-bot written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/icewind1991/vrc-invite-bot/Cargo.toml [INFO] crate icewind1991/vrc-invite-bot 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 icewind1991/vrc-invite-bot 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/icewind1991/vrc-invite-bot:/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] 9a1e8e3b963bf2875bca870794431fa2837ac4a748eee062f970d2b5a89c7418 [INFO] running `"docker" "start" "-a" "9a1e8e3b963bf2875bca870794431fa2837ac4a748eee062f970d2b5a89c7418"` [INFO] [stderr] Compiling serde v1.0.56 [INFO] [stderr] Checking simple_logger v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.56 [INFO] [stderr] Checking hyper v0.11.27 [INFO] [stderr] Checking hyper-tls v0.1.3 [INFO] [stderr] Checking serde_json v1.0.17 [INFO] [stderr] Checking restson v0.2.1 [INFO] [stderr] Checking vrc-invite-bot v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:79:12 [INFO] [stderr] | [INFO] [stderr] 79 | Ok(format!("/api/1/auth/user/notifications")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `"/api/1/auth/user/notifications".to_string()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::useless_format)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [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:208:21 [INFO] [stderr] | [INFO] [stderr] 208 | / match result { [INFO] [stderr] 209 | | Err(e) => println!("error while running loop {:?}", e), [INFO] [stderr] 210 | | Ok(_) => {} [INFO] [stderr] 211 | | } [INFO] [stderr] | |_____________________^ help: try this: `if let Err(e) = result { println!("error while running loop {:?}", e) }` [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] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/main.rs:218:21 [INFO] [stderr] | [INFO] [stderr] 218 | / match result { [INFO] [stderr] 219 | | Err(e) => println!("error while running loop {:?}", e), [INFO] [stderr] 220 | | Ok(_) => {} [INFO] [stderr] 221 | | } [INFO] [stderr] | |_____________________^ help: try this: `if let Err(e) = result { println!("error while running loop {:?}", e) }` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> src/main.rs:79:12 [INFO] [stderr] | [INFO] [stderr] 79 | Ok(format!("/api/1/auth/user/notifications")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `"/api/1/auth/user/notifications".to_string()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::useless_format)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [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:208:21 [INFO] [stderr] | [INFO] [stderr] 208 | / match result { [INFO] [stderr] 209 | | Err(e) => println!("error while running loop {:?}", e), [INFO] [stderr] 210 | | Ok(_) => {} [INFO] [stderr] 211 | | } [INFO] [stderr] | |_____________________^ help: try this: `if let Err(e) = result { println!("error while running loop {:?}", e) }` [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] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/main.rs:218:21 [INFO] [stderr] | [INFO] [stderr] 218 | / match result { [INFO] [stderr] 219 | | Err(e) => println!("error while running loop {:?}", e), [INFO] [stderr] 220 | | Ok(_) => {} [INFO] [stderr] 221 | | } [INFO] [stderr] | |_____________________^ help: try this: `if let Err(e) = result { println!("error while running loop {:?}", e) }` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.77s [INFO] running `"docker" "inspect" "9a1e8e3b963bf2875bca870794431fa2837ac4a748eee062f970d2b5a89c7418"` [INFO] running `"docker" "rm" "-f" "9a1e8e3b963bf2875bca870794431fa2837ac4a748eee062f970d2b5a89c7418"` [INFO] [stdout] 9a1e8e3b963bf2875bca870794431fa2837ac4a748eee062f970d2b5a89c7418