Skip to content

CARGO_PKG_AUTHORS is missing in cargo_build_script #3527

@ashi009

Description

@ashi009

CARGO_PKG_AUTHORS is required by rav1e-0.7.1's build.rs, which panicked for missing this env.

Build script process failed with exit code 101
--stdout:

--stderr:

thread 'main' panicked at external/crate_index__built-0.7.5/src/environment.rs:53:9:
Missing expected environment variable "CARGO_PKG_AUTHORS"
stack backtrace:
   0:        0x1026bd4a8 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h0e008ac854899e18
   1:        0x1026d4a94 - core::fmt::write::h2c21eb14b1dd8ad0
   2:        0x1026bb224 - std::io::Write::write_fmt::h1fdd0180e3c77d24
   3:        0x1026bd35c - std::sys::backtrace::BacktraceLock::print::hb8a77fc26ba5bbdc
   4:        0x1026be234 - std::panicking::default_hook::{{closure}}::h6bf3faf5cf5dae9d
   5:        0x1026be070 - std::panicking::default_hook::heb63235480e1657e
   6:        0x1026bec94 - std::panicking::rust_panic_with_hook::he5e9d1d9e3153170
   7:        0x1026be930 - std::panicking::begin_panic_handler::{{closure}}::hd86605ed3266bb72
   8:        0x1026bd95c - std::sys::backtrace::__rust_end_short_backtrace::hf79a98c26e726fc1
   9:        0x1026be5e8 - _rust_begin_unwind
  10:        0x1026db174 - core::panicking::panic_fmt::hadbabd9ba9c16ff0
  11:        0x1026db154 - core::option::expect_failed::h3362eaa9a8f2c698
  12:        0x1026979c8 - built::environment::EnvironmentMap::write_env::ha536b5b78932e91f
  13:        0x10269b738 - built::write_built_file_with_opts::hd5aa22415c695b99
  14:        0x10269b870 - built::write_built_file::h7f5006d7eb82b252
  15:        0x1026955ac - build_script_build::main::h055766aea2def2dd
  16:        0x1026953f0 - std::sys::backtrace::__rust_begin_short_backtrace::hb2c0d52306705e2d
  17:        0x1026953d8 - std::rt::lang_start::{{closure}}::h966def5ccdd80252
  18:        0x1026b8898 - std::rt::lang_start_internal::h24dbca674d9b5925
  19:        0x102695a08 - _main

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions