Skip to content

Instantly share code, notes, and snippets.

@cramertj
Created August 29, 2018 16:55
Show Gist options
  • Save cramertj/d84f1c0b33d1de7bbaee88d7b13570a9 to your computer and use it in GitHub Desktop.
Save cramertj/d84f1c0b33d1de7bbaee88d7b13570a9 to your computer and use it in GitHub Desktop.
[1931/7535] ACTION //third_party/rust-crates/rustc...build-third-party(//build/toolchain/fuchsia:arm64)
FAILED: rust_third_party/deps_data.json
/usr/bin/env ../../build/rust/compile_3p_crates.py --cargo /usr/local/google/home/raggi/remote-fuchsia/buildtools/linux-x64/rust/bin/cargo --crate-root /usr/local/google/home/raggi/remote-fuchsia/third_party/rust-crates/rustc_deps --out-dir /usr/local/google/home/raggi/remote-fuchsia/out/arm64/rust_third_party --out-deps-data /usr/local/google/home/raggi/remote-fuchsia/out/arm64/rust_third_party/deps_data.json --rustc /usr/local/google/home/raggi/remote-fuchsia/buildtools/linux-x64/rust/bin/rustc --cmake-dir /usr/local/google/home/raggi/remote-fuchsia/buildtools/cmake/bin --shared-libs-root /usr/local/google/home/raggi/remote-fuchsia/out/arm64/arm64-shared --target aarch64-fuchsia --sysroot /usr/local/google/home/raggi/remote-fuchsia/out/arm64/sdks/zircon_sysroot/arch/arm64/sysroot --clang_prefix /usr/local/google/home/raggi/remote-fuchsia/buildtools/linux-x64/clang/bin --opt-level 0
Compiling futures-core-preview v0.3.0-alpha.3
warning: clang-8: warning: argument unused during compilation: '-L/usr/local/google/home/raggi/remote-fuchsia/out/arm64/arm64-shared' [-Wunused-command-line-argument]
warning: clang-8: warning: argument unused during compilation: '-L/usr/local/google/home/raggi/remote-fuchsia/out/arm64/arm64-shared' [-Wunused-command-line-argument]
Compiling fuchsia-zircon v0.3.3 (file:///usr/local/google/home/raggi/remote-fuchsia/garnet/public/rust/crates/fuchsia-zircon)
thread 'main' panicked at 'index out of bounds: the len is 90260 but the index is 90260', /b/s/w/ir/kitchen-workdir/rust/src/libserialize/opaque.rs:255:21
thread 'main' panicked at 'index out of bounds: the len is 139272 but the index is 139272', /b/s/w/ir/kitchen-workdir/rust/src/libserialize/opaque.rs:255:21
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
1: std::sys_common::backtrace::print
2: std::panicking::default_hook::{{closure}}
3: std::panicking::default_hook
4: rustc::util::common::panic_hook
5: std::panicking::rust_panic_with_hook
6: std::panicking::continue_panic_fmt
7: rust_begin_unwind
8: core::panicking::panic_fmt
9: core::panicking::panic_bounds_check
10: <rustc_metadata::schema::CrateRoot as serialize::serialize::Decodable>::decode::{{closure}}
11: rustc_metadata::decoder::<impl rustc_metadata::cstore::MetadataBlob>::get_root
12: rustc_metadata::locator::Context::extract_one
13: rustc_metadata::locator::Context::find_library_crate
14: rustc_metadata::locator::Context::maybe_load_library_crate
15: rustc_metadata::creader::CrateLoader::load
16: rustc_metadata::creader::CrateLoader::resolve_crate
17: rustc_metadata::creader::CrateLoader::process_path_extern
18: rustc_resolve::resolve_imports::<impl rustc_resolve::Resolver<'a, 'crateloader>>::resolve_ident_in_module_unadjusted
19: rustc_resolve::Resolver::resolve_ident_in_module
20: rustc_resolve::Resolver::resolve_path
21: rustc_resolve::resolve_imports::ImportResolver::resolve_imports
22: rustc_resolve::macros::<impl syntax::ext::base::Resolver for rustc_resolve::Resolver<'a, 'crateloader>>::resolve_imports
23: syntax::ext::expand::MacroExpander::expand_fragment
24: syntax::ext::expand::MacroExpander::expand_crate
25: rustc_driver::driver::phase_2_configure_and_expand_inner::{{closure}}
26: rustc::util::common::time
27: rustc_driver::driver::phase_2_configure_and_expand
28: rustc_driver::driver::compile_input
29: rustc_driver::run_compiler_with_pool
30: syntax::with_globals
31: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
32: __rust_maybe_catch_panic
33: rustc_driver::run
34: rustc_driver::main
35: std::rt::lang_start::{{closure}}
36: std::panicking::try::do_call
37: __rust_maybe_catch_panic
38: std::rt::lang_start_internal
39: main
40: __libc_start_main
41: _start
query stack during panic:
end of query stack
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.30.0-dev running on x86_64-unknown-linux-gnu
note: compiler flags: -C debuginfo=2 -C linker=/usr/local/google/home/raggi/remote-fuchsia/buildtools/linux-x64/clang/bin/clang -C link-arg=--target=aarch64-fuchsia -C opt-level=0 -C link-arg=--sysroot=/usr/local/google/home/raggi/remote-fuchsia/out/arm64/sdks/zircon_sysroot/arch/arm64/sysroot --crate-type lib
note: some of the compiler flags provided by cargo are hidden
error: Could not compile `futures-core-preview`.
warning: build failed, waiting for other jobs to finish...
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
1: std::sys_common::backtrace::print
2: std::panicking::default_hook::{{closure}}
3: std::panicking::default_hook
4: rustc::util::common::panic_hook
5: std::panicking::rust_panic_with_hook
6: std::panicking::continue_panic_fmt
7: rust_begin_unwind
8: core::panicking::panic_fmt
9: core::panicking::panic_bounds_check
10: <rustc_metadata::schema::CrateRoot as serialize::serialize::Decodable>::decode::{{closure}}
11: rustc_metadata::decoder::<impl rustc_metadata::cstore::MetadataBlob>::get_root
12: rustc_metadata::locator::Context::extract_one
13: rustc_metadata::locator::Context::find_library_crate
14: rustc_metadata::locator::Context::maybe_load_library_crate
15: rustc_metadata::creader::CrateLoader::load
16: rustc_metadata::creader::CrateLoader::resolve_crate
17: rustc_metadata::creader::CrateLoader::process_path_extern
18: rustc_resolve::resolve_imports::<impl rustc_resolve::Resolver<'a, 'crateloader>>::resolve_ident_in_module_unadjusted
19: rustc_resolve::Resolver::resolve_ident_in_module
20: rustc_resolve::Resolver::resolve_path
21: rustc_resolve::resolve_imports::ImportResolver::resolve_imports
22: rustc_resolve::macros::<impl syntax::ext::base::Resolver for rustc_resolve::Resolver<'a, 'crateloader>>::resolve_imports
23: syntax::ext::expand::MacroExpander::expand_fragment
24: syntax::ext::expand::MacroExpander::expand_crate
25: rustc_driver::driver::phase_2_configure_and_expand_inner::{{closure}}
26: rustc::util::common::time
27: rustc_driver::driver::phase_2_configure_and_expand
28: rustc_driver::driver::compile_input
29: rustc_driver::run_compiler_with_pool
30: syntax::with_globals
31: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
32: __rust_maybe_catch_panic
33: rustc_driver::run
34: rustc_driver::main
35: std::rt::lang_start::{{closure}}
36: std::panicking::try::do_call
37: __rust_maybe_catch_panic
38: std::rt::lang_start_internal
39: main
40: __libc_start_main
41: _start
query stack during panic:
end of query stack
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.30.0-dev running on x86_64-unknown-linux-gnu
note: compiler flags: -C debuginfo=2 -C linker=/usr/local/google/home/raggi/remote-fuchsia/buildtools/linux-x64/clang/bin/clang -C incremental -C link-arg=--target=aarch64-fuchsia -C opt-level=0 -C link-arg=--sysroot=/usr/local/google/home/raggi/remote-fuchsia/out/arm64/sdks/zircon_sysroot/arch/arm64/sysroot --crate-type lib
note: some of the compiler flags provided by cargo are hidden
error: Could not compile `fuchsia-zircon`.
To learn more, run the command again with --verbose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment