[INFO] crate teraform 0.1.0 is already in cache [INFO] extracting crate teraform 0.1.0 into work/ex/clippy-test-run/sources/stable/reg/teraform/0.1.0 [INFO] extracting crate teraform 0.1.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/teraform/0.1.0 [INFO] validating manifest of teraform-0.1.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 teraform-0.1.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 teraform-0.1.0 [INFO] finished frobbing teraform-0.1.0 [INFO] frobbed toml for teraform-0.1.0 written to work/ex/clippy-test-run/sources/stable/reg/teraform/0.1.0/Cargo.toml [INFO] started frobbing teraform-0.1.0 [INFO] finished frobbing teraform-0.1.0 [INFO] frobbed toml for teraform-0.1.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/teraform/0.1.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 teraform-0.1.0 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/teraform/0.1.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] 38ed1c2a6fc1307b5c9fd0676e2986845ac3cf543b987e519442fb2c4f5b4d50 [INFO] running `"docker" "start" "-a" "38ed1c2a6fc1307b5c9fd0676e2986845ac3cf543b987e519442fb2c4f5b4d50"` [INFO] [stderr] Checking pest v2.1.0 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking tera v0.11.20 [INFO] [stderr] Checking teraform v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'tera::Context::add': Use `insert` instead to keep consistency with std collections [INFO] [stderr] --> src/main.rs:56:25 [INFO] [stderr] | [INFO] [stderr] 56 | ctx.add(key, &value[1..]); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tera::Context::add': Use `insert` instead to keep consistency with std collections [INFO] [stderr] --> src/main.rs:59:25 [INFO] [stderr] | [INFO] [stderr] 59 | ctx.add(kv, &true); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tera::Context::add': Use `insert` instead to keep consistency with std collections [INFO] [stderr] --> src/main.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | ctx.add("env", &env_variables); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: this let-binding has unit value. Consider omitting `let _loading =` [INFO] [stderr] --> src/main.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | let _loading = tera.add_template_file(template_path, Some("main")).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::let_unit_value)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stderr] [INFO] [stderr] warning: called `skip(x).next()` on an iterator. This is more succinctly expressed by calling `nth(x)` [INFO] [stderr] --> src/main.rs:89:19 [INFO] [stderr] | [INFO] [stderr] 89 | match template_error.iter().skip(1).next() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::iter_skip_next)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_next [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tera::Context::add': Use `insert` instead to keep consistency with std collections [INFO] [stderr] --> src/main.rs:56:25 [INFO] [stderr] | [INFO] [stderr] 56 | ctx.add(key, &value[1..]); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tera::Context::add': Use `insert` instead to keep consistency with std collections [INFO] [stderr] --> src/main.rs:59:25 [INFO] [stderr] | [INFO] [stderr] 59 | ctx.add(kv, &true); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tera::Context::add': Use `insert` instead to keep consistency with std collections [INFO] [stderr] --> src/main.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | ctx.add("env", &env_variables); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: this let-binding has unit value. Consider omitting `let _loading =` [INFO] [stderr] --> src/main.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | let _loading = tera.add_template_file(template_path, Some("main")).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::let_unit_value)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stderr] [INFO] [stderr] warning: called `skip(x).next()` on an iterator. This is more succinctly expressed by calling `nth(x)` [INFO] [stderr] --> src/main.rs:89:19 [INFO] [stderr] | [INFO] [stderr] 89 | match template_error.iter().skip(1).next() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::iter_skip_next)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_next [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.84s [INFO] running `"docker" "inspect" "38ed1c2a6fc1307b5c9fd0676e2986845ac3cf543b987e519442fb2c4f5b4d50"` [INFO] running `"docker" "rm" "-f" "38ed1c2a6fc1307b5c9fd0676e2986845ac3cf543b987e519442fb2c4f5b4d50"` [INFO] [stdout] 38ed1c2a6fc1307b5c9fd0676e2986845ac3cf543b987e519442fb2c4f5b4d50