Skip to content

rocket_codegen Build Fails 1.38.0-nightly #1049

Closed
@jacob-stuart

Description

@jacob-stuart
  1. The version of Rocket you're using. Ensure it's the latest, if possible.
commit 2d4dc5ae58f3c210199ed4ab59f2709cece4f0fa (HEAD, tag: v0.4.2)
Author: Sergio Benitez <[email protected]>
Date:   Fri Jun 28 17:50:57 2019 -0700

    New version: 0.4.2.
  1. The operating system (distribution and version) where the issue occurs.
Ubuntu 19.04
  1. A brief description of the bug that includes:
    Hello world example fails to compile rocket_codegen on latest ubuntu and latest nightly rust.

  2. How you uncovered the bug. Short, reproducible tests are especially useful.

Rocket/examples/hello_world$ cargo run
   Compiling rocket_codegen v0.4.2 (/home/stuart/src/Rocket/core/codegen)
error[E0433]: failed to resolve: unresolved import
  --> core/codegen/src/bang/uri_parsing.rs:18:13
   |
18 |     Ignored(Token![_]),
   |             ^^^^^^^^^
   |             |
   |             unresolved import
   |             help: a similar path exists: `devise::syn::token`
   |
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

.
.
.

5. Ideas, if any, about what Rocket is doing incorrectly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    nightly breakageBreakage on the nightly channel only

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions