Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo publish fails with "ValueAfterTable" error #4081

Closed
steffengy opened this issue May 21, 2017 · 1 comment · Fixed by #4085
Closed

cargo publish fails with "ValueAfterTable" error #4081

steffengy opened this issue May 21, 2017 · 1 comment · Fixed by #4085

Comments

@steffengy
Copy link
Contributor

Cargo version: cargo 0.20.0-nightly (397359840 2017-05-18)

When trying to cargo publish tiberius I get the following:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ValueAfterTable', 
src\libcore\result.rs:859
stack backtrace:
   0: git_note_author
   1: git_note_author
   2: git_note_author
   3: git_note_author
   4: git_note_author
   5: git_note_author
   6: git_note_author
   7: git_note_author
   8: <unknown>
   9: <unknown>
  10: <unknown>
  11: <unknown>
  12: <unknown>
  13: <unknown>
  14: <unknown>
  15: <unknown>
  16: git_note_author
  17: git_note_author
  18: git_openssl_set_locking
  19: BaseThreadInitThunk

Anyone having any clue what's going on there?

@alexcrichton
Copy link
Member

Thanks for the report! This is likely related to #4030, and you can fix this for now by publishing on an older version of Cargo. I'll look into a fix though soon.

alexcrichton added a commit to alexcrichton/cargo that referenced this issue May 22, 2017
In TOML we have to emit all keys before we emit all sub-tables, so to handle
that for dependencies just transform everything to an elaborated version.

Closes rust-lang#4081
bors added a commit that referenced this issue May 22, 2017
Fix a serialization error on publish

In TOML we have to emit all keys before we emit all sub-tables, so to handle
that for dependencies just transform everything to an elaborated version.

Closes #4081
alexcrichton added a commit to alexcrichton/rust that referenced this issue May 24, 2017
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this issue May 24, 2017
alexcrichton added a commit to alexcrichton/rust that referenced this issue May 24, 2017
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this issue May 24, 2017
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this issue May 25, 2017
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this issue May 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants