[INFO] crate rs-collector 0.1.7 is already in cache [INFO] extracting crate rs-collector 0.1.7 into work/ex/beta-1.37-6/sources/1.36.0/reg/rs-collector/0.1.7 [INFO] extracting crate rs-collector 0.1.7 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/rs-collector/0.1.7 [INFO] validating manifest of rs-collector-0.1.7 on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of rs-collector-0.1.7 on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing rs-collector-0.1.7 [INFO] finished frobbing rs-collector-0.1.7 [INFO] frobbed toml for rs-collector-0.1.7 written to work/ex/beta-1.37-6/sources/1.36.0/reg/rs-collector/0.1.7/Cargo.toml [INFO] started frobbing rs-collector-0.1.7 [INFO] finished frobbing rs-collector-0.1.7 [INFO] frobbed toml for rs-collector-0.1.7 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/rs-collector/0.1.7/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing rs-collector-0.1.7 against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-2/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/rs-collector/0.1.7:/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=warn" "-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" "+1.36.0" "build" "--frozen"` [INFO] [stdout] 0be1c3700adffd81ab1702d8b808111cce3d1d1aa3367e4229583bb80c37fd77 [INFO] running `"docker" "start" "-a" "0be1c3700adffd81ab1702d8b808111cce3d1d1aa3367e4229583bb80c37fd77"` [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling separator v0.3.1 [INFO] [stderr] Compiling data-encoding v2.1.2 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling is_executable v0.1.2 [INFO] [stderr] Compiling semver v0.8.0 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling toml v0.1.30 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling bit-set v0.4.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling procinfo v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling openssl-sys v0.9.48 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling atoi v0.2.4 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling chan v0.1.23 [INFO] [stderr] Compiling crypto-mac v0.6.2 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling flate2 v1.0.9 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling scan_fmt v0.1.3 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling hmac v0.6.3 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling sha-1 v0.7.0 [INFO] [stderr] Compiling md-5 v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling twox-hash v1.4.2 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling chan-signal v0.3.2 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling pbkdf2 v0.2.3 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling textnonce v0.6.5 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling mysql_common v0.7.0 [INFO] [stderr] Compiling bson v0.13.0 [INFO] [stderr] Compiling bson v0.10.0 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling mongodb v0.3.12 [INFO] [stderr] Compiling mysql v13.1.0 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling reqwest v0.9.19 [INFO] [stderr] Compiling bosun_emitter v1.2.0 [INFO] [stderr] Compiling rs-collector v0.1.7 (/opt/crater/workdir) [INFO] [stderr] warning: lint `unstable_name_collision` has been renamed to `unstable_name_collisions` [INFO] [stderr] --> src/collectors/megaraid.rs:105:13 [INFO] [stderr] | [INFO] [stderr] 105 | #[allow(unstable_name_collision)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unstable_name_collisions` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around method argument [INFO] [stderr] --> src/collectors/mongo.rs:403:64 [INFO] [stderr] | [INFO] [stderr] 403 | let diff = primary_date.unwrap().signed_duration_since((**d)).num_milliseconds() as f64; [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/collectors/megaraid.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/collectors/megaraid.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 parameters but 1 parameter was supplied [INFO] [stderr] --> src/bosun.rs:88:28 [INFO] [stderr] | [INFO] [stderr] 88 | let bosun_client = BosunClient::new(host); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/collectors/mongo.rs:83:41 [INFO] [stderr] | [INFO] [stderr] 83 | ClientOptions::with_ssl(ca_cert, client_cert, client_cert_key, true) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::option::Option`, found reference [INFO] [stderr] | help: try using a variant of the expected type: `Some(ca_cert)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option<&str>` [INFO] [stderr] found type `&&std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/collectors/mongo.rs:86:57 [INFO] [stderr] | [INFO] [stderr] 86 | ClientOptions::with_unauthenticated_ssl(ca_cert,false) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::option::Option`, found reference [INFO] [stderr] | help: try using a variant of the expected type: `Some(ca_cert)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option<&str>` [INFO] [stderr] found type `&&std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/collectors/mongo.rs:313:34 [INFO] [stderr] | [INFO] [stderr] 313 | let result = try!(db.command(cmd, CommandType::Suppressed, None)); [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/collectors/mongo.rs:313:34 [INFO] [stderr] | [INFO] [stderr] 313 | let result = try!(db.command(cmd, CommandType::Suppressed, None)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/collectors/mongo.rs:316:8 [INFO] [stderr] | [INFO] [stderr] 316 | Ok(result) [INFO] [stderr] | ^^^^^^ expected struct `bson::ordered::OrderedDocument`, found struct `mongodb::ordered::OrderedDocument` [INFO] [stderr] | [INFO] [stderr] = note: expected type `bson::ordered::OrderedDocument` [INFO] [stderr] found type `mongodb::ordered::OrderedDocument` [INFO] [stderr] note: Perhaps two different versions of crate `bson` are being used? [INFO] [stderr] --> src/collectors/mongo.rs:316:8 [INFO] [stderr] | [INFO] [stderr] 316 | Ok(result) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/collectors/mongo.rs:325:32 [INFO] [stderr] | [INFO] [stderr] 325 | let doc = match db.command(cmd, CommandType::Suppressed, None) { [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/collectors/mongo.rs:325:32 [INFO] [stderr] | [INFO] [stderr] 325 | let doc = match db.command(cmd, CommandType::Suppressed, None) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/collectors/mongo.rs:341:15 [INFO] [stderr] | [INFO] [stderr] 340 | match doc.get("ok") { [INFO] [stderr] | ------------- this match expression has type `mongodb::Bson` [INFO] [stderr] 341 | Some(&Bson::FloatingPoint(v)) if v == 1.0 => Ok(doc), [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/collectors/mongo.rs:341:15 [INFO] [stderr] | [INFO] [stderr] 341 | Some(&Bson::FloatingPoint(v)) if v == 1.0 => Ok(doc), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/collectors/mongo.rs:343:15 [INFO] [stderr] | [INFO] [stderr] 340 | match doc.get("ok") { [INFO] [stderr] | ------------- this match expression has type `mongodb::Bson` [INFO] [stderr] ... [INFO] [stderr] 343 | Some(&Bson::FloatingPoint(v)) => Ok(doc!{}), [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/collectors/mongo.rs:343:15 [INFO] [stderr] | [INFO] [stderr] 343 | Some(&Bson::FloatingPoint(v)) => Ok(doc!{}), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/collectors/mongo.rs:341:57 [INFO] [stderr] | [INFO] [stderr] 341 | Some(&Bson::FloatingPoint(v)) if v == 1.0 => Ok(doc), [INFO] [stderr] | ^^^ expected struct `bson::ordered::OrderedDocument`, found struct `mongodb::ordered::OrderedDocument` [INFO] [stderr] | [INFO] [stderr] = note: expected type `bson::ordered::OrderedDocument` [INFO] [stderr] found type `mongodb::ordered::OrderedDocument` [INFO] [stderr] note: Perhaps two different versions of crate `bson` are being used? [INFO] [stderr] --> src/collectors/mongo.rs:341:57 [INFO] [stderr] | [INFO] [stderr] 341 | Some(&Bson::FloatingPoint(v)) if v == 1.0 => Ok(doc), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0034]: multiple applicable items in scope [INFO] [stderr] --> src/collectors/megaraid.rs:114:42 [INFO] [stderr] | [INFO] [stderr] 114 | let result = results.into_iter().flatten().collect(); [INFO] [stderr] | ^^^^^^^ multiple `flatten` found [INFO] [stderr] | [INFO] [stderr] = note: candidate #1 is defined in an impl of the trait `std::iter::Iterator` for the type `std::vec::IntoIter<_>` [INFO] [stderr] = note: candidate #2 is defined in an impl of the trait `itertools::Itertools` for the type `_` [INFO] [stderr] [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/collectors/megaraid.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0034, E0061, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0034`. [INFO] [stderr] error: Could not compile `rs-collector`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0be1c3700adffd81ab1702d8b808111cce3d1d1aa3367e4229583bb80c37fd77"` [INFO] running `"docker" "rm" "-f" "0be1c3700adffd81ab1702d8b808111cce3d1d1aa3367e4229583bb80c37fd77"` [INFO] [stdout] 0be1c3700adffd81ab1702d8b808111cce3d1d1aa3367e4229583bb80c37fd77