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
Our Github Actions CI builds are broken on macOS with rust 1.38.
This doesn't seem to be a bug with iana-time-zone itself, rather with some other component. For example, the macos 1.38 build for commit 7baa35e succeeded with runner 20220917.1 but failed with runner 20220929.2.
I guess the cause is that the Github runner has switched to Apple clang 14.0.0, which seems to have some incompatibility with older versions of rust. The previous version of clang used on the Github runner was 13.1.6. (See the new runner versus the old runner).
For the record, the error is:
error: linking with `cc` failed: exit code: 1
[8](https://github.com/strawlab/iana-time-zone/actions/runs/3201189235/jobs/5228909128#step:5:9)
|
[9](https://github.com/strawlab/iana-time-zone/actions/runs/3201189235/jobs/5228909128#step:5:10)
= note: "cc" "-m64" "-L" "/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.build_script_build.8o1hjvuw-cgu.0.rcgu.o" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.build_script_build.8o1hjvuw-cgu.1.rcgu.o" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.build_script_build.8o1hjvuw-cgu.10.rcgu.o" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.build_script_build.8o1hjvuw-cgu.11.rcgu.o" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.build_script_build.8o1hjvuw-cgu.12.rcgu.o" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.build_script_build.8o1hjvuw-cgu.13.rcgu.o" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.build_script_build.8o1hjvuw-cgu.14.rcgu.o" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.build_script_build.8o1hjvuw-cgu.15.rcgu.o" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.build_script_build.8o1hjvuw-cgu.2.rcgu.o" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.build_script_build.8o1hjvuw-cgu.3.rcgu.o" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.build_script_build.8o1hjvuw-cgu.4.rcgu.o" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.build_script_build.8o1hjvuw-cgu.5.rcgu.o" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.build_script_build.8o1hjvuw-cgu.6.rcgu.o" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.build_script_build.8o1hjvuw-cgu.7.rcgu.o" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.build_script_build.8o1hjvuw-cgu.8.rcgu.o" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.build_script_build.8o1hjvuw-cgu.9.rcgu.o" "-o" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/build/core-foundation-sys-ea2056c1b0d49cee/build_script_build-ea2056c1b0d49cee.3vgb2qbtwuadkm93.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/runner/work/iana-time-zone/iana-time-zone/target/debug/deps" "-L" "/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-c912eb7850fbecec.rlib" "/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-1b3312d8fefaf74e.rlib" "/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libbacktrace-fd4028660702ce49.rlib" "/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libbacktrace_sys-ae9cc847e15164de.rlib" "/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-e76733b3a72b0f17.rlib" "/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-f805efcb06ec7300.rlib" "/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-5b52b7d5eaabfff6.rlib" "/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-4ed6dd6cb0feb09f.rlib" "/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcfg_if-dded45c4727acb1f.rlib" "/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-3b8415dad7bbd863.rlib" "/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-86bfd3683a35bfec.rlib" "/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-af5aff04ef816462.rlib" "/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-62d44948c379a9ba.rlib" "/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-4c0e14a54ecf951d.rlib" "-lSystem" "-lresolv" "-lc" "-lm"
[10](https://github.com/strawlab/iana-time-zone/actions/runs/3201189235/jobs/5228909128#step:5:11)
= note: ld: in /Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libbacktrace-fd4028660702ce49.rlib(rust.metadata.bin), archive member 'rust.metadata.bin' with length 87689 is not mach-o or llvm bitcode file '/Users/runner/.rustup/toolchains/1.38-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libbacktrace-fd4028660702ce49.rlib'
[11](https://github.com/strawlab/iana-time-zone/actions/runs/3201189235/jobs/5228909128#step:5:12)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Perhaps we should disable CI builds for rust 1.38 on macOS until this is fixed?
The text was updated successfully, but these errors were encountered:
Our Github Actions CI builds are broken on macOS with rust 1.38.
This doesn't seem to be a bug with
iana-time-zone
itself, rather with some other component. For example, the macos 1.38 build for commit 7baa35e succeeded with runner 20220917.1 but failed with runner 20220929.2.I guess the cause is that the Github runner has switched to Apple clang 14.0.0, which seems to have some incompatibility with older versions of rust. The previous version of clang used on the Github runner was 13.1.6. (See the new runner versus the old runner).
For the record, the error is:
Perhaps we should disable CI builds for rust 1.38 on macOS until this is fixed?
The text was updated successfully, but these errors were encountered: