Skip to content

Add support for Link-Time Optimization #938

Add support for Link-Time Optimization

Add support for Link-Time Optimization #938

Triggered via pull request August 18, 2023 22:46
Status Failure
Total duration 25m 58s
Artifacts

ci.yml

on: pull_request
duplicates
3s
duplicates
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

52 errors and 135 warnings
build (libgccjit_without_int128.so, master-without-128bit-integers, --mini-tests)
Process completed with exit code 1.
build (libgccjit_without_int128.so, master-without-128bit-integers, --std-tests)
Process completed with exit code 1.
build (libgccjit.so, master, --mini-tests)
linking with `cc` failed: exit status: 1
build (libgccjit.so, master, --mini-tests)
aborting due to previous error
build (libgccjit.so, master, --mini-tests)
Process completed with exit code 1.
build (libgccjit.so, master, --std-tests)
Process completed with exit code 1.
build (libgccjit.so, master, --test-failing-rustc)
test compilation failed although it shouldn't!
build (libgccjit.so, master, --test-failing-rustc)
linking with `cc` failed: exit status: 1
build (libgccjit.so, master, --test-failing-rustc)
aborting due to previous error
build (libgccjit.so, master, --test-failing-rustc)
test run failed!
build (libgccjit.so, master, --test-failing-rustc)
test compilation failed although it shouldn't!
build (libgccjit.so, master, --test-failing-rustc)
linking with `cc` failed: exit status: 1
build (libgccjit.so, master, --test-failing-rustc)
aborting due to previous error
build (libgccjit.so, master, --test-failing-rustc)
test compilation failed although it shouldn't!
build (libgccjit.so, master, --test-failing-rustc)
linking with `cc` failed: exit status: 1
build (libgccjit.so, master, --test-failing-rustc)
aborting due to previous error
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 0)
auxiliary build of "/home/runner/work/rustc_codegen_gcc/rustc_codegen_gcc/rust/tests/ui/cross-crate/issue-64872/auxiliary/b_reexport_obj.rs" failed to compile:
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 0)
linking with `cc` failed: exit status: 1
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 0)
auxiliary build of "/home/runner/work/rustc_codegen_gcc/rustc_codegen_gcc/rust/tests/ui/issues/auxiliary/issue-14344-2.rs" failed to compile:
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 0)
linking with `cc` failed: exit status: 1
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 0)
test compilation failed although it shouldn't!
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 0)
linking with `cc` failed: exit status: 1
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 1)
test compilation failed although it shouldn't!
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 1)
linking with `cc` failed: exit status: 1
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 1)
test compilation failed although it shouldn't!
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 1)
test compilation failed although it shouldn't!
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 1)
the compiler unexpectedly panicked. this is a bug.
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 1)
the compiler unexpectedly panicked. this is a bug.
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 1)
the compiler unexpectedly panicked. this is a bug.
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 1)
the compiler unexpectedly panicked. this is a bug.
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 1)
auxiliary build of "/home/runner/work/rustc_codegen_gcc/rustc_codegen_gcc/rust/tests/ui/lto/auxiliary/debuginfo-lto-aux.rs" failed to compile:
build (libgccjit.so, master, --extended-regex-example-tests)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (libgccjit.so, master, --extended-regex-example-tests): src/back/lto.rs#L26
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --extended-regex-example-tests): src/back/write.rs#L1
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --extended-regex-example-tests): src/context.rs#L3
unused imports: `FnAttribute`, `ToRValue`
build (libgccjit.so, master, --extended-regex-example-tests): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --extended-regex-example-tests)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --extended-regex-example-tests): src/back/lto.rs#L26
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --extended-regex-example-tests): src/back/write.rs#L1
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --extended-regex-example-tests): src/context.rs#L3
unused imports: `FnAttribute`, `ToRValue`
build (libgccjit.so, master, --extended-regex-example-tests): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --extended-regex-example-tests)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --extended-regex-example-tests)
use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
build (libgccjit.so, master, --extended-regex-example-tests)
use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
build (libgccjit.so, master, --extended-regex-example-tests)
field `printer` is never read
build (libgccjit.so, master, --extended-regex-example-tests)
field `printer` is never read
build (libgccjit.so, master, --mini-tests)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (libgccjit.so, master, --mini-tests): src/lib.rs#L45
unused extern crate
build (libgccjit.so, master, --mini-tests): src/back/lto.rs#L26
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --mini-tests): src/back/write.rs#L1
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --mini-tests): src/context.rs#L3
unused imports: `FnAttribute`, `ToRValue`
build (libgccjit.so, master, --mini-tests): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --mini-tests)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --mini-tests): src/lib.rs#L45
unused extern crate
build (libgccjit.so, master, --mini-tests): src/back/lto.rs#L26
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --mini-tests): src/back/write.rs#L1
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --mini-tests): src/context.rs#L3
unused imports: `FnAttribute`, `ToRValue`
build (libgccjit.so, master, --mini-tests): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --mini-tests)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --std-tests)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (libgccjit.so, master, --std-tests): src/lib.rs#L45
unused extern crate
build (libgccjit.so, master, --std-tests): src/back/lto.rs#L26
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --std-tests): src/back/write.rs#L1
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --std-tests): src/context.rs#L3
unused imports: `FnAttribute`, `ToRValue`
build (libgccjit.so, master, --std-tests): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --std-tests)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --std-tests): src/lib.rs#L45
unused extern crate
build (libgccjit.so, master, --std-tests): src/back/lto.rs#L26
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --std-tests): src/back/write.rs#L1
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --std-tests): src/context.rs#L3
unused imports: `FnAttribute`, `ToRValue`
build (libgccjit.so, master, --std-tests): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --std-tests)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --extended-rand-tests)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (libgccjit.so, master, --extended-rand-tests): src/back/lto.rs#L26
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --extended-rand-tests): src/back/write.rs#L1
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --extended-rand-tests): src/context.rs#L3
unused imports: `FnAttribute`, `ToRValue`
build (libgccjit.so, master, --extended-rand-tests): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --extended-rand-tests)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --extended-rand-tests)
field `alpha` is never read
build (libgccjit.so, master, --extended-rand-tests)
`rand_distr` (lib) generated 1 warning
build (libgccjit.so, master, --extended-rand-tests)
unknown attribute `norun`. Did you mean `no_run`?
build (libgccjit.so, master, --extended-rand-tests)
1 warning emitted
build (libgccjit.so, master, --extended-rand-tests): src/back/lto.rs#L26
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --extended-rand-tests): src/back/write.rs#L1
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --extended-rand-tests): src/context.rs#L3
unused imports: `FnAttribute`, `ToRValue`
build (libgccjit.so, master, --extended-rand-tests): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --extended-rand-tests)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --extended-regex-tests)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (libgccjit.so, master, --extended-regex-tests): src/back/lto.rs#L26
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --extended-regex-tests): src/back/write.rs#L1
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --extended-regex-tests): src/context.rs#L3
unused imports: `FnAttribute`, `ToRValue`
build (libgccjit.so, master, --extended-regex-tests): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --extended-regex-tests)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --extended-regex-tests): src/back/lto.rs#L26
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --extended-regex-tests): src/back/write.rs#L1
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --extended-regex-tests): src/context.rs#L3
unused imports: `FnAttribute`, `ToRValue`
build (libgccjit.so, master, --extended-regex-tests): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --extended-regex-tests)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --extended-regex-tests)
use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
build (libgccjit.so, master, --extended-regex-tests)
use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
build (libgccjit.so, master, --extended-regex-tests)
field `printer` is never read
build (libgccjit.so, master, --extended-regex-tests)
field `printer` is never read
build (libgccjit.so, master, --test-failing-rustc)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (libgccjit.so, master, --test-failing-rustc): src/back/lto.rs#L26
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --test-failing-rustc): src/back/write.rs#L1
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --test-failing-rustc): src/context.rs#L3
unused imports: `FnAttribute`, `ToRValue`
build (libgccjit.so, master, --test-failing-rustc): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --test-failing-rustc)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --test-failing-rustc): src/back/lto.rs#L26
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --test-failing-rustc): src/back/write.rs#L1
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --test-failing-rustc): src/context.rs#L3
unused imports: `FnAttribute`, `ToRValue`
build (libgccjit.so, master, --test-failing-rustc): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --test-failing-rustc)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 0): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 0)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 0): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 0)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --test-libcore)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (libgccjit.so, master, --test-libcore): src/back/lto.rs#L26
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --test-libcore): src/back/write.rs#L1
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --test-libcore): src/context.rs#L3
unused imports: `FnAttribute`, `ToRValue`
build (libgccjit.so, master, --test-libcore): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --test-libcore)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --test-libcore): src/back/lto.rs#L26
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --test-libcore): src/back/write.rs#L1
unused import: `std::sync::atomic::Ordering`
build (libgccjit.so, master, --test-libcore): src/context.rs#L3
unused imports: `FnAttribute`, `ToRValue`
build (libgccjit.so, master, --test-libcore): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --test-libcore)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --test-libcore)
constant `EMPTY_MAX` is never used
build (libgccjit.so, master, --test-libcore)
`core` (lib test) generated 1 warning
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 1): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 1)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 1)
LTO is not supported. You may get a linker error.
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 1)
LTO is not supported. You may get a linker error.
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 1): src/lib.rs#L143
fields `should_combine_object_files` and `temp_dir` are never read
build (libgccjit.so, master, --test-successful-rustc --nb-parts 2 --current-part 1)
`rustc_codegen_gcc` (lib) generated 5 warnings (run `cargo fix --lib -p rustc_codegen_gcc` to apply 4 suggestions)