[INFO] crate lsp 0.3.1 is already in cache [INFO] extracting crate lsp 0.3.1 into work/ex/clippy-test-run/sources/stable/reg/lsp/0.3.1 [INFO] extracting crate lsp 0.3.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/lsp/0.3.1 [INFO] validating manifest of lsp-0.3.1 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 lsp-0.3.1 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 lsp-0.3.1 [INFO] finished frobbing lsp-0.3.1 [INFO] frobbed toml for lsp-0.3.1 written to work/ex/clippy-test-run/sources/stable/reg/lsp/0.3.1/Cargo.toml [INFO] started frobbing lsp-0.3.1 [INFO] finished frobbing lsp-0.3.1 [INFO] frobbed toml for lsp-0.3.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/lsp/0.3.1/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 lsp-0.3.1 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-3/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/lsp/0.3.1:/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] a81fc381f0f29d2f2ca5853a97cf668bbc672f1a690973271e6523d5b5b02237 [INFO] running `"docker" "start" "-a" "a81fc381f0f29d2f2ca5853a97cf668bbc672f1a690973271e6523d5b5b02237"` [INFO] [stderr] Checking lsp v0.3.1 (/opt/crater/workdir) [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/types/mod.rs:93:18 [INFO] [stderr] | [INFO] [stderr] 93 | pub const EOL: [&'static str; 3] = ["\n", "\r\n", "\r"]; [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: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/types/mod.rs:93:18 [INFO] [stderr] | [INFO] [stderr] 93 | pub const EOL: [&'static str; 3] = ["\n", "\r\n", "\r"]; [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: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/protocol/code_action_request.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | pub const TYPE: RequestType< [INFO] [stderr] | _________________^ [INFO] [stderr] 8 | | CodeActionParams, [INFO] [stderr] 9 | | Nullable>>, [INFO] [stderr] 10 | | (), [INFO] [stderr] 11 | | TextDocumentRegistrationOptions, [INFO] [stderr] 12 | | > = RequestType { [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::type_complexity)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] error: regex syntax error: unclosed character class [INFO] [stderr] --> src/types/marked_string.rs:27:22 [INFO] [stderr] | [INFO] [stderr] 27 | Regex::new(r"[\\`*_{}[\]()#+\-.!]").unwrap().replace_all(&plain_text, "\\$&").to_string() // escape markdown syntax tokens: http://daringfireball.net/projects/markdown/syntax#backslash [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::invalid_regex)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#invalid_regex [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/protocol/code_action_request.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | pub const TYPE: RequestType< [INFO] [stderr] | _________________^ [INFO] [stderr] 8 | | CodeActionParams, [INFO] [stderr] 9 | | Nullable>>, [INFO] [stderr] 10 | | (), [INFO] [stderr] 11 | | TextDocumentRegistrationOptions, [INFO] [stderr] 12 | | > = RequestType { [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::type_complexity)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `lsp`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: regex syntax error: unclosed character class [INFO] [stderr] --> src/types/marked_string.rs:27:22 [INFO] [stderr] | [INFO] [stderr] 27 | Regex::new(r"[\\`*_{}[\]()#+\-.!]").unwrap().replace_all(&plain_text, "\\$&").to_string() // escape markdown syntax tokens: http://daringfireball.net/projects/markdown/syntax#backslash [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::invalid_regex)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#invalid_regex [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `lsp`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a81fc381f0f29d2f2ca5853a97cf668bbc672f1a690973271e6523d5b5b02237"` [INFO] running `"docker" "rm" "-f" "a81fc381f0f29d2f2ca5853a97cf668bbc672f1a690973271e6523d5b5b02237"` [INFO] [stdout] a81fc381f0f29d2f2ca5853a97cf668bbc672f1a690973271e6523d5b5b02237