[INFO] cloning repository https://github.com/dpetrick/mongo-beta
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dpetrick/mongo-beta" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpetrick%2Fmongo-beta", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpetrick%2Fmongo-beta'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9127940c446665f3b267e28d6ab26598fb119a01
[INFO] testing dpetrick/mongo-beta against 1.54.0 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpetrick%2Fmongo-beta" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dpetrick/mongo-beta 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 git repo https://github.com/dpetrick/mongo-beta
[INFO] finished tweaking git repo https://github.com/dpetrick/mongo-beta
[INFO] tweaked toml for git repo https://github.com/dpetrick/mongo-beta written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/dpetrick/mongo-beta already has a lockfile, it will not be regenerated
[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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 45cb90cff0263ca355b37c550fc91b3a25af5e10b019e27cd656447f45966f25
[INFO] running `Command { std: "docker" "start" "-a" "45cb90cff0263ca355b37c550fc91b3a25af5e10b019e27cd656447f45966f25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "45cb90cff0263ca355b37c550fc91b3a25af5e10b019e27cd656447f45966f25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45cb90cff0263ca355b37c550fc91b3a25af5e10b019e27cd656447f45966f25", kill_on_drop: false }`
[INFO] [stdout] 45cb90cff0263ca355b37c550fc91b3a25af5e10b019e27cd656447f45966f25
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 4f77e2d43f24e45144c4a276504f132ebb71d384ca3113ecc26c214aa83aab28
[INFO] running `Command { std: "docker" "start" "-a" "4f77e2d43f24e45144c4a276504f132ebb71d384ca3113ecc26c214aa83aab28", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.97
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling syn v1.0.73
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling futures-channel v0.3.15
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling rustversion v1.0.5
[INFO] [stderr]    Compiling cpufeatures v0.1.4
[INFO] [stderr]    Compiling data-encoding v2.3.2
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling tokio v1.6.1
[INFO] [stderr]    Compiling futures-util v0.3.15
[INFO] [stderr]    Compiling ahash v0.7.4
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling os_info v3.0.6
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling mio v0.7.11
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling socket2 v0.4.0
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.10.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling pbkdf2 v0.7.5
[INFO] [stderr]    Compiling hmac v0.10.1
[INFO] [stderr]    Compiling sha2 v0.9.5
[INFO] [stderr]    Compiling sha-1 v0.9.6
[INFO] [stderr]    Compiling md-5 v0.9.1
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]    Compiling rustls v0.19.1
[INFO] [stderr]    Compiling webpki-roots v0.21.1
[INFO] [stderr]    Compiling darling_core v0.13.0
[INFO] [stderr]    Compiling tokio-macros v1.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.15
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling thiserror-impl v1.0.25
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling typed-builder v0.9.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling darling_macro v0.13.0
[INFO] [stderr]    Compiling darling v0.13.0
[INFO] [stderr]    Compiling serde_with_macros v1.4.2
[INFO] [stderr]    Compiling thiserror v1.0.25
[INFO] [stderr]    Compiling futures-executor v0.3.15
[INFO] [stderr]    Compiling tokio-util v0.6.7
[INFO] [stderr]    Compiling tokio-rustls v0.22.0
[INFO] [stderr]    Compiling trust-dns-proto v0.20.3
[INFO] [stderr]    Compiling h2 v0.3.3
[INFO] [stderr]    Compiling trust-dns-resolver v0.20.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling serde_with v1.9.2
[INFO] [stderr]    Compiling serde_bytes v0.11.5
[INFO] [stderr]    Compiling bson v2.0.0-beta.1
[INFO] [stderr]    Compiling hyper v0.14.9
[INFO] [stderr]    Compiling hyper-rustls v0.22.1
[INFO] [stderr]    Compiling reqwest v0.11.3
[INFO] [stderr]    Compiling mongodb v2.0.0-beta.1
[INFO] [stderr]    Compiling mongo-beta v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |             .projection(self.projection)
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^ expected struct `mongodb::bson::Document`, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `mongodb::bson::Document`
[INFO] [stdout]                 found enum `Option<mongodb::bson::Document>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |             .limit(self.limit)
[INFO] [stdout]    |                    ^^^^^^^^^^ expected `i64`, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `i64`
[INFO] [stdout]               found enum `Option<i64>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |             .skip(self.skip)
[INFO] [stdout]    |                   ^^^^^^^^^ expected `u64`, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `u64`
[INFO] [stdout]               found enum `Option<u64>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 |             .sort(self.sort)
[INFO] [stdout]    |                   ^^^^^^^^^ expected struct `mongodb::bson::Document`, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `mongodb::bson::Document`
[INFO] [stdout]                 found enum `Option<mongodb::bson::Document>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `if` and `else` have incompatible types
[INFO] [stdout]   --> src/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |           let options = if let Some(projection) = self.projection {
[INFO] [stdout]    |  _______________________-
[INFO] [stdout] 34 | |             options.projection(projection)
[INFO] [stdout]    | |             ------------------------------ expected because of this
[INFO] [stdout] 35 | |         } else {
[INFO] [stdout] 36 | |             // The typing changes on `.projection()` prevents this pattern
[INFO] [stdout] 37 | |             options
[INFO] [stdout]    | |             ^^^^^^^ expected tuple, found `()`
[INFO] [stdout] 38 | |         };
[INFO] [stdout]    | |_________- `if` and `else` have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `FindOptionsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (Option<mongodb::bson::Document>,), (), (), (), (), (), (), ())>`
[INFO] [stdout]             found struct `FindOptionsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0639]: cannot create non-exhaustive struct using struct expression
[INFO] [stdout]   --> src/main.rs:49:23
[INFO] [stdout]    |
[INFO] [stdout] 49 |           let options = FindOneOptions {
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 50 | |             projection: self.projection,
[INFO] [stdout] 51 | |             skip: self.skip,
[INFO] [stdout] 52 | |             sort: self.sort,
[INFO] [stdout] 53 | |             ..Default::default()
[INFO] [stdout] 54 | |         };
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Option<FindOptions>: From<Option<FindOneOptions>>` is not satisfied
[INFO] [stdout]   --> src/main.rs:56:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let cursor = collection.find(self.filter, Some(options)).await.unwrap();
[INFO] [stdout]    |                                 ^^^^ the trait `From<Option<FindOneOptions>>` is not implemented for `Option<FindOptions>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following implementations were found:
[INFO] [stdout]              <Option<&'a T> as From<&'a Option<T>>>
[INFO] [stdout]              <Option<&'a mut T> as From<&'a mut Option<T>>>
[INFO] [stdout]              <Option<&'a tracing_core::span::Id> as From<&'a tracing::span::EnteredSpan>>
[INFO] [stdout]              <Option<&'a tracing_core::span::Id> as From<&'a tracing::span::Span>>
[INFO] [stdout]            and 12 others
[INFO] [stdout]    = note: required because of the requirements on the impl of `Into<Option<FindOptions>>` for `Option<FindOneOptions>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0639.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mongo-beta`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "4f77e2d43f24e45144c4a276504f132ebb71d384ca3113ecc26c214aa83aab28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f77e2d43f24e45144c4a276504f132ebb71d384ca3113ecc26c214aa83aab28", kill_on_drop: false }`
[INFO] [stdout] 4f77e2d43f24e45144c4a276504f132ebb71d384ca3113ecc26c214aa83aab28
