Ignore extra crate types as long as the required crate types are there #672
Annotations
4 errors
Run ui tests:
tests/integrations/dep-fail/Cargo.stdout#L11
this line was expected to be `command: "$CMD" "build" "--target-dir" "$DIR/tests/integrations/dep-fail/target/ui" "--manifest-path" "tested_crate/Cargo.toml" "--target=aarch64-apple-darwin" "--message-format=json"`
|
Run ui tests:
tests/integrations/dep-fail/Cargo.stdout#L14
this line was expected to be ` Compiling tested_crate v0.1.0-dev ($DIR/tests/integrations/dep-fail/tested_crate)`
|
Run ui tests:
tests/integrations/dep-fail/Cargo.stdout#L18
this line was expected to be `{"reason":"compiler-message","package_id":"path+file:///Users/runner/work/ui_test/ui_test/dir%20with%20spaces/ui%20test/tests/integrations/dep-fail/tested_crate#0.1.0-dev","manifest_path":"$DIR/tests/integrations/dep-fail/tested_crate/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"tested_crate","src_path":"$DIR/tests/integrations/dep-fail/tested_crate/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"message":{"rendered":"error: this file contains an unclosed delimiter\n --> src/lib.rs:LL:CC\n |\n1 | pub trait A {\n | - ^\n | |\n | unclosed delimiter\n\n","$message_type":"diagnostic","children":[],"code":null,"level":"error","message":"this file contains an unclosed delimiter","spans":[{"byte_end":13,"byte_start":12,"column_end":14,"column_start":13,"expansion":null,"file_name":"src/lib.rs","is_primary":false,"label":"unclosed delimiter","line_end":1,"line_start":1,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":14,"highlight_start":13,"text":"pub trait A {"}]},{"byte_end":14,"byte_start":14,"column_end":15,"column_start":15,"expansion":null,"file_name":"src/lib.rs","is_primary":true,"label":null,"line_end":1,"line_start":1,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":15,"highlight_start":15,"text":"pub trait A {"}]}]}}`
|
Run ui tests
Process completed with exit code 1.
|
Loading