[INFO] fetching crate mungos_rocket 0.0.7... [INFO] testing mungos_rocket-0.0.7 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate mungos_rocket 0.0.7 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate mungos_rocket 0.0.7 [INFO] finished tweaking crates.io crate mungos_rocket 0.0.7 [INFO] tweaked toml for crates.io crate mungos_rocket 0.0.7 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mungos_rocket 0.0.7 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] 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 85e22afd84b3360fee4c13ad0e84b110a15af38534d24a7e38d1581047fcb745 [INFO] running `Command { std: "docker" "start" "-a" "85e22afd84b3360fee4c13ad0e84b110a15af38534d24a7e38d1581047fcb745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85e22afd84b3360fee4c13ad0e84b110a15af38534d24a7e38d1581047fcb745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85e22afd84b3360fee4c13ad0e84b110a15af38534d24a7e38d1581047fcb745", kill_on_drop: false }` [INFO] [stdout] 85e22afd84b3360fee4c13ad0e84b110a15af38534d24a7e38d1581047fcb745 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 8dcf8e28c8e20128d7cdbeffb05112e9f1cd3ebaf7e2d28ffa95f169bde4f30e [INFO] running `Command { std: "docker" "start" "-a" "8dcf8e28c8e20128d7cdbeffb05112e9f1cd3ebaf7e2d28ffa95f169bde4f30e", kill_on_drop: false }` [INFO] [stderr] Compiling mungos_rocket v0.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "8dcf8e28c8e20128d7cdbeffb05112e9f1cd3ebaf7e2d28ffa95f169bde4f30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dcf8e28c8e20128d7cdbeffb05112e9f1cd3ebaf7e2d28ffa95f169bde4f30e", kill_on_drop: false }` [INFO] [stdout] 8dcf8e28c8e20128d7cdbeffb05112e9f1cd3ebaf7e2d28ffa95f169bde4f30e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b89ed32408045728d3d2757b5763aa288e44a31489418903b092afbfc72df67b [INFO] running `Command { std: "docker" "start" "-a" "b89ed32408045728d3d2757b5763aa288e44a31489418903b092afbfc72df67b", kill_on_drop: false }` [INFO] [stderr] Compiling mungos_rocket v0.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "b89ed32408045728d3d2757b5763aa288e44a31489418903b092afbfc72df67b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b89ed32408045728d3d2757b5763aa288e44a31489418903b092afbfc72df67b", kill_on_drop: false }` [INFO] [stdout] b89ed32408045728d3d2757b5763aa288e44a31489418903b092afbfc72df67b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a7a02dd46fd19450a92fee5bf13e1a809c68243d78700f1ec358ea6864a7a60a [INFO] running `Command { std: "docker" "start" "-a" "a7a02dd46fd19450a92fee5bf13e1a809c68243d78700f1ec358ea6864a7a60a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mungos_rocket-6a51e7491bd41125) [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 mungos_rocket [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/mungos_routes.rs - mungos_routes (line 31) ... FAILED [INFO] [stdout] test src/guarded_mungos_routes.rs - guarded_mungos_routes (line 33) ... FAILED [INFO] [stdout] test src/mungos_routes.rs - mungos_routes (line 12) ... FAILED [INFO] [stdout] test src/guarded_mungos_routes.rs - guarded_mungos_routes (line 13) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/mungos_routes.rs - mungos_routes (line 31) stdout ---- [INFO] [stdout] error: prefix `it` is unknown [INFO] [stdout] --> src/mungos_routes.rs:38:60 [INFO] [stdout] | [INFO] [stdout] 7 | - patch " /id ", data : updates one document, specified by it's "_id" field, replacing it with the struct in data [INFO] [stdout] | ^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 7 | - patch " /id ", data : updates one document, specified by it 's "_id" field, replacing it with the struct in data [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: prefix `it` is unknown [INFO] [stdout] --> src/mungos_routes.rs:40:55 [INFO] [stdout] | [INFO] [stdout] 9 | - delete " /id " : deletes one document, specified by it's "_id" field [INFO] [stdout] | ^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 9 | - delete " /id " : deletes one document, specified by it 's "_id" field [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: expected item, found `-` [INFO] [stdout] --> src/mungos_routes.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 1 | - get " / " : get full collection [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/guarded_mungos_routes.rs - guarded_mungos_routes (line 33) stdout ---- [INFO] [stdout] error: prefix `it` is unknown [INFO] [stdout] --> src/guarded_mungos_routes.rs:40:60 [INFO] [stdout] | [INFO] [stdout] 7 | - patch " /id ", data : updates one document, specified by it's "_id" field, replacing it with the struct in data [INFO] [stdout] | ^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 7 | - patch " /id ", data : updates one document, specified by it 's "_id" field, replacing it with the struct in data [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: prefix `it` is unknown [INFO] [stdout] --> src/guarded_mungos_routes.rs:42:55 [INFO] [stdout] | [INFO] [stdout] 9 | - delete " /id " : deletes one document, specified by it's "_id" field [INFO] [stdout] | ^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 9 | - delete " /id " : deletes one document, specified by it 's "_id" field [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: expected item, found `-` [INFO] [stdout] --> src/guarded_mungos_routes.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 1 | - get " / " : get full collection [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/mungos_routes.rs - mungos_routes (line 12) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/mungos_routes.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 15 | .manage(Mungos::new(...)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 15 - .manage(Mungos::new(...)) [INFO] [stdout] 15 + .manage(Mungos::new(..)) [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 15 - .manage(Mungos::new(...)) [INFO] [stdout] 15 + .manage(Mungos::new(..=)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/mungos_routes.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 15 | .manage(Mungos::new(...)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 15 - .manage(Mungos::new(...)) [INFO] [stdout] 15 + .manage(Mungos::new(..)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/mungos_routes.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rocket; // the rocket macros need to be available [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mungos` [INFO] [stdout] --> src/mungos_routes.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 7 | use mungos::Mungos; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mungos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mungos`, use `cargo add mungos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mungos` [INFO] [stdout] --> src/mungos_routes.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 16 | .mount("/", mungos_routes!("db name", "collection name", SerializableType) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mungos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mungos`, use `cargo add mungos` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `mungos_routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/mungos_routes.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/mungos_routes.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/mungos_routes.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 16 | .mount("/", mungos_routes!("db name", "collection name", SerializableType) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `get` is in scope, but it is a function, not an attribute [INFO] [stdout] = note: this error originates in the macro `mungos_routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/mungos_routes.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 16 | .mount("/", mungos_routes!("db name", "collection name", SerializableType) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `get` is in scope, but it is a function, not an attribute [INFO] [stdout] = note: this error originates in the macro `mungos_routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/mungos_routes.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 16 | .mount("/", mungos_routes!("db name", "collection name", SerializableType) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `mungos_routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `patch` in this scope [INFO] [stdout] --> src/mungos_routes.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 16 | .mount("/", mungos_routes!("db name", "collection name", SerializableType) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `path` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `mungos_routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `delete` in this scope [INFO] [stdout] --> src/mungos_routes.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 16 | .mount("/", mungos_routes!("db name", "collection name", SerializableType) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `delete` is in scope, but it is a function, not an attribute [INFO] [stdout] = note: this error originates in the macro `mungos_routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> src/mungos_routes.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 16 | .mount("/", mungos_routes!("db name", "collection name", SerializableType) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `mungos_routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0463, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/guarded_mungos_routes.rs - guarded_mungos_routes (line 13) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/guarded_mungos_routes.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 16 | .manage(Mungos::new(...)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 16 - .manage(Mungos::new(...)) [INFO] [stdout] 16 + .manage(Mungos::new(..)) [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 16 - .manage(Mungos::new(...)) [INFO] [stdout] 16 + .manage(Mungos::new(..=)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/guarded_mungos_routes.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 16 | .manage(Mungos::new(...)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 16 - .manage(Mungos::new(...)) [INFO] [stdout] 16 + .manage(Mungos::new(..)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/guarded_mungos_routes.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rocket; // the rocket macros need to be available [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::AuthGuard` [INFO] [stdout] --> src/guarded_mungos_routes.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::AuthGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `AuthGuard` in the root [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mungos` [INFO] [stdout] --> src/guarded_mungos_routes.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 7 | use mungos::Mungos; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `mungos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mungos`, use `cargo add mungos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mungos` [INFO] [stdout] --> src/guarded_mungos_routes.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 17 | .mount("/", guarded_mungos_routes!("db name", "collection name", SerializableType, AuthGuard) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mungos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mungos`, use `cargo add mungos` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `guarded_mungos_routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/guarded_mungos_routes.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/guarded_mungos_routes.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/guarded_mungos_routes.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 17 | .mount("/", guarded_mungos_routes!("db name", "collection name", SerializableType, AuthGuard) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `get` is in scope, but it is a function, not an attribute [INFO] [stdout] = note: this error originates in the macro `guarded_mungos_routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/guarded_mungos_routes.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 17 | .mount("/", guarded_mungos_routes!("db name", "collection name", SerializableType, AuthGuard) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `get` is in scope, but it is a function, not an attribute [INFO] [stdout] = note: this error originates in the macro `guarded_mungos_routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/guarded_mungos_routes.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 17 | .mount("/", guarded_mungos_routes!("db name", "collection name", SerializableType, AuthGuard) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guarded_mungos_routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `patch` in this scope [INFO] [stdout] --> src/guarded_mungos_routes.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 17 | .mount("/", guarded_mungos_routes!("db name", "collection name", SerializableType, AuthGuard) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `path` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guarded_mungos_routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `delete` in this scope [INFO] [stdout] --> src/guarded_mungos_routes.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 17 | .mount("/", guarded_mungos_routes!("db name", "collection name", SerializableType, AuthGuard) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `delete` is in scope, but it is a function, not an attribute [INFO] [stdout] = note: this error originates in the macro `guarded_mungos_routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> src/guarded_mungos_routes.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 17 | .mount("/", guarded_mungos_routes!("db name", "collection name", SerializableType, AuthGuard) ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guarded_mungos_routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0463, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/guarded_mungos_routes.rs - guarded_mungos_routes (line 13) [INFO] [stdout] src/guarded_mungos_routes.rs - guarded_mungos_routes (line 33) [INFO] [stdout] src/mungos_routes.rs - mungos_routes (line 12) [INFO] [stdout] src/mungos_routes.rs - mungos_routes (line 31) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a7a02dd46fd19450a92fee5bf13e1a809c68243d78700f1ec358ea6864a7a60a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7a02dd46fd19450a92fee5bf13e1a809c68243d78700f1ec358ea6864a7a60a", kill_on_drop: false }` [INFO] [stdout] a7a02dd46fd19450a92fee5bf13e1a809c68243d78700f1ec358ea6864a7a60a