tarpaulin: Failing to build a crate with a 'failure' dependency

error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" ... a lot of stuff
  = note: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/crt1.o: In function `_start':
          (.text+0x20): undefined reference to `main'
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

Error: failed to compile: Could not compile `failure_derive`.
Error during run
  • rustc 1.25.0 (84203cac6 2018-03-25)
  • cargo 0.26.0 (41480f5cc 2018-02-26)
  • cargo-tarpaulin version: 0.5.6

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (9 by maintainers)

Most upvoted comments

Yes, it works now. Thanks!