[INFO] crate woothee 0.8.0 is already in cache [INFO] extracting crate woothee 0.8.0 into work/ex/clippy-test-run/sources/stable/reg/woothee/0.8.0 [INFO] extracting crate woothee 0.8.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/woothee/0.8.0 [INFO] validating manifest of woothee-0.8.0 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 woothee-0.8.0 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 woothee-0.8.0 [INFO] finished frobbing woothee-0.8.0 [INFO] frobbed toml for woothee-0.8.0 written to work/ex/clippy-test-run/sources/stable/reg/woothee/0.8.0/Cargo.toml [INFO] started frobbing woothee-0.8.0 [INFO] finished frobbing woothee-0.8.0 [INFO] frobbed toml for woothee-0.8.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/woothee/0.8.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 woothee-0.8.0 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/reg/woothee/0.8.0:/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] 097670e639d8df2ab9b00a701786713be3a0e79b13df960d0d05543fa7959a97 [INFO] running `"docker" "start" "-a" "097670e639d8df2ab9b00a701786713be3a0e79b13df960d0d05543fa7959a97"` [INFO] [stderr] Compiling woothee v0.8.0 (/opt/crater/workdir) [INFO] [stderr] Checking uap-rust v0.0.4 [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/woothee.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | pub const VALUE_UNKNOWN: &'static str = "UNKNOWN"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `parser::Parser` [INFO] [stderr] --> src/parser.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | / pub fn new() -> Parser { [INFO] [stderr] 111 | | Parser { } [INFO] [stderr] 112 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 106 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/woothee.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | pub const VALUE_UNKNOWN: &'static str = "UNKNOWN"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `parser::Parser` [INFO] [stderr] --> src/parser.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | / pub fn new() -> Parser { [INFO] [stderr] 111 | | Parser { } [INFO] [stderr] 112 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 106 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 61 [INFO] [stderr] --> tests/crawler_google.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | / fn test_crawler_google() { [INFO] [stderr] 9 | | let parser = Parser::new(); [INFO] [stderr] 10 | | [INFO] [stderr] 11 | | match parser.parse(r#"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"#) { [INFO] [stderr] ... | [INFO] [stderr] 110 | | } [INFO] [stderr] 111 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 157 [INFO] [stderr] --> tests/pc_windows.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | / fn test_pc_windows() { [INFO] [stderr] 9 | | let parser = Parser::new(); [INFO] [stderr] 10 | | [INFO] [stderr] 11 | | match parser.parse(r#"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; InfoPath.1)"#) { [INFO] [stderr] ... | [INFO] [stderr] 270 | | } [INFO] [stderr] 271 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 43 [INFO] [stderr] --> tests/mobilephone_softbank.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | / fn test_mobilephone_softbank() { [INFO] [stderr] 9 | | let parser = Parser::new(); [INFO] [stderr] 10 | | [INFO] [stderr] 11 | | match parser.parse(r#"SoftBank/1.0/841SH/SHJ001/SN000000000000000 Browser/NetFront/3.5 Profile/MIDP-2.0 Configuration/CLDC-1.1"#) { [INFO] [stderr] ... | [INFO] [stderr] 80 | | } [INFO] [stderr] 81 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 61 [INFO] [stderr] --> tests/smartphone_android.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | / fn test_smartphone_android() { [INFO] [stderr] 9 | | let parser = Parser::new(); [INFO] [stderr] 10 | | [INFO] [stderr] 11 | | match parser.parse(r#"Mozilla/5.0 (Linux; U; Android 2.3.5; ja-jp; ISW11F Build/FGK500) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"#) { [INFO] [stderr] ... | [INFO] [stderr] 110 | | } [INFO] [stderr] 111 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 277 [INFO] [stderr] --> tests/crawler.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | / fn test_crawler() { [INFO] [stderr] 9 | | let parser = Parser::new(); [INFO] [stderr] 10 | | [INFO] [stderr] 11 | | match parser.parse(r#"Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)"#) { [INFO] [stderr] ... | [INFO] [stderr] 470 | | } [INFO] [stderr] 471 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 113 [INFO] [stderr] --> tests/pc_misc.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | / fn test_pc_misc() { [INFO] [stderr] 9 | | let parser = Parser::new(); [INFO] [stderr] 10 | | [INFO] [stderr] 11 | | match parser.parse(r#"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_4; ja-jp) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1"#) { [INFO] [stderr] ... | [INFO] [stderr] 202 | | } [INFO] [stderr] 203 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 31 [INFO] [stderr] --> tests/mobilephone_willcom.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | / fn test_mobilephone_willcom() { [INFO] [stderr] 9 | | let parser = Parser::new(); [INFO] [stderr] 10 | | [INFO] [stderr] 11 | | match parser.parse(r#"Mozilla/3.0(WILLCOM;TOSHIBA/WX320T/2;1/1/C128) NetFront/3.4"#) { [INFO] [stderr] ... | [INFO] [stderr] 60 | | } [INFO] [stderr] 61 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> benches/benchmark.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(test)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0554`. [INFO] [stderr] error: Could not compile `woothee`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: the function has a cyclomatic complexity of 37 [INFO] [stderr] --> tests/mobilephone_docomo.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | / fn test_mobilephone_docomo() { [INFO] [stderr] 9 | | let parser = Parser::new(); [INFO] [stderr] 10 | | [INFO] [stderr] 11 | | match parser.parse(r#"DoCoMo/2.0 SH01A(c100;TB;W24H16)"#) { [INFO] [stderr] ... | [INFO] [stderr] 70 | | } [INFO] [stderr] 71 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 61 [INFO] [stderr] --> tests/mobilephone_misc.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | / fn test_mobilephone_misc() { [INFO] [stderr] 9 | | let parser = Parser::new(); [INFO] [stderr] 10 | | [INFO] [stderr] 11 | | match parser.parse(r#"Mozilla/5.0 (jig browser core; SH03B)"#) { [INFO] [stderr] ... | [INFO] [stderr] 110 | | } [INFO] [stderr] 111 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 211 [INFO] [stderr] --> tests/misc.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | / fn test_misc() { [INFO] [stderr] 9 | | let parser = Parser::new(); [INFO] [stderr] 10 | | [INFO] [stderr] 11 | | match parser.parse(r#"AppleSyndication/56.1"#) { [INFO] [stderr] ... | [INFO] [stderr] 360 | | } [INFO] [stderr] 361 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 47 [INFO] [stderr] --> tests/smartphone_misc.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | / fn test_smartphone_misc() { [INFO] [stderr] 9 | | let parser = Parser::new(); [INFO] [stderr] 10 | | [INFO] [stderr] 11 | | match parser.parse(r#"Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0"#) { [INFO] [stderr] ... | [INFO] [stderr] 92 | | } [INFO] [stderr] 93 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 79 [INFO] [stderr] --> tests/smartphone_ios.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | / fn test_smartphone_ios() { [INFO] [stderr] 9 | | let parser = Parser::new(); [INFO] [stderr] 10 | | [INFO] [stderr] 11 | | match parser.parse(r#"Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3"#) { [INFO] [stderr] ... | [INFO] [stderr] 140 | | } [INFO] [stderr] 141 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "097670e639d8df2ab9b00a701786713be3a0e79b13df960d0d05543fa7959a97"` [INFO] running `"docker" "rm" "-f" "097670e639d8df2ab9b00a701786713be3a0e79b13df960d0d05543fa7959a97"` [INFO] [stdout] 097670e639d8df2ab9b00a701786713be3a0e79b13df960d0d05543fa7959a97