Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed #8112

Open
nnovikov opened this issue Sep 22, 2021 · 5 comments
Open

build failed #8112

nnovikov opened this issue Sep 22, 2021 · 5 comments

Comments

@nnovikov
Copy link

I tried to build it, but this error happened.

  error: unknown proxy name: 'rustfmt'; valid proxy names are 'rustc', 'rustdoc', 'cargo', 'rust-lldb', 'rust-gdb', 'rls', 'cargo-clippy', 'clippy-driver', 'cargo-miri'
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Generate("Failed to generate skeleton for /tmp/.tmpHkN52W/exitstat.o: Broken pipe (os error 32)")', below/build.rs:19:47
@danobi
Copy link
Contributor

danobi commented Sep 23, 2021

Do you have rustfmt installed?

@nnovikov
Copy link
Author

Yep.

$ rustfmt --version
rustfmt 1.4.37-stable (c8dfcfe 2021-09-06)

@danobi
Copy link
Contributor

danobi commented Sep 23, 2021

I couldn't repro the error on master. How did you install rust? What kind of build are you doing (cargo install, cargo build from repo, etc.)? Any repro steps?

@nnovikov
Copy link
Author

I tried both, cargo install and cargo build --release from repo. Rust installed via curl ... https://sh.rustup.rs | sh on Debian buster and bullseye.

@davegallant
Copy link

Running into the same issue on debian.

Output from RUST_BACKTRACE=full cargo build --release:

  --- stderr
  Warning: unrecognized map: .maps
  Warning: unrecognized map: license
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Generate("Failed to generate skeleton for /tmp/.tmpPmJNgX/exitstat.o: Broken pipe (os error 32)")', below/build.rs:19:47
  stack backtrace:
     0:     0x55bc539be520 - std::backtrace_rs::backtrace::libunwind::trace::ha0ad43e8a952bfe7
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
     1:     0x55bc539be520 - std::backtrace_rs::backtrace::trace_unsynchronized::h6830419c0c4130dc
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
     2:     0x55bc539be520 - std::sys_common::backtrace::_print_fmt::h8f3516631ffa1ef5
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:67:5
     3:     0x55bc539be520 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he1640d5f0d93f618
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:46:22
     4:     0x55bc539dd42c - core::fmt::write::h88012e1f01caeebf
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/fmt/mod.rs:1115:17
     5:     0x55bc539bb955 - std::io::Write::write_fmt::h360fa85b30182555
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/io/mod.rs:1665:15
     6:     0x55bc539c08cb - std::sys_common::backtrace::_print::ha1f00492f406a015
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:49:5
     7:     0x55bc539c08cb - std::sys_common::backtrace::print::hd54561b13feb6af3
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:36:9
     8:     0x55bc539c08cb - std::panicking::default_hook::{{closure}}::h84fe124cd0864662
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:208:50
     9:     0x55bc539c03a1 - std::panicking::default_hook::h5a8e74a76ce290a7
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:225:9
    10:     0x55bc539c0f94 - std::panicking::rust_panic_with_hook::h67c812a4fe9d4c91
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:622:17
    11:     0x55bc539c0a77 - std::panicking::begin_panic_handler::{{closure}}::h33f9c1b96af300d7
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:519:13
    12:     0x55bc539bea1c - std::sys_common::backtrace::__rust_end_short_backtrace::h51bae64be5921f0e
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:141:18
    13:     0x55bc539c09d9 - rust_begin_unwind
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:515:5
    14:     0x55bc5378fbe1 - core::panicking::panic_fmt::h12a3a3c256485fca
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/panicking.rs:92:14
    15:     0x55bc5378fc73 - core::result::unwrap_failed::h2d8d0952e3250de9
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/result.rs:1599:5
    16:     0x55bc53790a43 - core::result::Result<T,E>::unwrap::h63a9600a102f1a85
    17:     0x55bc53792ad4 - build_script_build::main::h2f3ec9a4b4648e03
    18:     0x55bc53791303 - core::ops::function::FnOnce::call_once::h6a2aa8650dd2119e
    19:     0x55bc53791499 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7752638d01c1f837
    20:     0x55bc53792c09 - std::rt::lang_start::{{closure}}::h7568e99594c6e025
    21:     0x55bc539c149a - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::ha9408abe89f69dc4
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:259:13
    22:     0x55bc539c149a - std::panicking::try::do_call::h5b0cc9e9102acb65
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40
    23:     0x55bc539c149a - std::panicking::try::hddc7f8229138b3ba
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19
    24:     0x55bc539c149a - std::panic::catch_unwind::hfa401ff8bab2986e
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14
    25:     0x55bc539c149a - std::rt::lang_start_internal::{{closure}}::h8163422320d11405
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/rt.rs:45:48
    26:     0x55bc539c149a - std::panicking::try::do_call::hc742cc7bb4f0fb20
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40
    27:     0x55bc539c149a - std::panicking::try::ha37d8d2dd1acf7d3
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19
    28:     0x55bc539c149a - std::panic::catch_unwind::h8a5381d5ecf437bc
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14
    29:     0x55bc539c149a - std::rt::lang_start_internal::h7e2cee8c90d4a4d3
                                 at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/rt.rs:45:20
    30:     0x55bc53792be1 - std::rt::lang_start::he63dd43ec2ecdf62
    31:     0x55bc53792bb3 - main
    32:     0x7f89cc197d0a - __libc_start_main
    33:     0x55bc5379037a - _start
    34:                0x0 - <unknown>

facebook-github-bot pushed a commit that referenced this issue Aug 25, 2023
Summary:
Multiple issues (#8112, #8195) have been created related to build errors because the build isn't using `clang-15` or greater.

Pull Request resolved: #8203

Reviewed By: lnyng

Differential Revision: D48659974

Pulled By: brianc118

fbshipit-source-id: b7633a2bc1f2f645a0cb3a43f4647ee59e6464a6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants