[INFO] crate tariff 0.1.0 is already in cache [INFO] testing tariff-0.1.0 against 1.44.0 for beta-1.45-1 [INFO] extracting crate tariff 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate tariff 0.1.0 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 86d208e370ac313c9b8b4f82af389ac66ce9ca60ed09f41c8844b505fd739b68 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "86d208e370ac313c9b8b4f82af389ac66ce9ca60ed09f41c8844b505fd739b68"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling byteorder v0.3.13 [INFO] [stderr] Compiling linked-hash-map v0.0.9 [INFO] [stderr] Compiling separator v0.3.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [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-parser v0.6.2 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling serde v0.6.15 [INFO] [stderr] Compiling semver v0.5.1 [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] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/client.rs:65:22 [INFO] [stderr] | [INFO] [stderr] 65 | let cursor = try!(self.get_collection(db_name, coll_name)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/client.rs:95:21 [INFO] [stderr] | [INFO] [stderr] 95 | let colls = try!(self.get_collection_names(db_name)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/client.rs:99:26 [INFO] [stderr] | [INFO] [stderr] 99 | let cursor = try!(self.get_collection(db_name, &coll)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/client.rs:206:13 [INFO] [stderr] | [INFO] [stderr] 206 | try!(self.import_documents(db_name, &coll_name, docs)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/client.rs:73:39 [INFO] [stderr] | [INFO] [stderr] 73 | let json = Bson::Document(doc).to_json(); [INFO] [stderr] | ^^^ expected struct `bson::ordered::OrderedDocument`, found a different struct `bson::ordered::OrderedDocument` [INFO] [stderr] | [INFO] [stderr] = note: perhaps two different versions of crate `bson` are being used? [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/client.rs:108:43 [INFO] [stderr] | [INFO] [stderr] 108 | jsons.push(Bson::Document(doc).to_json()); [INFO] [stderr] | ^^^ expected struct `bson::ordered::OrderedDocument`, found a different struct `bson::ordered::OrderedDocument` [INFO] [stderr] | [INFO] [stderr] = note: perhaps two different versions of crate `bson` are being used? [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/client.rs:142:23 [INFO] [stderr] | [INFO] [stderr] 141 | match doc.get("name") { [INFO] [stderr] | --------------- this expression has type `std::option::Option<&bson::bson::Bson>` [INFO] [stderr] 142 | Some(&Bson::String(ref s)) => collections.push(s.to_owned()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ expected enum `bson::bson::Bson`, found enum `bson::Bson` [INFO] [stderr] | [INFO] [stderr] = note: perhaps two different versions of crate `bson` are being used? [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/client.rs:264:36 [INFO] [stderr] | [INFO] [stderr] 264 | match coll.insert_many(chunk.to_owned(), None) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ expected struct `bson::ordered::OrderedDocument`, found a different struct `bson::ordered::OrderedDocument` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::vec::Vec` (struct `bson::ordered::OrderedDocument`) [INFO] [stderr] found struct `std::vec::Vec` (struct `bson::ordered::OrderedDocument`) [INFO] [stderr] = note: perhaps two different versions of crate `bson` are being used? [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/client.rs:267:38 [INFO] [stderr] | [INFO] [stderr] 267 | println!("{}", e.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::Write` [INFO] [stderr] --> src/client.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fmt::Write as FmtWrite; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [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 `"docker" "inspect" "86d208e370ac313c9b8b4f82af389ac66ce9ca60ed09f41c8844b505fd739b68"` [INFO] running `"docker" "rm" "-f" "86d208e370ac313c9b8b4f82af389ac66ce9ca60ed09f41c8844b505fd739b68"` [INFO] [stdout] 86d208e370ac313c9b8b4f82af389ac66ce9ca60ed09f41c8844b505fd739b68