[INFO] fetching crate mungos_rocket 0.0.7... [INFO] testing mungos_rocket-0.0.7 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate mungos_rocket 0.0.7 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mungos_rocket 0.0.7 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6631e527f7547fd5585eb259bcb82e72031d255587093d67ce957c0d6d39ba29 [INFO] running `Command { std: "docker" "start" "-a" "6631e527f7547fd5585eb259bcb82e72031d255587093d67ce957c0d6d39ba29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6631e527f7547fd5585eb259bcb82e72031d255587093d67ce957c0d6d39ba29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6631e527f7547fd5585eb259bcb82e72031d255587093d67ce957c0d6d39ba29", kill_on_drop: false }` [INFO] [stdout] 6631e527f7547fd5585eb259bcb82e72031d255587093d67ce957c0d6d39ba29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f96a4f39dc6c59a3e7b7b4e8c7ab8794926566591cca50ae0dc5893255e994b7 [INFO] running `Command { std: "docker" "start" "-a" "f96a4f39dc6c59a3e7b7b4e8c7ab8794926566591cca50ae0dc5893255e994b7", 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.16s [INFO] running `Command { std: "docker" "inspect" "f96a4f39dc6c59a3e7b7b4e8c7ab8794926566591cca50ae0dc5893255e994b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f96a4f39dc6c59a3e7b7b4e8c7ab8794926566591cca50ae0dc5893255e994b7", kill_on_drop: false }` [INFO] [stdout] f96a4f39dc6c59a3e7b7b4e8c7ab8794926566591cca50ae0dc5893255e994b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48b1887a86ce2db0b5f350dc076928b42c7d44b20557cca9b4b2c480eb80f5ab [INFO] running `Command { std: "docker" "start" "-a" "48b1887a86ce2db0b5f350dc076928b42c7d44b20557cca9b4b2c480eb80f5ab", 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.47s [INFO] running `Command { std: "docker" "inspect" "48b1887a86ce2db0b5f350dc076928b42c7d44b20557cca9b4b2c480eb80f5ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48b1887a86ce2db0b5f350dc076928b42c7d44b20557cca9b4b2c480eb80f5ab", kill_on_drop: false }` [INFO] [stdout] 48b1887a86ce2db0b5f350dc076928b42c7d44b20557cca9b4b2c480eb80f5ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 46cfd165ede684a7c7791bbb4540005db751a1ab6c057255747d24992d9ed4e2 [INFO] running `Command { std: "docker" "start" "-a" "46cfd165ede684a7c7791bbb4540005db751a1ab6c057255747d24992d9ed4e2", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [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/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] [stderr] error: doctest failed, to rerun pass `--doc` [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] 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 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/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.32s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "46cfd165ede684a7c7791bbb4540005db751a1ab6c057255747d24992d9ed4e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46cfd165ede684a7c7791bbb4540005db751a1ab6c057255747d24992d9ed4e2", kill_on_drop: false }` [INFO] [stdout] 46cfd165ede684a7c7791bbb4540005db751a1ab6c057255747d24992d9ed4e2