[INFO] updating cached repository QasimK/sentiment-analysis [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/QasimK/sentiment-analysis [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/QasimK/sentiment-analysis" "work/ex/clippy-test-run/sources/stable/gh/QasimK/sentiment-analysis"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/QasimK/sentiment-analysis'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/QasimK/sentiment-analysis" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/QasimK/sentiment-analysis"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/QasimK/sentiment-analysis'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ed4d6b2d0d468385f1756fd23f544ccddad57d87 [INFO] sha for GitHub repo QasimK/sentiment-analysis: ed4d6b2d0d468385f1756fd23f544ccddad57d87 [INFO] validating manifest of QasimK/sentiment-analysis 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 QasimK/sentiment-analysis 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 QasimK/sentiment-analysis [INFO] finished frobbing QasimK/sentiment-analysis [INFO] frobbed toml for QasimK/sentiment-analysis written to work/ex/clippy-test-run/sources/stable/gh/QasimK/sentiment-analysis/Cargo.toml [INFO] started frobbing QasimK/sentiment-analysis [INFO] finished frobbing QasimK/sentiment-analysis [INFO] frobbed toml for QasimK/sentiment-analysis written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/QasimK/sentiment-analysis/Cargo.toml [INFO] crate QasimK/sentiment-analysis 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 QasimK/sentiment-analysis against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/QasimK/sentiment-analysis:/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] 770a2c6a9e39bba4bd1592547547d47e351c592972648a8c73573fd9a478ba8d [INFO] running `"docker" "start" "-a" "770a2c6a9e39bba4bd1592547547d47e351c592972648a8c73573fd9a478ba8d"` [INFO] [stderr] Compiling openssl v0.9.11 [INFO] [stderr] Compiling openssl-sys v0.9.11 [INFO] [stderr] Compiling hyper v0.10.8 [INFO] [stderr] Compiling syn v0.11.10 [INFO] [stderr] Compiling string_cache_codegen v0.3.1 [INFO] [stderr] Checking tendril v0.2.3 [INFO] [stderr] Compiling string_cache v0.4.0 [INFO] [stderr] Compiling html5ever-atoms v0.2.2 [INFO] [stderr] Compiling html5ever v0.14.1 [INFO] [stderr] Checking native-tls v0.1.2 [INFO] [stderr] Checking hyper-native-tls v0.2.2 [INFO] [stderr] Checking select v0.4.0 [INFO] [stderr] Checking sentiment v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: this loop never actually loops [INFO] [stderr] --> src/main.rs:91:21 [INFO] [stderr] | [INFO] [stderr] 91 | / for node in document.find(Attr("id", core_pattern)) { [INFO] [stderr] 92 | | // println!("{:?}", node.text()); [INFO] [stderr] 93 | | return node.text(); [INFO] [stderr] 94 | | } [INFO] [stderr] | |_____________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::never_loop)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop [INFO] [stderr] [INFO] [stderr] error: this loop never actually loops [INFO] [stderr] --> src/main.rs:98:21 [INFO] [stderr] | [INFO] [stderr] 98 | / for node in document.find(Class(core_pattern)) { [INFO] [stderr] 99 | | // println!("{:?}", node.text()); [INFO] [stderr] 100 | | return node.text(); [INFO] [stderr] 101 | | } [INFO] [stderr] | |_____________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop [INFO] [stderr] [INFO] [stderr] warning: single-character string constant used as pattern [INFO] [stderr] --> src/main.rs:121:43 [INFO] [stderr] | [INFO] [stderr] 121 | let v: Vec<&str> = line.splitn(2, "\t").collect(); [INFO] [stderr] | ^^^^ help: try using a char instead: `'\t'` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_char_pattern)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `sentiment`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: this loop never actually loops [INFO] [stderr] --> src/main.rs:91:21 [INFO] [stderr] | [INFO] [stderr] 91 | / for node in document.find(Attr("id", core_pattern)) { [INFO] [stderr] 92 | | // println!("{:?}", node.text()); [INFO] [stderr] 93 | | return node.text(); [INFO] [stderr] 94 | | } [INFO] [stderr] | |_____________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::never_loop)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop [INFO] [stderr] [INFO] [stderr] error: this loop never actually loops [INFO] [stderr] --> src/main.rs:98:21 [INFO] [stderr] | [INFO] [stderr] 98 | / for node in document.find(Class(core_pattern)) { [INFO] [stderr] 99 | | // println!("{:?}", node.text()); [INFO] [stderr] 100 | | return node.text(); [INFO] [stderr] 101 | | } [INFO] [stderr] | |_____________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop [INFO] [stderr] [INFO] [stderr] warning: single-character string constant used as pattern [INFO] [stderr] --> src/main.rs:121:43 [INFO] [stderr] | [INFO] [stderr] 121 | let v: Vec<&str> = line.splitn(2, "\t").collect(); [INFO] [stderr] | ^^^^ help: try using a char instead: `'\t'` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_char_pattern)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `sentiment`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "770a2c6a9e39bba4bd1592547547d47e351c592972648a8c73573fd9a478ba8d"` [INFO] running `"docker" "rm" "-f" "770a2c6a9e39bba4bd1592547547d47e351c592972648a8c73573fd9a478ba8d"` [INFO] [stdout] 770a2c6a9e39bba4bd1592547547d47e351c592972648a8c73573fd9a478ba8d