below icon indicating copy to clipboard operation
below copied to clipboard

build failed

Open nnovikov opened this issue 4 years ago • 5 comments

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

nnovikov avatar Sep 22 '21 08:09 nnovikov

Do you have rustfmt installed?

danobi avatar Sep 23 '21 02:09 danobi

Yep.

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

nnovikov avatar Sep 23 '21 07:09 nnovikov

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?

danobi avatar Sep 23 '21 19:09 danobi

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.

nnovikov avatar Sep 23 '21 19:09 nnovikov

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>

davegallant avatar Oct 10 '21 05:10 davegallant