[INFO] updating cached repository https://github.com/EFulmer/random-dril-tweets [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c62fb0e8df0808c30b98264e284cd58da1c3ae4a [INFO] testing EFulmer/random-dril-tweets against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FEFulmer%2Frandom-dril-tweets" "work/builds/worker-0/source"` [INFO] [stderr] Cloning into 'work/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EFulmer/random-dril-tweets on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/EFulmer/random-dril-tweets [INFO] finished tweaking git repo https://github.com/EFulmer/random-dril-tweets [INFO] tweaked toml for git repo https://github.com/EFulmer/random-dril-tweets written to work/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/EFulmer/random-dril-tweets already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] 42729f488225036157607cd285f2709a080765721aba349fa4054486f6805091 [INFO] running `"docker" "start" "-a" "42729f488225036157607cd285f2709a080765721aba349fa4054486f6805091"` [INFO] [stderr] Compiling ansi_term v0.7.5 [INFO] [stderr] Compiling scan_fmt v0.1.3 [INFO] [stderr] Compiling textnonce v0.4.1 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling semver-parser v0.6.2 [INFO] [stderr] Compiling semver v0.5.1 [INFO] [stderr] Compiling bson v0.3.2 [INFO] [stderr] Compiling bson v0.2.1 [INFO] [stderr] Compiling mongodb v0.1.8 [INFO] [stderr] Compiling random-dril-tweet v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:26:18 [INFO] [stderr] | [INFO] [stderr] 26 | let output = try!(Command::new("curl") [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/main.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | try!(f.write(output.stdout.as_slice())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | try!(f.read_to_string(&mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | try!(f.read_to_string(&mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:48:41 [INFO] [stderr] | [INFO] [stderr] 48 | let mut cursor = coll.find(Some(doc), None).unwrap(); [INFO] [stderr] | ^^^ expected struct `bson::ordered::OrderedDocument`, found a different struct `bson::ordered::OrderedDocument` [INFO] [stderr] | [INFO] [stderr] = note: expected type `bson::ordered::OrderedDocument` (struct `bson::ordered::OrderedDocument`) [INFO] [stderr] found type `bson::ordered::OrderedDocument` (struct `bson::ordered::OrderedDocument`) [INFO] [stderr] note: Perhaps two different versions of crate `bson` are being used? [INFO] [stderr] --> src/main.rs:48:41 [INFO] [stderr] | [INFO] [stderr] 48 | let mut cursor = coll.find(Some(doc), None).unwrap(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:51:29 [INFO] [stderr] | [INFO] [stderr] 51 | coll.insert_one(doc!{"tweet" => tweet}, None).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `bson::ordered::OrderedDocument`, found a different struct `bson::ordered::OrderedDocument` [INFO] [stderr] | [INFO] [stderr] = note: expected type `bson::ordered::OrderedDocument` (struct `bson::ordered::OrderedDocument`) [INFO] [stderr] found type `bson::ordered::OrderedDocument` (struct `bson::ordered::OrderedDocument`) [INFO] [stderr] note: Perhaps two different versions of crate `bson` are being used? [INFO] [stderr] --> src/main.rs:51:29 [INFO] [stderr] | [INFO] [stderr] 51 | coll.insert_one(doc!{"tweet" => tweet}, None).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [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 `random-dril-tweet`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "42729f488225036157607cd285f2709a080765721aba349fa4054486f6805091"` [INFO] running `"docker" "rm" "-f" "42729f488225036157607cd285f2709a080765721aba349fa4054486f6805091"` [INFO] [stdout] 42729f488225036157607cd285f2709a080765721aba349fa4054486f6805091