[INFO] fetching crate oplog 0.3.0... [INFO] testing oplog-0.3.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate oplog 0.3.0 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate oplog 0.3.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 98 packages to latest compatible versions [INFO] [stderr] Adding bson v0.10.0 (available: v3.0.0) [INFO] [stderr] Adding chrono v0.2.25 (available: v0.4.41) [INFO] [stderr] Adding mongodb v0.3.10 (available: v0.3.12) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9254a33bdd7565a1c08a81aea148d9ffd43f464af1e92706e4f8a7f376c9d12a [INFO] running `Command { std: "docker" "start" "-a" "9254a33bdd7565a1c08a81aea148d9ffd43f464af1e92706e4f8a7f376c9d12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9254a33bdd7565a1c08a81aea148d9ffd43f464af1e92706e4f8a7f376c9d12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9254a33bdd7565a1c08a81aea148d9ffd43f464af1e92706e4f8a7f376c9d12a", kill_on_drop: false }` [INFO] [stdout] 9254a33bdd7565a1c08a81aea148d9ffd43f464af1e92706e4f8a7f376c9d12a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e25870d7b7f34f82bc3cc212104b850eb7a7d1024c9649c68789804c0cca91da [INFO] running `Command { std: "docker" "start" "-a" "e25870d7b7f34f82bc3cc212104b850eb7a7d1024c9649c68789804c0cca91da", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling try_from v0.2.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling separator v0.3.1 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling semver v0.8.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling scan_fmt v0.1.3 [INFO] [stderr] Compiling textnonce v0.6.5 [INFO] [stderr] Compiling bson v0.12.3 [INFO] [stderr] Compiling bson v0.10.0 [INFO] [stderr] Compiling mongodb v0.3.10 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) on by default [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 `OrderedDocument`, found `bson::ordered::OrderedDocument` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `bson` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bson-0.10.0/src/ordered.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct OrderedDocument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `OrderedDocument` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bson-0.12.3/src/ordered.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct OrderedDocument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `bson::ordered::OrderedDocument` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | extern crate bson; [INFO] [stdout] | ------------------ one version of crate `bson` used here, as a direct dependency of the current crate [INFO] [stdout] 53 | extern crate mongodb; [INFO] [stdout] | --------------------- one version of crate `bson` used here, as a dependency of crate `mongodb` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/operation.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(document: &Document) -> Result { [INFO] [stdout] | ^^^ ------------------- [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 `bson::ordered::OrderedDocument`, found `OrderedDocument` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `bson` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bson-0.10.0/src/ordered.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct OrderedDocument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `OrderedDocument` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bson-0.12.3/src/ordered.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct OrderedDocument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `bson::ordered::OrderedDocument` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | extern crate bson; [INFO] [stdout] | ------------------ one version of crate `bson` used here, as a direct dependency of the current crate [INFO] [stdout] 53 | extern crate mongodb; [INFO] [stdout] | --------------------- one version of crate `bson` used here, as a dependency of crate `mongodb` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mongodb-0.3.10/src/coll/mod.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn find( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oplog` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e25870d7b7f34f82bc3cc212104b850eb7a7d1024c9649c68789804c0cca91da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e25870d7b7f34f82bc3cc212104b850eb7a7d1024c9649c68789804c0cca91da", kill_on_drop: false }` [INFO] [stdout] e25870d7b7f34f82bc3cc212104b850eb7a7d1024c9649c68789804c0cca91da