[INFO] updating cached repository inux39/ejonecho [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/inux39/ejonecho [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/inux39/ejonecho" "work/ex/clippy-test-run/sources/stable/gh/inux39/ejonecho"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/inux39/ejonecho'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/inux39/ejonecho" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/inux39/ejonecho"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/inux39/ejonecho'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d5b45d68682f353e4004e549e0902944291e8ae0 [INFO] sha for GitHub repo inux39/ejonecho: d5b45d68682f353e4004e549e0902944291e8ae0 [INFO] validating manifest of inux39/ejonecho 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 inux39/ejonecho 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 inux39/ejonecho [INFO] finished frobbing inux39/ejonecho [INFO] frobbed toml for inux39/ejonecho written to work/ex/clippy-test-run/sources/stable/gh/inux39/ejonecho/Cargo.toml [INFO] started frobbing inux39/ejonecho [INFO] finished frobbing inux39/ejonecho [INFO] frobbed toml for inux39/ejonecho written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/inux39/ejonecho/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 inux39/ejonecho 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/gh/inux39/ejonecho:/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] 08e538052798297a2e167dc99c1030f8240a6f595eb6832ef37ab9434c38baba [INFO] running `"docker" "start" "-a" "08e538052798297a2e167dc99c1030f8240a6f595eb6832ef37ab9434c38baba"` [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Checking string v0.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.14 [INFO] [stderr] Checking doc-comment v0.1.2 [INFO] [stderr] Checking rand_jitter v0.1.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_os v0.1.1 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking libflate v0.1.19 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking bytes v0.4.11 [INFO] [stderr] Checking crossbeam-channel v0.3.7 [INFO] [stderr] Checking tokio-executor v0.1.6 [INFO] [stderr] Checking uuid v0.7.1 [INFO] [stderr] Checking mime v0.3.13 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Compiling openssl-sys v0.9.40 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking rand_pcg v0.1.1 [INFO] [stderr] Checking tokio-current-thread v0.1.4 [INFO] [stderr] Checking tokio-timer v0.2.9 [INFO] [stderr] Checking tokio-io v0.1.11 [INFO] [stderr] Checking http v0.1.15 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking serde_urlencoded v0.5.4 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Compiling openssl v0.10.16 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking crossbeam v0.6.0 [INFO] [stderr] Checking tokio-reactor v0.1.8 [INFO] [stderr] Checking h2 v0.1.16 [INFO] [stderr] Checking hyperx v0.13.2 [INFO] [stderr] Checking tokio-threadpool v0.1.11 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.85 [INFO] [stderr] Checking tokio v0.1.15 [INFO] [stderr] Checking hyper v0.12.23 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Checking reqwest v0.9.9 [INFO] [stderr] Checking mammut v0.12.0 [INFO] [stderr] Checking ejonecho v0.0.2 (/opt/crater/workdir) [INFO] [stderr] error[E0425]: cannot find function `ejoneco_time` in this scope [INFO] [stderr] --> src/main.rs:112:10 [INFO] [stderr] | [INFO] [stderr] 112 | assert!(ejoneco_time(0, 0) == 0); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ejoneco_time` in this scope [INFO] [stderr] --> src/main.rs:113:10 [INFO] [stderr] | [INFO] [stderr] 113 | assert!(ejoneco_time(0, 40) == 0); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ejoneco_time` in this scope [INFO] [stderr] --> src/main.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | assert!(ejoneco_time(0, 41) == 1); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ejoneco_time` in this scope [INFO] [stderr] --> src/main.rs:115:10 [INFO] [stderr] | [INFO] [stderr] 115 | assert!(ejoneco_time(12, 50) == 13); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ejoneco_time` in this scope [INFO] [stderr] --> src/main.rs:116:10 [INFO] [stderr] | [INFO] [stderr] 116 | assert!(ejoneco_time(24, 55) == 25); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/mastodon.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | const FILE: &'static str = "mastodon.toml"; [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/mastodon.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | const FILE: &'static str = "mastodon.toml"; [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: this if-then-else expression returns a bool literal [INFO] [stderr] --> src/main.rs:83:2 [INFO] [stderr] | [INFO] [stderr] 83 | if m >= 20 && m <= 40 { [INFO] [stderr] | _____^ [INFO] [stderr] 84 | | true [INFO] [stderr] 85 | | } else { [INFO] [stderr] 86 | | false [INFO] [stderr] 87 | | } [INFO] [stderr] | |_____^ help: you can reduce it to: `m >= 20 && m <= 40` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_bool)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool [INFO] [stderr] [INFO] [stderr] error: this `if` has identical blocks [INFO] [stderr] --> src/main.rs:103:19 [INFO] [stderr] | [INFO] [stderr] 103 | } else if t == 0 { [INFO] [stderr] | ______________________^ [INFO] [stderr] 104 | | 12 [INFO] [stderr] 105 | | } else { [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::if_same_then_else)] on by default [INFO] [stderr] note: same as this [INFO] [stderr] --> src/main.rs:101:20 [INFO] [stderr] | [INFO] [stderr] 101 | } else if t == 12 { [INFO] [stderr] | _______________________^ [INFO] [stderr] 102 | | 12 [INFO] [stderr] 103 | | } else if t == 0 { [INFO] [stderr] | |_____^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `ejonecho`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] error: Could not compile `ejonecho`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "08e538052798297a2e167dc99c1030f8240a6f595eb6832ef37ab9434c38baba"` [INFO] running `"docker" "rm" "-f" "08e538052798297a2e167dc99c1030f8240a6f595eb6832ef37ab9434c38baba"` [INFO] [stdout] 08e538052798297a2e167dc99c1030f8240a6f595eb6832ef37ab9434c38baba