Skip to content

Stop comparing status code of compiler with mode if mode is Run #314

Stop comparing status code of compiler with mode if mode is Run

Stop comparing status code of compiler with mode if mode is Run #314

Re-run triggered July 12, 2023 14:05
Status Failure
Total duration 2m 53s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

rust.yml

on: pull_request
check rustfmt
9s
check rustfmt
check clippy
30s
check clippy
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors
actual output differs from expected: tests/integrations/basic-fail/Cargo.stderr#L1
```diff 448 unchanged lines skipped -command: "rustc" "--error-format=json" "--extern" "basic_fail=$DIR/$DIR/../../../target/$TMP/$TRIPLE/debug/libbasic_fail.rlib" "--extern" "basic_fail=$DIR/$DIR/../../../target/$TMP/$TRIPLE/debug/libbasic_fail-$HASH.rmeta" "-L" "$DIR/$DIR/../../../target/$TMP/$TRIPLE/debug" "-L" "$DIR/$DIR/../../../target/$TMP/$TRIPLE/debug" "--out-dir" "$TMP "tests/actual_tests_bless/revisioned_executable.rs" "--cfg=panic" "--edition" "2021" +command: "$CMD" run(101) test got exit status: 0, but expected 101 full stderr: tests/actual_tests_bless/revisioned_executable_panic.rs (revision `run`) FAILED: command: "$CMD" run(0) test got exit status: 101, but expected 0 full stderr: tests/actual_tests_bless/revisioned_executable_panic.rs (revision `panic`) FAILED: -command: "rustc" "--error-format=json" "--extern" "basic_fail=$DIR/$DIR/../../../target/$TMP/$TRIPLE/debug/libbasic_fail.rlib" "--extern" "basic_fail=$DIR/$DIR/../../../target/$TMP/$TRIPLE/debug/libbasic_fail-$HASH.rmeta" "-L" "$DIR/$DIR/../../../target/$TMP/$TRIPLE/debug" "-L" "$DIR/$DIR/../../../target/$TMP/$TRIPLE/debug" "--out-dir" "$TMP "tests/actual_tests_bless/revisioned_executable_panic.rs" "--cfg=panic" "--edition" "2021" +command: "$CMD" -run(101) test got exit status: 0, but expected 101 +actual output differed from expected +Execute `cargo test -- -- --bless` to update `tests/actual_tests_bless/revisioned_executable_panic.panic.stderr` to the actual output +--- tests/actual_tests_bless/revisioned_executable_panic.panic.stderr ++++ <stderr output> ++thread 'main' panicked at 'explicit panic', $DIR/revisioned_executable_panic.rs ++note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ++ + full stderr: tests/actual_tests_bless/revisions_bad.rs (revision `bar`) FAILED: command: "rustc" "--error-format=json" "--extern" "basic_fail=$DIR/$DIR/../../../target/$TMP/$TRIPLE/debug/libbasic_fail.rlib" "--extern" "basic_fail=$DIR/$DIR/../../../target/$TMP/$TRIPLE/debug/libbasic_fail-$HASH.rmeta" "-L" "$DIR/$DIR/../../../target/$TMP/$TRIPLE/debug" "-L" "$DIR/$DIR/../../../target/$TMP/$TRIPLE/debug" "--out-dir" "$TMP "tests/actual_tests_bless/revisions_bad.rs" "--cfg=bar" "--edition" "2021" substring ``main` function not found in crate `revisions_bad`` not found in stderr output expected because of pattern here: tests/actual_tests_bless/revisions_bad.rs:4 There were 1 unmatched diagnostics at tests/actual_tests_bless/revisions_bad.rs:10 Error: `main` function not found in crate `revisions_bad` full stderr: error[E0601]: `main` function not found in crate `revisions_bad` --> tests/actual_tests_bless/revisions_bad.rs:10:2 | 10 | } | ^ consider adding a `main` function to `tests/actual_tests_bless/revisions_bad.rs` error: aborting due to previous error For more information about this error, try `rustc --explain E0601`. tests/actual_tests_bless/unknown_revision.rs FAILED: command: "parse comments" Could not parse comment in tests/actual_tests_bless/unknown_revision.rs:3 because there are no revisions in this test full stderr: tests/actual_tests_bless/unknown_revision2.rs FAILED: command: "parse comments" Could not parse comment in tests/actual_tests_bless/unknown_revision2.rs:5 because the revision `cake` is not known full stderr: FAILURES: tests/actual_tests_bless/aux_proc_macro_misuse.rs tests/actual_tests_bless/aux_proc_macro_no_main.rs tests/actual_tests_bless/compile_flags_quotes.rs tests/actual_tests_bless/compiletest-rs-command.rs tests/actual_tests_bless/failing_executable.rs tests/actual_tests_bless/foomp-rustfix-fail-revisions.rs (revision a) tests/actual_tests_bless/foomp-rustfix-fail-revisions.rs (revision b) tests/actual_tests_bless/foomp-rustfix-fail.rs tests/actual_tests_bless/no_main.rs tests/actual_tests_bless/no_main_manual.rs tests/actual_tests_bless/no_test.rs tests/actual_tests_bless/non_top_level_configs.rs tests/actual_tests_bless/revi
tests (ubuntu-latest, x86_64-unknown-linux-gnu)
Process completed with exit code 1.
tests (windows-latest, i686-pc-windows-msvc)
The job was canceled because "ubuntu-latest_x86_64-unknown-linux-gnu" failed.
tests (windows-latest, i686-pc-windows-msvc)
The operation was canceled.
tests (macos-latest, x86_64-apple-darwin)
The job was canceled because "ubuntu-latest_x86_64-unknown-linux-gnu" failed.
tests (macos-latest, x86_64-apple-darwin)
The operation was canceled.