[INFO] crate oplog 0.3.0 is already in cache [INFO] checking oplog-0.3.0 against master#e1beee4992ad4b235fc700bf7af1ee86f894ea53 for pr-74130 [INFO] extracting crate oplog 0.3.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate oplog 0.3.0 on toolchain e1beee4992ad4b235fc700bf7af1ee86f894ea53 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate oplog 0.3.0 [INFO] finished tweaking crates.io crate oplog 0.3.0 [INFO] tweaked toml for crates.io crate oplog 0.3.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6468ffda0d82775da8bea8741a7e91c9d98091a9fffc1f8d16b4992ad8958c52 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6468ffda0d82775da8bea8741a7e91c9d98091a9fffc1f8d16b4992ad8958c52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6468ffda0d82775da8bea8741a7e91c9d98091a9fffc1f8d16b4992ad8958c52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6468ffda0d82775da8bea8741a7e91c9d98091a9fffc1f8d16b4992ad8958c52", kill_on_drop: false }` [INFO] [stdout] 6468ffda0d82775da8bea8741a7e91c9d98091a9fffc1f8d16b4992ad8958c52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=forbid" "-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@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3624484d2b95a6acac2d576133d428591b1af4fb077f83f27cfce90eaddaa362 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3624484d2b95a6acac2d576133d428591b1af4fb077f83f27cfce90eaddaa362", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking try_from v0.2.2 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking data-encoding v2.2.1 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking num-iter v0.1.41 [INFO] [stderr] Checking semver v0.8.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking scan_fmt v0.1.3 [INFO] [stderr] Checking bson v0.13.0 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking crypto-mac v0.6.2 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking hmac v0.6.3 [INFO] [stderr] Checking md-5 v0.7.0 [INFO] [stderr] Checking sha-1 v0.7.0 [INFO] [stderr] Checking pbkdf2 v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking bson v0.10.0 [INFO] [stderr] Checking textnonce v0.6.5 [INFO] [stderr] Checking mongodb v0.3.12 [INFO] [stderr] Checking oplog v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | Error::Database(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:88:49 [INFO] [stdout] | [INFO] [stdout] 88 | Error::MissingField(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | Error::Database(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:88:49 [INFO] [stdout] | [INFO] [stdout] 88 | Error::MissingField(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/oplog.rs:31:61 [INFO] [stdout] | [INFO] [stdout] 31 | Some(Ok(document)) => return Operation::new(&document).ok(), [INFO] [stdout] | ^^^^^^^^^ expected struct `bson::ordered::OrderedDocument`, found struct `mongodb::ordered::OrderedDocument` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bson::ordered::OrderedDocument` [INFO] [stdout] found reference `&mongodb::ordered::OrderedDocument` [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/oplog.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | let cursor = coll.find(self.filter.clone(), Some(opts))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected struct `mongodb::ordered::OrderedDocument`, found struct `bson::ordered::OrderedDocument` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] = note: perhaps two different versions of crate `bson` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 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 `oplog`. [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/oplog.rs:31:61 [INFO] [stdout] | [INFO] [stdout] 31 | Some(Ok(document)) => return Operation::new(&document).ok(), [INFO] [stdout] | ^^^^^^^^^ expected struct `bson::ordered::OrderedDocument`, found struct `mongodb::ordered::OrderedDocument` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bson::ordered::OrderedDocument` [INFO] [stdout] found reference `&mongodb::ordered::OrderedDocument` [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/oplog.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | let cursor = coll.find(self.filter.clone(), Some(opts))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected struct `mongodb::ordered::OrderedDocument`, found struct `bson::ordered::OrderedDocument` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] = note: perhaps two different versions of crate `bson` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3624484d2b95a6acac2d576133d428591b1af4fb077f83f27cfce90eaddaa362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3624484d2b95a6acac2d576133d428591b1af4fb077f83f27cfce90eaddaa362", kill_on_drop: false }` [INFO] [stdout] 3624484d2b95a6acac2d576133d428591b1af4fb077f83f27cfce90eaddaa362