Skip to content

../../README.md file not found (rocket_codegen) #1337

Closed
@Tevinthuku

Description

@Tevinthuku

Bug Reports

Bug reports must include:

Rocket Version "0.4.5"

  1. The operating system (distribution and version) where the issue occurs.
    MacOS Catalina

  2. A brief description of the bug that includes:
    Deploying a barebones app built with rocket to Heroku gives me this error

remote: Rust is installed now. Great!
remote: 
remote: To get started you need Cargo's bin directory (/app/tmp/cache/cargo/bin) in 
remote: your PATH
remote: environment variable. Next time you log in this will be done
remote: automatically.
remote: 
remote: To configure your current shell run source /app/tmp/cache/cargo/env
remote: -----> Building application using Cargo
remote:     Updating crates.io index
remote:  Downloading crates ...
remote:   Downloaded rocket_codegen v0.4.5
remote: error: failed to parse manifest at `/app/tmp/cache/cargo/registry/src/github.tiyicn.workers.dev-1ecc6299db9ec823/rocket_codegen-0.4.5/Cargo.toml`
remote: 
remote: Caused by:
remote:   readme file with name '../../README.md' was not found
remote:  !     Push rejected, failed to compile Rust app.
remote: 
remote:  !     Push failed
remote: Verifying deploy...
remote: 
remote: !	Push rejected to tevs-transformer-api.
remote: 
To https://git.heroku.com/tevs-transformer-api.git
 ! [remote rejected] master -> master (pre-receive hook declined)
  1. How you uncovered the bug. Short, reproducible tests are especially useful.
    I ran git push heroku master
    Here's my repo (https://github.com/tevs-rust-land/transformer-api)

  2. Ideas, if any, about what Rocket is doing incorrectly.
    I'm not so sure, I'm kinda new to Rust.

General Comments

If there's anything I have not included or that I'm doing wrong, kindly let me know

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