[INFO] fetching crate tariff 0.1.0...
[INFO] testing tariff-0.1.0 against 1.54.0 for beta-1.55-1
[INFO] extracting crate tariff 0.1.0 into /workspace/builds/worker-69/source
[INFO] validating manifest of crates.io crate tariff 0.1.0 on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate tariff 0.1.0
[INFO] finished tweaking crates.io crate tariff 0.1.0
[INFO] tweaked toml for crates.io crate tariff 0.1.0 written to /workspace/builds/worker-69/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc09664e1c2b5c44077e9f7805b5ef38830810dd17c9962722f9d5483dfc24a1
[INFO] running `Command { std: "docker" "start" "-a" "fc09664e1c2b5c44077e9f7805b5ef38830810dd17c9962722f9d5483dfc24a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc09664e1c2b5c44077e9f7805b5ef38830810dd17c9962722f9d5483dfc24a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc09664e1c2b5c44077e9f7805b5ef38830810dd17c9962722f9d5483dfc24a1", kill_on_drop: false }`
[INFO] [stdout] fc09664e1c2b5c44077e9f7805b5ef38830810dd17c9962722f9d5483dfc24a1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7497608c938a1c85c5abb729db9ca6be66e33c5e7dd3d7e70ce12891d60fe9a5
[INFO] running `Command { std: "docker" "start" "-a" "7497608c938a1c85c5abb729db9ca6be66e33c5e7dd3d7e70ce12891d60fe9a5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stderr]    Compiling regex-syntax v0.3.9
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling ucd-util v0.1.8
[INFO] [stderr]    Compiling libc v0.1.12
[INFO] [stderr]    Compiling utf8-ranges v1.0.4
[INFO] [stderr]    Compiling byteorder v0.3.13
[INFO] [stderr]    Compiling serde v0.8.23
[INFO] [stderr]    Compiling linked-hash-map v0.0.9
[INFO] [stderr]    Compiling strsim v0.5.2
[INFO] [stderr]    Compiling bufstream v0.1.4
[INFO] [stderr]    Compiling byteorder v0.5.3
[INFO] [stderr]    Compiling separator v0.3.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling aho-corasick v0.5.3
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling semver-parser v0.6.2
[INFO] [stderr]    Compiling docopt v0.6.86
[INFO] [stderr]    Compiling textnonce v0.4.1
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling scan_fmt v0.1.3
[INFO] [stderr]    Compiling semver v0.5.1
[INFO] [stderr]    Compiling chrono v0.2.25
[INFO] [stderr]    Compiling serde v0.6.15
[INFO] [stderr]    Compiling bson v0.3.2
[INFO] [stderr]    Compiling bson v0.1.5
[INFO] [stderr]    Compiling mongodb v0.1.8
[INFO] [stderr]    Compiling tariff v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/client.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let cursor = try!(self.get_collection(db_name, coll_name));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/client.rs:95:21
[INFO] [stdout]    |
[INFO] [stdout] 95 |         let colls = try!(self.get_collection_names(db_name));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/client.rs:99:26
[INFO] [stdout]    |
[INFO] [stdout] 99 |             let cursor = try!(self.get_collection(db_name, &coll));
[INFO] [stdout]    |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/client.rs:206:13
[INFO] [stdout]     |
[INFO] [stdout] 206 |             try!(self.import_documents(db_name, &coll_name, docs));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/client.rs:73:39
[INFO] [stdout]    |
[INFO] [stdout] 73 |             let json = Bson::Document(doc).to_json();
[INFO] [stdout]    |                                       ^^^ expected struct `bson::ordered::OrderedDocument`, found a different struct `bson::ordered::OrderedDocument`
[INFO] [stdout]    |
[INFO] [stdout]    = note: perhaps two different versions of crate `bson` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/client.rs:108:43
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 jsons.push(Bson::Document(doc).to_json());
[INFO] [stdout]     |                                           ^^^ expected struct `bson::ordered::OrderedDocument`, found a different struct `bson::ordered::OrderedDocument`
[INFO] [stdout]     |
[INFO] [stdout]     = note: perhaps two different versions of crate `bson` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/client.rs:142:23
[INFO] [stdout]     |
[INFO] [stdout] 141 |             match doc.get("name") {
[INFO] [stdout]     |                   --------------- this expression has type `Option<&bson::bson::Bson>`
[INFO] [stdout] 142 |                 Some(&Bson::String(ref s)) => collections.push(s.to_owned()),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^ expected enum `bson::bson::Bson`, found enum `Bson`
[INFO] [stdout]     |
[INFO] [stdout]     = note: perhaps two different versions of crate `bson` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/client.rs:264:36
[INFO] [stdout]     |
[INFO] [stdout] 264 |             match coll.insert_many(chunk.to_owned(), None) {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^ expected struct `bson::ordered::OrderedDocument`, found a different struct `bson::ordered::OrderedDocument`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<bson::ordered::OrderedDocument>` (struct `bson::ordered::OrderedDocument`)
[INFO] [stdout]                found struct `Vec<bson::ordered::OrderedDocument>` (struct `bson::ordered::OrderedDocument`)
[INFO] [stdout]     = note: perhaps two different versions of crate `bson` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/client.rs:267:38
[INFO] [stdout]     |
[INFO] [stdout] 267 |                     println!("{}", e.description());
[INFO] [stdout]     |                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> src/client.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::Write as FmtWrite;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tariff`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "7497608c938a1c85c5abb729db9ca6be66e33c5e7dd3d7e70ce12891d60fe9a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7497608c938a1c85c5abb729db9ca6be66e33c5e7dd3d7e70ce12891d60fe9a5", kill_on_drop: false }`
[INFO] [stdout] 7497608c938a1c85c5abb729db9ca6be66e33c5e7dd3d7e70ce12891d60fe9a5
