Closed
Description
Bug Reports
Bug reports must include:
Rocket Version "0.4.5"
-
The operating system (distribution and version) where the issue occurs.
MacOS Catalina -
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)
-
How you uncovered the bug. Short, reproducible tests are especially useful.
I rangit push heroku master
Here's my repo (https://github.com/tevs-rust-land/transformer-api) -
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