Ignore extra crate types as long as the required crate types are there #672
rust.yml
on: pull_request
check rustfmt
8s
check clippy
23s
Matrix: tests
Annotations
11 errors
check rustfmt
Process completed with exit code 1.
|
tests (ubuntu-latest, x86_64-unknown-linux-gnu)
The job was canceled because "macos-latest_x86_64-apple" failed.
|
actual output differs from expected:
tests/integrations/dep-fail/Cargo.stdout#L14
this line was expected to be ` Blocking waiting for file lock on package cache`
|
actual output differs from expected:
tests/integrations/dep-fail/Cargo.stdout#L18
this line was expected to be `{"reason":"compiler-message","package_id":"path+file:///home/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 {"}]}]}}`
|
tests (ubuntu-latest, x86_64-unknown-linux-gnu)
The operation was canceled.
|
actual output differs from expected:
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"`
|
actual output differs from expected:
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)`
|
actual output differs from expected:
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 {"}]}]}}`
|
tests (macos-latest, x86_64-apple-darwin)
Process completed with exit code 1.
|
tests (windows-latest, i686-pc-windows-msvc)
The job was canceled because "macos-latest_x86_64-apple" failed.
|
tests (windows-latest, i686-pc-windows-msvc)
The operation was canceled.
|