[INFO] fetching crate mongod-derive 0.3.6... [INFO] testing mongod-derive-0.3.6 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate mongod-derive 0.3.6 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mongod-derive 0.3.6 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1473328487e9aa042074b50f8612eba0e7c4e06f602ef2d6eaa72615bdce013d [INFO] running `Command { std: "docker" "start" "-a" "1473328487e9aa042074b50f8612eba0e7c4e06f602ef2d6eaa72615bdce013d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1473328487e9aa042074b50f8612eba0e7c4e06f602ef2d6eaa72615bdce013d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1473328487e9aa042074b50f8612eba0e7c4e06f602ef2d6eaa72615bdce013d", kill_on_drop: false }` [INFO] [stdout] 1473328487e9aa042074b50f8612eba0e7c4e06f602ef2d6eaa72615bdce013d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20a74bec60bdb2c488426530cbbe051dcf7801b7cd19c0be26bc05fdaf8a1fa8 [INFO] running `Command { std: "docker" "start" "-a" "20a74bec60bdb2c488426530cbbe051dcf7801b7cd19c0be26bc05fdaf8a1fa8", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling mongod-derive v0.3.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.70s [INFO] running `Command { std: "docker" "inspect" "20a74bec60bdb2c488426530cbbe051dcf7801b7cd19c0be26bc05fdaf8a1fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20a74bec60bdb2c488426530cbbe051dcf7801b7cd19c0be26bc05fdaf8a1fa8", kill_on_drop: false }` [INFO] [stdout] 20a74bec60bdb2c488426530cbbe051dcf7801b7cd19c0be26bc05fdaf8a1fa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 602c57a18acb8769bc0ad16e5558b2c43cfe33a911842b6e50e5e5cbb11ed1af [INFO] running `Command { std: "docker" "start" "-a" "602c57a18acb8769bc0ad16e5558b2c43cfe33a911842b6e50e5e5cbb11ed1af", 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.28s [INFO] running `Command { std: "docker" "inspect" "602c57a18acb8769bc0ad16e5558b2c43cfe33a911842b6e50e5e5cbb11ed1af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "602c57a18acb8769bc0ad16e5558b2c43cfe33a911842b6e50e5e5cbb11ed1af", kill_on_drop: false }` [INFO] [stdout] 602c57a18acb8769bc0ad16e5558b2c43cfe33a911842b6e50e5e5cbb11ed1af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a4bdada169621c4eb9c8b7316fb15431bd5301c38c721b6044f1f6e78169b614 [INFO] running `Command { std: "docker" "start" "-a" "a4bdada169621c4eb9c8b7316fb15431bd5301c38c721b6044f1f6e78169b614", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mongod_derive-2c00a2be39c5b914) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests mongod_derive [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] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/lib.rs - derive_collection (line 268) ... FAILED [INFO] [stdout] test src/lib.rs - derive_collection (line 182) ... FAILED [INFO] [stdout] test src/lib.rs - derive_collection (line 161) ... FAILED [INFO] [stdout] test src/lib.rs - derive_collection (line 144) ... FAILED [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stdout] test src/lib.rs - derive_collection (line 203) ... FAILED [INFO] [stdout] test src/lib.rs - (line 20) ... FAILED [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_bson (line 104) ... FAILED [INFO] [stdout] test src/lib.rs - derive_bson (line 58) ... FAILED [INFO] [stdout] test src/lib.rs - derive_bson (line 80) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 7 | #[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] 8 | #[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] 7 | #[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] 8 | #[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] 7 | #[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] 8 | #[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] 7 | #[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] 8 | #[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] 6 | #[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 - 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] 7 | #[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] 8 | #[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 20) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[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] 8 | #[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 250) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `mongod` [INFO] [stdout] --> src/lib.rs:254:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[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] 8 | #[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] 7 | #[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] 8 | #[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] 8 | #[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] 17 | 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] 8 | #[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] 13 | 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] 15 | 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] ---- 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] 8 | #[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] 16 | 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] [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.43s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a4bdada169621c4eb9c8b7316fb15431bd5301c38c721b6044f1f6e78169b614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4bdada169621c4eb9c8b7316fb15431bd5301c38c721b6044f1f6e78169b614", kill_on_drop: false }` [INFO] [stdout] a4bdada169621c4eb9c8b7316fb15431bd5301c38c721b6044f1f6e78169b614