[INFO] updating cached repository JJJollyjim/mathsbot [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/JJJollyjim/mathsbot [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/JJJollyjim/mathsbot" "work/ex/clippy-test-run/sources/stable/gh/JJJollyjim/mathsbot"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/JJJollyjim/mathsbot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/JJJollyjim/mathsbot" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/JJJollyjim/mathsbot"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/JJJollyjim/mathsbot'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4da2c435fae9247bd5a099e1b00c88059ddbdcde [INFO] sha for GitHub repo JJJollyjim/mathsbot: 4da2c435fae9247bd5a099e1b00c88059ddbdcde [INFO] validating manifest of JJJollyjim/mathsbot 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 JJJollyjim/mathsbot 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 JJJollyjim/mathsbot [INFO] finished frobbing JJJollyjim/mathsbot [INFO] frobbed toml for JJJollyjim/mathsbot written to work/ex/clippy-test-run/sources/stable/gh/JJJollyjim/mathsbot/Cargo.toml [INFO] started frobbing JJJollyjim/mathsbot [INFO] finished frobbing JJJollyjim/mathsbot [INFO] frobbed toml for JJJollyjim/mathsbot written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/JJJollyjim/mathsbot/Cargo.toml [INFO] crate JJJollyjim/mathsbot 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 JJJollyjim/mathsbot against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/JJJollyjim/mathsbot:/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] d6c95ccfe044d3e2e920cd00e5c87de9cdf50bbc5d0d768aadc884f291b521eb [INFO] running `"docker" "start" "-a" "d6c95ccfe044d3e2e920cd00e5c87de9cdf50bbc5d0d768aadc884f291b521eb"` [INFO] [stderr] Checking serde v1.0.51 [INFO] [stderr] Checking vec_shift v0.1.0 [INFO] [stderr] Checking base64 v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.51 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking hyper-native-tls v0.2.4 [INFO] [stderr] Checking evzht9h3nznqzwl v0.0.2 [INFO] [stderr] Checking multipart v0.13.6 [INFO] [stderr] Checking chrono v0.4.2 [INFO] [stderr] Checking serde_json v1.0.17 [INFO] [stderr] Checking serenity v0.4.8 [INFO] [stderr] Checking mathsbot v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: the function has a cyclomatic complexity of 27 [INFO] [stderr] --> src/main.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | / fn handle_message(ctx: Context, message: Message, is_update: bool) { [INFO] [stderr] 55 | | let content = message.content_safe(); [INFO] [stderr] 56 | | [INFO] [stderr] 57 | | let mut typemap = ctx.data.lock(); [INFO] [stderr] ... | [INFO] [stderr] 135 | | [INFO] [stderr] 136 | | } [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 27 [INFO] [stderr] --> src/main.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | / fn handle_message(ctx: Context, message: Message, is_update: bool) { [INFO] [stderr] 55 | | let content = message.content_safe(); [INFO] [stderr] 56 | | [INFO] [stderr] 57 | | let mut typemap = ctx.data.lock(); [INFO] [stderr] ... | [INFO] [stderr] 135 | | [INFO] [stderr] 136 | | } [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] Finished dev [unoptimized + debuginfo] target(s) in 46.32s [INFO] running `"docker" "inspect" "d6c95ccfe044d3e2e920cd00e5c87de9cdf50bbc5d0d768aadc884f291b521eb"` [INFO] running `"docker" "rm" "-f" "d6c95ccfe044d3e2e920cd00e5c87de9cdf50bbc5d0d768aadc884f291b521eb"` [INFO] [stdout] d6c95ccfe044d3e2e920cd00e5c87de9cdf50bbc5d0d768aadc884f291b521eb