[INFO] crate ergothic 0.1.3 is already in cache [INFO] extracting crate ergothic 0.1.3 into work/ex/clippy-test-run/sources/stable/reg/ergothic/0.1.3 [INFO] extracting crate ergothic 0.1.3 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/ergothic/0.1.3 [INFO] validating manifest of ergothic-0.1.3 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 ergothic-0.1.3 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 ergothic-0.1.3 [INFO] finished frobbing ergothic-0.1.3 [INFO] frobbed toml for ergothic-0.1.3 written to work/ex/clippy-test-run/sources/stable/reg/ergothic/0.1.3/Cargo.toml [INFO] started frobbing ergothic-0.1.3 [INFO] finished frobbing ergothic-0.1.3 [INFO] frobbed toml for ergothic-0.1.3 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/ergothic/0.1.3/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 ergothic-0.1.3 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/ergothic/0.1.3:/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] 7978537a08c342deeaee51a83746c21416f3932f04dd772991e8f1f3ae082d4e [INFO] running `"docker" "start" "-a" "7978537a08c342deeaee51a83746c21416f3932f04dd772991e8f1f3ae082d4e"` [INFO] [stderr] Checking serde_json v1.0.37 [INFO] [stderr] Checking simple_logger v0.5.0 [INFO] [stderr] Checking csv v0.15.0 [INFO] [stderr] Checking md-5 v0.7.0 [INFO] [stderr] Checking hmac v0.6.3 [INFO] [stderr] Checking scan_fmt v0.1.3 [INFO] [stderr] Checking pbkdf2 v0.2.3 [INFO] [stderr] Checking prettytable-rs v0.7.0 [INFO] [stderr] Checking bson v0.13.0 [INFO] [stderr] Checking bson v0.12.3 [INFO] [stderr] Checking mongodb v0.3.12 [INFO] [stderr] Checking ergothic v0.1.3 (/opt/crater/workdir) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/startup.rs:78:10 [INFO] [stderr] | [INFO] [stderr] 78 | } else { [INFO] [stderr] | __________^ [INFO] [stderr] 79 | | if args.production_mode { [INFO] [stderr] 80 | | // Default value for production is to flush every 5 minutes. [INFO] [stderr] 81 | | flush_interval_secs = 300; [INFO] [stderr] ... | [INFO] [stderr] 85 | | } [INFO] [stderr] 86 | | } [INFO] [stderr] | |___^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::collapsible_if)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 78 | } else if args.production_mode { [INFO] [stderr] 79 | // Default value for production is to flush every 5 minutes. [INFO] [stderr] 80 | flush_interval_secs = 300; [INFO] [stderr] 81 | } else { [INFO] [stderr] 82 | // Default value for development mode is to flush every 2 seconds. [INFO] [stderr] 83 | flush_interval_secs = 2; [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/startup.rs:78:10 [INFO] [stderr] | [INFO] [stderr] 78 | } else { [INFO] [stderr] | __________^ [INFO] [stderr] 79 | | if args.production_mode { [INFO] [stderr] 80 | | // Default value for production is to flush every 5 minutes. [INFO] [stderr] 81 | | flush_interval_secs = 300; [INFO] [stderr] ... | [INFO] [stderr] 85 | | } [INFO] [stderr] 86 | | } [INFO] [stderr] | |___^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::collapsible_if)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 78 | } else if args.production_mode { [INFO] [stderr] 79 | // Default value for production is to flush every 5 minutes. [INFO] [stderr] 80 | flush_interval_secs = 300; [INFO] [stderr] 81 | } else { [INFO] [stderr] 82 | // Default value for development mode is to flush every 2 seconds. [INFO] [stderr] 83 | flush_interval_secs = 2; [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/export.rs:138:40 [INFO] [stderr] | [INFO] [stderr] 138 | match self.collection.insert_one(doc, self.write_concern.clone()) { [INFO] [stderr] | ^^^ expected struct `mongodb::ordered::OrderedDocument`, found struct `bson::ordered::OrderedDocument` [INFO] [stderr] | [INFO] [stderr] = note: expected type `mongodb::ordered::OrderedDocument` [INFO] [stderr] found type `bson::ordered::OrderedDocument` [INFO] [stderr] note: Perhaps two different versions of crate `bson` are being used? [INFO] [stderr] --> src/export.rs:138:40 [INFO] [stderr] | [INFO] [stderr] 138 | match self.collection.insert_one(doc, self.write_concern.clone()) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/export.rs:141:25 [INFO] [stderr] | [INFO] [stderr] 141 | if let Some(::bson::Bson::ObjectId(id)) = res.inserted_id { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `mongodb::Bson`, found enum `bson::Bson` [INFO] [stderr] | [INFO] [stderr] = note: expected type `mongodb::Bson` [INFO] [stderr] found type `bson::Bson` [INFO] [stderr] note: Perhaps two different versions of crate `bson` are being used? [INFO] [stderr] --> src/export.rs:141:25 [INFO] [stderr] | [INFO] [stderr] 141 | if let Some(::bson::Bson::ObjectId(id)) = res.inserted_id { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/export.rs:138:40 [INFO] [stderr] | [INFO] [stderr] 138 | match self.collection.insert_one(doc, self.write_concern.clone()) { [INFO] [stderr] | ^^^ expected struct `mongodb::ordered::OrderedDocument`, found struct `bson::ordered::OrderedDocument` [INFO] [stderr] | [INFO] [stderr] = note: expected type `mongodb::ordered::OrderedDocument` [INFO] [stderr] found type `bson::ordered::OrderedDocument` [INFO] [stderr] note: Perhaps two different versions of crate `bson` are being used? [INFO] [stderr] --> src/export.rs:138:40 [INFO] [stderr] | [INFO] [stderr] 138 | match self.collection.insert_one(doc, self.write_concern.clone()) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/export.rs:141:25 [INFO] [stderr] | [INFO] [stderr] 141 | if let Some(::bson::Bson::ObjectId(id)) = res.inserted_id { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `mongodb::Bson`, found enum `bson::Bson` [INFO] [stderr] | [INFO] [stderr] = note: expected type `mongodb::Bson` [INFO] [stderr] found type `bson::Bson` [INFO] [stderr] note: Perhaps two different versions of crate `bson` are being used? [INFO] [stderr] --> src/export.rs:141:25 [INFO] [stderr] | [INFO] [stderr] 141 | if let Some(::bson::Bson::ObjectId(id)) = res.inserted_id { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `ergothic`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `ergothic`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7978537a08c342deeaee51a83746c21416f3932f04dd772991e8f1f3ae082d4e"` [INFO] running `"docker" "rm" "-f" "7978537a08c342deeaee51a83746c21416f3932f04dd772991e8f1f3ae082d4e"` [INFO] [stdout] 7978537a08c342deeaee51a83746c21416f3932f04dd772991e8f1f3ae082d4e