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

rust error on release #89

Closed
shanejonas opened this issue Jan 3, 2020 · 1 comment
Closed

rust error on release #89

shanejonas opened this issue Jan 3, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@shanejonas
Copy link
Contributor

shanejonas commented Jan 3, 2020

   'npm notice \nnpm notice 📦  @etclabscore/ethereum-json-rpc@1.3.1\nnpm notice === Tarball Contents === \nnpm notice 553B package.json\nnpm notice === Tarball Details === \nnpm notice name:          @etclabscore/ethereum-json-rpc          \nnpm notice version:       1.3.1                                   \nnpm notice package size:  402 B                                   \nnpm notice unpacked size: 553 B                                   \nnpm notice shasum:        cad44f067a24f779e014d64e7a09ea10589fe6c8\nnpm notice integrity:     sha512-mN+Mfds52kz0W[...]8K7byyiha9eWA==\nnpm notice total files:   1                                       \nnpm notice \n    Updating crates.io index\nwarning: manifest has no documentation, homepage or repository.\nSee https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.\n   Packaging ethereum-json-rpc v1.3.1 (/home/circleci/project/build/rust)\n   Verifying ethereum-json-rpc v1.3.1 (/home/circleci/project/build/rust)\n    Updating crates.io index\n Downloading crates ...\n  Downloaded serde_json v1.0.44\n  Downloaded serde v1.0.104\n  Downloaded itoa v0.4.4\n  Downloaded ryu v1.0.2\n  Downloaded serde_derive v1.0.104\n  Downloaded proc-macro2 v1.0.6\n  Downloaded syn v1.0.11\n  Downloaded unicode-xid v0.2.0\n  Downloaded quote v1.0.2\n  Downloaded jsonrpc-client-core v0.5.0\n  Downloaded error-chain v0.12.1\n  Downloaded log v0.4.8\n  Downloaded backtrace v0.3.40\n  Downloaded version_check v0.1.5\n  Downloaded cfg-if v0.1.10\n  Downloaded jsonrpc-core v8.0.1\n  Downloaded futures v0.1.29\n  Downloaded backtrace-sys v0.1.32\n  Downloaded log v0.3.9\n  Downloaded libc v0.2.66\n  Downloaded rustc-demangle v0.1.16\n  Downloaded cc v1.0.48\n   Compiling proc-macro2 v1.0.6\n   Compiling unicode-xid v0.2.0\n   Compiling syn v1.0.11\n   Compiling cc v1.0.48\n   Compiling libc v0.2.66\n   Compiling serde v1.0.104\n   Compiling log v0.4.8\n   Compiling ryu v1.0.2\n   Compiling version_check v0.1.5\n   Compiling cfg-if v0.1.10\n   Compiling itoa v0.4.4\n   Compiling rustc-demangle v0.1.16\n   Compiling futures v0.1.29\n   Compiling error-chain v0.12.1\n   Compiling log v0.3.9\n   Compiling backtrace-sys v0.1.32\n   Compiling quote v1.0.2\n   Compiling backtrace v0.3.40\n   Compiling serde_derive v1.0.104\n   Compiling serde_json v1.0.44\n   Compiling jsonrpc-core v8.0.1\n   Compiling jsonrpc-client-core v0.5.0\n   Compiling ethereum-json-rpc v1.3.1 (/home/circleci/project/build/rust/target/package/ethereum-json-rpc-1.3.1)\nerror: expected literal\n   --> src/lib.rs:118:22\n    |\n118 |     #[serde(rename = earliest)]\n    |                      ^^^^^^^^\n\nerror: expected literal\n   --> src/lib.rs:120:22\n    |\n120 |     #[serde(rename = latest)]\n    |                      ^^^^^^\n\nerror: expected literal\n   --> src/lib.rs:122:22\n    |\n122 |     #[serde(rename = pending)]\n    |                      ^^^^^^^\n\nerror[E0412]: cannot find type `HashMap` in this scope\n   --> src/lib.rs:334:18\n    |\n334 | pub type Uncle = HashMap<String, Option<serde_json::Value>>;\n    |                  ^^^^^^^ not found in this scope\nhelp: possible candidates are found in other modules, you can import them into scope\n    |\n4   | use std::collections::HashMap;\n    |\n4   | use std::collections::hash_map::HashMap;\n    |\n\nerror[E0412]: cannot find type `HashMap` in this scope\n   --> src/lib.rs:349:18\n    |\n349 | pub type Block = HashMap<String, Option<serde_json::Value>>;\n    |                  ^^^^^^^ not found in this scope\nhelp: possible candidates are found in other modules, you can import them into scope\n    |\n4   | use std::collections::HashMap;\n    |\n4   | use std::collections::hash_map::HashMap;\n    |\n\nerror: aborting due to 5 previous errors\n\nFor more information about this error, try `rustc --explain E0412`.\nerror: failed to verify package tarball\n\nCaused by:\n  Could not compile `ethereum-json-rpc`.\n\nTo learn more, run the command again with --verbose.\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 101\nnpm ERR! @etclabscore/ethereum-json-rpc-specification@0.0.0 publish:rust: `cd build/rust && cargo package && cargo publish --token $CARGO_TOKEN`\nnpm ERR! Exit status 101\nnpm ERR! \nnpm ERR! Failed at the @etclabscore/ethereum-json-rpc-specification@0.0.0 publish:rust script.\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR!     /home/circleci/.npm/_logs/2019-12-30T21_51_49_020Z-debug.log\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 101\nnpm ERR! @etclabscore/ethereum-json-rpc-specification@0.0.0 publish: `npm run publish:typescript && npm run publish:rust`\nnpm ERR! Exit status 101\nnpm ERR! \nnpm ERR! Failed at the @etclabscore/ethereum-json-rpc-specification@0.0.0 publish script.\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR!     /home/circleci/.npm/_logs/2019-12-30T21_51_49_028Z-debug.log',

image

@shanejonas shanejonas added bug Something isn't working and removed triage labels Jan 3, 2020
BelfordZ added a commit that referenced this issue Jan 16, 2020
@shanejonas
Copy link
Contributor Author

fixed in #95

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant