You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no change to the Rust petstore server samples but recently it started failing with the following errors:
Compiling petstore_api v1.0.0 (file:///home/travis/build/OpenAPITools/openapi-generator/samples/server/petstore/rust-server)
error: lint unused_doc_comment has been renamed to unused_doc_comments
--> examples/server_lib/mod.rs:6:5
|
6 | error_chain!{}
| ^^^^^^^^^^^^^^
|
= note: `-D renamed-and-removed-lints` implied by `-D warnings`
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: lint unused_doc_comment has been renamed to unused_doc_comments
--> examples/server_lib/mod.rs:6:5
|
6 | error_chain!{}
| ^^^^^^^^^^^^^^
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: lint unused_doc_comment has been renamed to unused_doc_comments
--> examples/server_lib/mod.rs:6:5
|
6 | error_chain!{}
| ^^^^^^^^^^^^^^
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: lint unused_doc_comment has been renamed to unused_doc_comments
--> examples/server_lib/mod.rs:6:5
|
6 | error_chain!{}
| ^^^^^^^^^^^^^^
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: aborting due to 4 previous errors
error: Could not compile `petstore_api`.
warning: build failed, waiting for other jobs to finish...
Ah. We've been hit by rust-lang-deprecated/error-chain#245. The fix will be to upgrade to the latest version of error-chain. It's fully back-compatible, so I should be able to attend to it within the next few hours
Description
There's no change to the Rust petstore server samples but recently it started failing with the following errors:
cc @frol @farcaller @bjgill
openapi-generator version
Latest master
Related issues/PRs
#379
Suggest a fix/enhancement
I've not looked into the details but maybe we should freeze the version used in the Travis CI tests for the time being.
The text was updated successfully, but these errors were encountered: