[INFO] fetching crate mungos_rocket 0.0.7... [INFO] testing mungos_rocket-0.0.7 against 1.60.0 for beta-1.61-1 [INFO] extracting crate mungos_rocket 0.0.7 into /workspace/builds/worker-56/source [INFO] validating manifest of crates.io crate mungos_rocket 0.0.7 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-56/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9594292cdbfeb8ee69b7bbce0eb770f8acbdb723bd2d43086f44f49d0394a18d [INFO] running `Command { std: "docker" "start" "-a" "9594292cdbfeb8ee69b7bbce0eb770f8acbdb723bd2d43086f44f49d0394a18d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9594292cdbfeb8ee69b7bbce0eb770f8acbdb723bd2d43086f44f49d0394a18d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9594292cdbfeb8ee69b7bbce0eb770f8acbdb723bd2d43086f44f49d0394a18d", kill_on_drop: false }` [INFO] [stdout] 9594292cdbfeb8ee69b7bbce0eb770f8acbdb723bd2d43086f44f49d0394a18d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9890afd55a556483120e1bb71897ea6cb7bc2976b27f2004edca30e825e1b7e [INFO] running `Command { std: "docker" "start" "-a" "c9890afd55a556483120e1bb71897ea6cb7bc2976b27f2004edca30e825e1b7e", kill_on_drop: false }` [INFO] [stderr] Compiling mungos_rocket v0.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "c9890afd55a556483120e1bb71897ea6cb7bc2976b27f2004edca30e825e1b7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9890afd55a556483120e1bb71897ea6cb7bc2976b27f2004edca30e825e1b7e", kill_on_drop: false }` [INFO] [stdout] c9890afd55a556483120e1bb71897ea6cb7bc2976b27f2004edca30e825e1b7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10724edf03376ddb7bcfc272b2a8147beb26ac58a36d08f11ca15096aac77d6b [INFO] running `Command { std: "docker" "start" "-a" "10724edf03376ddb7bcfc272b2a8147beb26ac58a36d08f11ca15096aac77d6b", kill_on_drop: false }` [INFO] [stderr] Compiling mungos_rocket v0.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.28s [INFO] running `Command { std: "docker" "inspect" "10724edf03376ddb7bcfc272b2a8147beb26ac58a36d08f11ca15096aac77d6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10724edf03376ddb7bcfc272b2a8147beb26ac58a36d08f11ca15096aac77d6b", kill_on_drop: false }` [INFO] [stdout] 10724edf03376ddb7bcfc272b2a8147beb26ac58a36d08f11ca15096aac77d6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dac79e677b21e2b126b1cb3016ca1f4bef2c4f03805b539bc78a3315bc7921ea [INFO] running `Command { std: "docker" "start" "-a" "dac79e677b21e2b126b1cb3016ca1f4bef2c4f03805b539bc78a3315bc7921ea", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mungos_rocket-0169f3dc0eb623d7) [INFO] [stderr] Doc-tests mungos_rocket [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] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/guarded_mungos_routes.rs - guarded_mungos_routes (line 33) ... FAILED [INFO] [stdout] test src/mungos_routes.rs - mungos_routes (line 31) ... 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/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] 9 | - 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] 9 - - patch " /id ", data : updates one document, specified by it's "_id" field, replacing it with the struct in data [INFO] [stdout] 9 + - 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] 11 | - 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] 11 - - delete " /id " : deletes one document, specified by it's "_id" field [INFO] [stdout] 11 + - delete " /id " : deletes one document, specified by it 's "_id" field [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `" / "` [INFO] [stdout] --> src/guarded_mungos_routes.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 3 | - get " / " : get full collection [INFO] [stdout] | ^^^^^ expected one of 8 possible tokens [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 31) stdout ---- [INFO] [stdout] error: prefix `it` is unknown [INFO] [stdout] --> src/mungos_routes.rs:38:60 [INFO] [stdout] | [INFO] [stdout] 9 | - 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] 9 - - patch " /id ", data : updates one document, specified by it's "_id" field, replacing it with the struct in data [INFO] [stdout] 9 + - 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] 11 | - 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] 11 - - delete " /id " : deletes one document, specified by it's "_id" field [INFO] [stdout] 11 + - delete " /id " : deletes one document, specified by it 's "_id" field [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `" / "` [INFO] [stdout] --> src/mungos_routes.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 3 | - get " / " : get full collection [INFO] [stdout] | ^^^^^ expected one of 8 possible tokens [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] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [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] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/mungos_routes.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate rocket; // the rocket macros need to be available [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> src/mungos_routes.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate mungos_rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 undeclared crate or module `mungos` [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 undeclared crate or module `mungos` [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 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[E0433]: failed to resolve: use of undeclared type `Status` [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 undeclared type `Status` [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[E0412]: cannot find type `State` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `Json` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0425]: cannot find function, tuple struct or tuple variant `Json` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `State` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `Json` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0425]: cannot find function, tuple struct or tuple variant `Json` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `State` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `Json` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `State` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `Json` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `Status` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `State` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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 27 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0463, E0468, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [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] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/guarded_mungos_routes.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate rocket; // the rocket macros need to be available [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> src/guarded_mungos_routes.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate mungos_rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 undeclared crate or module `mungos` [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 undeclared crate or module `mungos` [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 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[E0433]: failed to resolve: use of undeclared type `Status` [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 undeclared type `Status` [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[E0412]: cannot find type `State` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `Json` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0425]: cannot find function, tuple struct or tuple variant `Json` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `State` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `Json` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0425]: cannot find function, tuple struct or tuple variant `Json` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `State` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `Json` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `State` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `Json` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `Status` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `State` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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 28 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0463, E0468, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "dac79e677b21e2b126b1cb3016ca1f4bef2c4f03805b539bc78a3315bc7921ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dac79e677b21e2b126b1cb3016ca1f4bef2c4f03805b539bc78a3315bc7921ea", kill_on_drop: false }` [INFO] [stdout] dac79e677b21e2b126b1cb3016ca1f4bef2c4f03805b539bc78a3315bc7921ea