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
I'm probably doing something stupid. I cloned the repo (my HEAD is at 09dabbd) and ran cargo test. I get
failures:
---- src/lib.rs - (line 9) stdout ----
error[E0432]: unresolved import `ureq::json`
--> src/lib.rs:11:5
|
5 | use ureq::json;
| ^^^^^^^^^^ no `json` in the root
error: cannot determine resolution for the macro `json`
--> src/lib.rs:16:16
|
10 | .send_json(json!({
| ^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error[E0599]: no method named `send_json` found for type `&mut ureq::Request` in the current scope
--> src/lib.rs:16:6
|
10 | .send_json(json!({
| ^^^^^^^^^ method not found in `&mut ureq::Request`
error: aborting due to 3 previous errors
Some errors have detailed explanations: E0432, E0599.
For more information about an error, try `rustc --explain E0432`.
Couldn't compile the test.
failures:
src/lib.rs - (line 9)
test result: FAILED. 47 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
I assume it's supposed to pass because CI is working. My rustc is stable-x86_64-apple-darwin unchanged - rustc 1.40.0 (73528e339 2019-12-16)
The text was updated successfully, but these errors were encountered:
The problem is that the json features is needed for the doc tests and isn't enabled by default. AFAIK, there isn't currently a way to turn on features just for cargo test.
I'm probably doing something stupid. I cloned the repo (my HEAD is at 09dabbd) and ran
cargo test
. I getI assume it's supposed to pass because CI is working. My rustc is
stable-x86_64-apple-darwin unchanged - rustc 1.40.0 (73528e339 2019-12-16)
The text was updated successfully, but these errors were encountered: