[INFO] fetching crate mongod-derive 0.3.6... [INFO] testing mongod-derive-0.3.6 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate mongod-derive 0.3.6 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate mongod-derive 0.3.6 [INFO] finished tweaking crates.io crate mongod-derive 0.3.6 [INFO] tweaked toml for crates.io crate mongod-derive 0.3.6 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mongod-derive 0.3.6 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2971b86d2392854cfb2bbde57a071e7c78251543098ec94f5626afa98004a808 [INFO] running `Command { std: "docker" "start" "-a" "2971b86d2392854cfb2bbde57a071e7c78251543098ec94f5626afa98004a808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2971b86d2392854cfb2bbde57a071e7c78251543098ec94f5626afa98004a808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2971b86d2392854cfb2bbde57a071e7c78251543098ec94f5626afa98004a808", kill_on_drop: false }` [INFO] [stdout] 2971b86d2392854cfb2bbde57a071e7c78251543098ec94f5626afa98004a808 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11d551809849858d14baa03f6cf86eee32c6dcbf8f63daeebd326437d8590f73 [INFO] running `Command { std: "docker" "start" "-a" "11d551809849858d14baa03f6cf86eee32c6dcbf8f63daeebd326437d8590f73", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling mongod-derive v0.3.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.84s [INFO] running `Command { std: "docker" "inspect" "11d551809849858d14baa03f6cf86eee32c6dcbf8f63daeebd326437d8590f73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11d551809849858d14baa03f6cf86eee32c6dcbf8f63daeebd326437d8590f73", kill_on_drop: false }` [INFO] [stdout] 11d551809849858d14baa03f6cf86eee32c6dcbf8f63daeebd326437d8590f73 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a277cc5fb659a3b208d30d1d5b8fb2b21fd6d1e4103469d75b14e24e7c56b1e [INFO] running `Command { std: "docker" "start" "-a" "1a277cc5fb659a3b208d30d1d5b8fb2b21fd6d1e4103469d75b14e24e7c56b1e", kill_on_drop: false }` [INFO] [stderr] Compiling mongod-derive v0.3.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "1a277cc5fb659a3b208d30d1d5b8fb2b21fd6d1e4103469d75b14e24e7c56b1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a277cc5fb659a3b208d30d1d5b8fb2b21fd6d1e4103469d75b14e24e7c56b1e", kill_on_drop: false }` [INFO] [stdout] 1a277cc5fb659a3b208d30d1d5b8fb2b21fd6d1e4103469d75b14e24e7c56b1e [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6833205177d6d8162989f77d4759a977fc617a76b6c69b80a334d397fae79dfa [INFO] running `Command { std: "docker" "start" "-a" "6833205177d6d8162989f77d4759a977fc617a76b6c69b80a334d397fae79dfa", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mongod_derive-0bb44717f98e58f0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mongod_derive [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/lib.rs - derive_collection (line 250) ... FAILED [INFO] [stdout] test src/lib.rs - derive_collection (line 224) ... FAILED [INFO] [stdout] test src/lib.rs - derive_collection (line 182) ... FAILED [INFO] [stdout] test src/lib.rs - derive_bson (line 104) ... FAILED [INFO] [stdout] test src/lib.rs - derive_collection (line 203) ... FAILED [INFO] [stdout] test src/lib.rs - derive_collection (line 268) ... FAILED [INFO] [stdout] test src/lib.rs - derive_collection (line 144) ... FAILED [INFO] [stdout] test src/lib.rs - derive_collection (line 161) ... FAILED [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stdout] test src/lib.rs - (line 20) ... FAILED [INFO] [stdout] test src/lib.rs - derive_bson (line 80) ... FAILED [INFO] [stdout] test src/lib.rs - derive_bson (line 58) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - derive_collection (line 250) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:254:10 [INFO] [stdout] | [INFO] [stdout] 254 | #[derive(mongod_derive::Bson)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `mongod_derive::Bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:255:10 [INFO] [stdout] | [INFO] [stdout] 255 | #[derive(Mongo)] [INFO] [stdout] | ^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Mongo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_collection (line 224) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | #[derive(mongod_derive::Bson)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `mongod_derive::Bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | #[derive(Mongo)] [INFO] [stdout] | ^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Mongo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_collection (line 182) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | #[derive(mongod_derive::Bson)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `mongod_derive::Bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:187:10 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Mongo)] [INFO] [stdout] | ^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Mongo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_bson (line 104) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Bson)] [INFO] [stdout] | ^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mongod` [INFO] [stdout] --> src/lib.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | let bson = mongod::bson::Bson::try_from(user).unwrap(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mongod` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mongod`, use `cargo add mongod` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_collection (line 203) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | #[derive(mongod_derive::Bson)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `mongod_derive::Bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 208 | #[derive(Mongo)] [INFO] [stdout] | ^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Mongo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_collection (line 268) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:272:10 [INFO] [stdout] | [INFO] [stdout] 272 | #[derive(mongod_derive::Bson)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `mongod_derive::Bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:273:10 [INFO] [stdout] | [INFO] [stdout] 273 | #[derive(Mongo)] [INFO] [stdout] | ^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Mongo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_collection (line 144) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(mongod_derive::Bson)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `mongod_derive::Bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Mongo)] [INFO] [stdout] | ^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Mongo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_collection (line 161) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(mongod_derive::Bson)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `mongod_derive::Bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(Mongo)] [INFO] [stdout] | ^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Mongo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 9) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Bson)] [INFO] [stdout] | ^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(mongod_derive::Bson)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `mongod_derive::Bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Mongo)] [INFO] [stdout] | ^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Mongo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_bson (line 80) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Bson)] [INFO] [stdout] | ^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mongod` [INFO] [stdout] --> src/lib.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | let bson = mongod::bson::Bson::try_from(user).unwrap(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mongod` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mongod`, use `cargo add mongod` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_bson (line 58) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug, Bson)] [INFO] [stdout] | ^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Bson` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mongod` [INFO] [stdout] --> src/lib.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | let mut doc = mongod::bson::Document::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mongod` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mongod`, use `cargo add mongod` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mongod` [INFO] [stdout] --> src/lib.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | let bson = mongod::bson::Bson::Document(doc); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mongod` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mongod`, use `cargo add mongod` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] src/lib.rs - (line 9) [INFO] [stdout] src/lib.rs - derive_bson (line 104) [INFO] [stdout] src/lib.rs - derive_bson (line 58) [INFO] [stdout] src/lib.rs - derive_bson (line 80) [INFO] [stdout] src/lib.rs - derive_collection (line 144) [INFO] [stdout] src/lib.rs - derive_collection (line 161) [INFO] [stdout] src/lib.rs - derive_collection (line 182) [INFO] [stdout] src/lib.rs - derive_collection (line 203) [INFO] [stdout] src/lib.rs - derive_collection (line 224) [INFO] [stdout] src/lib.rs - derive_collection (line 250) [INFO] [stdout] src/lib.rs - derive_collection (line 268) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6833205177d6d8162989f77d4759a977fc617a76b6c69b80a334d397fae79dfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6833205177d6d8162989f77d4759a977fc617a76b6c69b80a334d397fae79dfa", kill_on_drop: false }` [INFO] [stdout] 6833205177d6d8162989f77d4759a977fc617a76b6c69b80a334d397fae79dfa