wizardsardine / liana

The missing safety net for your coins
https://wizardsardine.com/liana
BSD 3-Clause "New" or "Revised" License
321 stars 57 forks source link

`macos-latest` + `rustc 1.48` = ` error: linking with cc failed: exit code: 1` #69

Closed darosior closed 1 year ago

darosior commented 2 years ago

The rust 1.48 build started failing on macOS in #67.

   Compiling proc-macro2 v1.0.40
   Compiling cc v1.0.73
   Compiling quote v1.0.20
     Running `rustc --crate-name build_script_build --edition=2018 /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.40/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=a775773b1c4d6d13 -C extra-filename=-a775773b1c4d6d13 --out-dir /Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13 -L dependency=/Users/runner/work/minisafe/minisafe/target/debug/deps --cap-lints allow`
     Running `rustc --crate-name cc --edition=2018 /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.73/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=6951f41806db0446 -C extra-filename=-6951f41806db0446 --out-dir /Users/runner/work/minisafe/minisafe/target/debug/deps -L dependency=/Users/runner/work/minisafe/minisafe/target/debug/deps --cap-lints allow`
     Running `rustc --crate-name build_script_build --edition=2018 /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/quote-1.0.20/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=43d0865adc1d5c42 -C extra-filename=-43d0865adc1d5c42 --out-dir /Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42 -L dependency=/Users/runner/work/minisafe/minisafe/target/debug/deps --cap-lints allow`
   Compiling unicode-ident v1.0.2
     Running `rustc --crate-name unicode_ident --edition=2018 /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-ident-1.0.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=830f4edd07508c85 -C extra-filename=-830f4edd07508c85 --out-dir /Users/runner/work/minisafe/minisafe/target/debug/deps -L dependency=/Users/runner/work/minisafe/minisafe/target/debug/deps --cap-lints allow`
   Compiling syn v1.0.98
     Running `rustc --crate-name build_script_build --edition=2018 /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.98/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=f23be10b00cb500d -C extra-filename=-f23be10b00cb500d --out-dir /Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d -L dependency=/Users/runner/work/minisafe/minisafe/target/debug/deps --cap-lints allow`
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-arch" "x86_64" "-L" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.build_script_build.ac18yd7a-cgu.0.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.build_script_build.ac18yd7a-cgu.1.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.build_script_build.ac18yd7a-cgu.10.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.build_script_build.ac18yd7a-cgu.11.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.build_script_build.ac18yd7a-cgu.12.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.build_script_build.ac18yd7a-cgu.13.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.build_script_build.ac18yd7a-cgu.14.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.build_script_build.ac18yd7a-cgu.15.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.build_script_build.ac18yd7a-cgu.2.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.build_script_build.ac18yd7a-cgu.3.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.build_script_build.ac18yd7a-cgu.4.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.build_script_build.ac18yd7a-cgu.5.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.build_script_build.ac18yd7a-cgu.6.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.build_script_build.ac18yd7a-cgu.7.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.build_script_build.ac18yd7a-cgu.8.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.build_script_build.ac18yd7a-cgu.9.rcgu.o" "-o" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42" "/Users/runner/work/minisafe/minisafe/target/debug/build/quote-43d0865adc1d5c42/build_script_build-43d0865adc1d5c42.2vq3dqw043l0ru7x.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/runner/work/minisafe/minisafe/target/debug/deps" "-L" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-688c1376a25c049d.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-078f89c2cdb6d46b.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libobject-fec020208bc1ad3c.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libaddr2line-38540dcacc9fd218.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libgimli-6f613179f618c598.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-4d1a5d7118aaeaf2.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-d88fab3b1b9d8356.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-a21754532a052f2f.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-2e9ebc4127641a96.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcfg_if-82d0f961232a05ca.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-370b1b71f08bac3c.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-816106c1f35f5421.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-20f3a030f1a56a86.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-60333aa00936c5ce.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-116aaeaea873ef94.rlib" "-lSystem" "-lresolv" "-lc" "-lm"
  = note: ld: in /Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-078f89c2cdb6d46b.rlib(lib.rmeta), archive member 'lib.rmeta' with length 29624 is not mach-o or llvm bitcode file '/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-078f89c2cdb6d46b.rlib'
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-arch" "x86_64" "-L" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.build_script_build.8y8agsyp-cgu.0.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.build_script_build.8y8agsyp-cgu.1.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.build_script_build.8y8agsyp-cgu.10.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.build_script_build.8y8agsyp-cgu.11.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.build_script_build.8y8agsyp-cgu.12.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.build_script_build.8y8agsyp-cgu.13.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.build_script_build.8y8agsyp-cgu.14.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.build_script_build.8y8agsyp-cgu.15.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.build_script_build.8y8agsyp-cgu.2.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.build_script_build.8y8agsyp-cgu.3.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.build_script_build.8y8agsyp-cgu.4.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.build_script_build.8y8agsyp-cgu.5.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.build_script_build.8y8agsyp-cgu.6.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.build_script_build.8y8agsyp-cgu.7.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.build_script_build.8y8agsyp-cgu.8.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.build_script_build.8y8agsyp-cgu.9.rcgu.o" "-o" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d" "/Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d/build_script_build-f23be10b00cb500d.3iv5l76q37nbdd9h.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/runner/work/minisafe/minisafe/target/debug/deps" "-L" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-688c1376a25c049d.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-078f89c2cdb6d46b.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libobject-fec020208bc1ad3c.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libaddr2line-38540dcacc9fd218.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libgimli-6f613179f618c598.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-4d1a5d7118aaeaf2.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-d88fab3b1b9d8356.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-a21754532a052f2f.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-2e9ebc4127641a96.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcfg_if-82d0f961232a05ca.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-370b1b71f08bac3c.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-816106c1f35f5421.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-20f3a030f1a56a86.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-60333aa00936c5ce.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-116aaeaea873ef94.rlib" "-lSystem" "-lresolv" "-lc" "-lm"
  = note: ld: in /Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-078f89c2cdb6d46b.rlib(lib.rmeta), archive member 'lib.rmeta' with length 29624 is not mach-o or llvm bitcode file '/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-078f89c2cdb6d46b.rlib'
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

error: aborting due to previous error

error: aborting due to previous error

error: could not compile `syn`

Caused by:
  process didn't exit successfully: `rustc --crate-name build_script_build --edition=2018 /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.98/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=f23be10b00cb500d -C extra-filename=-f23be10b00cb500d --out-dir /Users/runner/work/minisafe/minisafe/target/debug/build/syn-f23be10b00cb500d -L dependency=/Users/runner/work/minisafe/minisafe/target/debug/deps --cap-lints allow` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-m64" "-arch" "x86_64" "-L" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.build_script_build.6v3bvynn-cgu.0.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.build_script_build.6v3bvynn-cgu.1.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.build_script_build.6v3bvynn-cgu.10.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.build_script_build.6v3bvynn-cgu.11.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.build_script_build.6v3bvynn-cgu.12.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.build_script_build.6v3bvynn-cgu.13.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.build_script_build.6v3bvynn-cgu.14.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.build_script_build.6v3bvynn-cgu.15.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.build_script_build.6v3bvynn-cgu.2.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.build_script_build.6v3bvynn-cgu.3.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.build_script_build.6v3bvynn-cgu.4.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.build_script_build.6v3bvynn-cgu.5.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.build_script_build.6v3bvynn-cgu.6.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.build_script_build.6v3bvynn-cgu.7.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.build_script_build.6v3bvynn-cgu.8.rcgu.o" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.build_script_build.6v3bvynn-cgu.9.rcgu.o" "-o" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13" "/Users/runner/work/minisafe/minisafe/target/debug/build/proc-macro2-a775773b1c4d6d13/build_script_build-a775773b1c4d6d13.3mcole49nmerkt58.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/runner/work/minisafe/minisafe/target/debug/deps" "-L" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-688c1376a25c049d.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-078f89c2cdb6d46b.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libobject-fec020208bc1ad3c.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libaddr2line-38540dcacc9fd218.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libgimli-6f613179f618c598.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-4d1a5d7118aaeaf2.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-d88fab3b1b9d8356.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-a21754532a052f2f.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-2e9ebc4127641a96.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcfg_if-82d0f961232a05ca.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-370b1b71f08bac3c.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-816106c1f35f5421.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-20f3a030f1a56a86.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-60333aa00936c5ce.rlib" "/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-116aaeaea873ef94.rlib" "-lSystem" "-lresolv" "-lc" "-lm"
  = note: ld: in /Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-078f89c2cdb6d46b.rlib(lib.rmeta), archive member 'lib.rmeta' with length 29624 is not mach-o or llvm bitcode file '/Users/runner/.rustup/toolchains/1.48-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-078f89c2cdb6d46b.rlib'
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

error: aborting due to previous error

error: build failed
Error: Process completed with exit code 101.
darosior commented 2 years ago

So it was not related to #67. See https://github.com/revault/minisafe/pull/68 that only contains an empty commit. It failed there as well.

darosior commented 2 years ago

We should have a new look now, maybe it was a spurious failure. @edouardparis can you have a go next week at just re-enabling the macOS ci in a PR to see if it's still failing?

darosior commented 1 year ago

i'm taking this over.

darosior commented 1 year ago

So this is specific to 1.48 (see #168, build and tests pass on newer rust versions), and i won't have time to debug it before the first release.