[INFO] updating cached repository oussama/mongodb-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/oussama/mongodb-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/oussama/mongodb-rs" "work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/oussama/mongodb-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/oussama/mongodb-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/oussama/mongodb-rs" "work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/oussama/mongodb-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/oussama/mongodb-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 080ae101314a8a9183f5e80117ebee8dcb67d9d2 [INFO] sha for GitHub repo oussama/mongodb-rs: 080ae101314a8a9183f5e80117ebee8dcb67d9d2 [INFO] validating manifest of oussama/mongodb-rs on toolchain master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of oussama/mongodb-rs on toolchain try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing oussama/mongodb-rs [INFO] finished frobbing oussama/mongodb-rs [INFO] frobbed toml for oussama/mongodb-rs written to work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/oussama/mongodb-rs/Cargo.toml [INFO] started frobbing oussama/mongodb-rs [INFO] finished frobbing oussama/mongodb-rs [INFO] frobbed toml for oussama/mongodb-rs written to work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/oussama/mongodb-rs/Cargo.toml [INFO] crate oussama/mongodb-rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/oussama/mongodb-rs/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bson-rs v0.0.3 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking oussama/mongodb-rs against try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b for pr-59199 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-59199/worker-2/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/oussama/mongodb-rs:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 7854d85b7fcdebfd36f1b4976a88a6a37d8f3859bb28309618da323d9efda75e [INFO] running `"docker" "start" "-a" "7854d85b7fcdebfd36f1b4976a88a6a37d8f3859bb28309618da323d9efda75e"` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/crater/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/crater/workdir/src/main.rs` was erroneously implicitly accepted for binary `mongodb_test`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Checking bson-rs v0.0.3 [INFO] [stderr] error[E0432]: unresolved import `chrono::UTC` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/bson-rs-0.0.3/src/bson.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | use chrono::{DateTime, UTC}; [INFO] [stderr] | ^^^ no `UTC` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `chrono::UTC` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/bson-rs-0.0.3/src/encoder.rs:29:24 [INFO] [stderr] | [INFO] [stderr] 29 | use chrono::{DateTime, UTC}; [INFO] [stderr] | ^^^ no `UTC` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `chrono::UTC` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/bson-rs-0.0.3/src/decoder.rs:29:39 [INFO] [stderr] | [INFO] [stderr] 29 | use chrono::{DateTime, NaiveDateTime, UTC}; [INFO] [stderr] | ^^^ no `UTC` in the root [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in module `byteorder` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/bson-rs-0.0.3/src/encoder.rs:45:22 [INFO] [stderr] | [INFO] [stderr] 45 | impl From for EncoderError { [INFO] [stderr] | ^^^^^ not found in `byteorder` [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 24 | use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 24 | use std::io::Error; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in module `byteorder` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/bson-rs-0.0.3/src/encoder.rs:46:29 [INFO] [stderr] | [INFO] [stderr] 46 | fn from(err: byteorder::Error) -> EncoderError { [INFO] [stderr] | ^^^^^ not found in `byteorder` [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 24 | use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 24 | use std::io::Error; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in module `byteorder` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/bson-rs-0.0.3/src/decoder.rs:54:22 [INFO] [stderr] | [INFO] [stderr] 54 | impl From for DecoderError { [INFO] [stderr] | ^^^^^ not found in `byteorder` [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 24 | use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 24 | use std::io::Error; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in module `byteorder` [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/bson-rs-0.0.3/src/decoder.rs:55:29 [INFO] [stderr] | [INFO] [stderr] 55 | fn from(err: byteorder::Error) -> DecoderError { [INFO] [stderr] | ^^^^^ not found in `byteorder` [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 24 | use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 24 | use std::io::Error; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0412, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `bson-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7854d85b7fcdebfd36f1b4976a88a6a37d8f3859bb28309618da323d9efda75e"` [INFO] running `"docker" "rm" "-f" "7854d85b7fcdebfd36f1b4976a88a6a37d8f3859bb28309618da323d9efda75e"` [INFO] [stdout] 7854d85b7fcdebfd36f1b4976a88a6a37d8f3859bb28309618da323d9efda75e