Skip to content

Instantly share code, notes, and snippets.

View adam-singer's full-sized avatar
👾

Adam Singer adam-singer

👾
View GitHub Profile
06:00:21 adam@Adams-MBP native-link ±|adams/empty-digest-498|→ bazel query //local-remote-execution/generated/config:platform --output build
# /Users/adam/workspace/native-link/local-remote-execution/generated/config/BUILD:35:9
platform(
name = "platform",
exec_properties = {"container-image": "docker://nativelink-toolchain:lslbs7cb2pdf0lgp14vz6kj9r2xbby55", "OSFamily": "Linux"},
constraint_values = ["@platforms//os:linux", "@platforms//cpu:x86_64", "@bazel_tools//tools/cpp:clang"],
parents = ["@local_config_platform//:host"],
)
# Rule platform instantiated at (most recent call last):
# /Users/adam/workspace/native-link/local-remote-execution/generated/config/BUILD:35:9 in <toplevel>
05:55:38 adam@Adams-MBP native-link ±|adams/empty-digest-498|→ bazel test -s //nativelink-store/...
INFO: Analyzed 16 targets (30 packages loaded, 1363 targets configured).
INFO: Found 2 targets and 14 test targets...
SUBCOMMAND: # @rules_rust_tinyjson//:tinyjson [action 'Compiling Rust (without process_wrapper) rlib tinyjson (4 files) [for tool]', configuration: 83951373319ba38dc4721fcef6357d7afdfc15d636a25f4e7abec893e6f102b6, execution platform: //local-remote-execution/generated/config:platform]
(cd /private/var/tmp/_bazel_adam/40c88777425c71ea9813d14d612023d6/execroot/nativelink && \
exec env - \
CARGO_CFG_TARGET_ARCH=x86_64 \
CARGO_CFG_TARGET_OS=linux \
CARGO_CRATE_NAME=tinyjson \
CARGO_MANIFEST_DIR='${pwd}/external/rules_rust_tinyjson' \
ERROR: /Users/adam/workspace/bazelbuild/rules_rust/examples/hello_lib/BUILD.bazel:13:13: Compiling Rust rlib hello_lib (2 files) failed: (Exit 1): process_wrapper failed: error executing Rustc command (from target //hello_lib:hello_lib)
(cd /private/var/tmp/_bazel_adam/6c38ec95aa88ed6027a3f4138f9c2a8c/execroot/examples && \
exec env - \
CARGO_CFG_TARGET_ARCH=aarch64 \
CARGO_CFG_TARGET_OS=darwin \
CARGO_CRATE_NAME=hello_lib \
CARGO_MANIFEST_DIR='${pwd}/hello_lib' \
CARGO_PKG_AUTHORS='' \
CARGO_PKG_DESCRIPTION='' \
CARGO_PKG_HOMEPAGE='' \
SUBCOMMAND: # @@llvm-project//clang:clang-tblgen [action 'Linking external/llvm-project/clang/clang-tblgen [for tool]', configuration: c201e3748b8830d69e5972f8043380fac301d722fcb54460aa7d53bbae7f2806, execution platform: @@local_config_platform//:host, mnemonic: CppLink]
(cd /private/var/tmp/_bazel_adam/6c38ec95aa88ed6027a3f4138f9c2a8c/execroot/examples && \
exec env - \
PATH='/Users/adam/Library/Caches/bazelisk/downloads/sha256/b1cf1c5783fa3eac60942bf2ec6169cfccecd2fa5a355587d8d35983bc1e1310/bin:/Users/adam/.local/bin:/Users/adam/Downloads/google-cloud-sdk/bin:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/Users/adam/.cargo/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/adam/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bo
11:38:53 adam@Adams-MBP examples ±|current-rust-toolchain-includes-all-files|→ bazel build //... --remote_instance_name=main --remote_cache=grpc://127.0.0.1:50051 --remote_executor=grpc://127.0.0.1:50051 --remote_default_exec_properties=cpu_count=1 --verbose_failures --experimental_remote_execution_keepalive --cache_test_results=no --sandbox_debug --remote_grpc_log=/tmp/grpc.log --grpc_keepalive_timeout="180s" --grpc_keepalive_time="180s" --remote_timeout="180s" -k
INFO: Invocation ID: 302575cc-d67b-406d-b9de-7fdf8e789533
INFO: Analyzed 99 targets (0 packages loaded, 0 targets configured).
ERROR: /Users/adam/workspace/bazelbuild/rules_rust/examples/env_locations/BUILD.bazel:21:19: Running Cargo build script build failed: (Exit 101): cargo_build_script_runner failed: error executing CargoBuildScriptRun command (from target //env_locations:build)
(cd /private/var/tmp/_bazel_adam/6c38ec95aa88ed6027a3f4138f9c2a8c/execroot/examples && \
exec env - \
AR=/usr/bin/libtool \
CARGO_CRATE_NAME=build \
ERROR: /Users/adam/workspace/bazelbuild/rules_rust/examples/proc_macro/BUILD.bazel:39:9: Generating Rustdoc for @//proc_macro:proc_macro_lib failed: (Exit 1): process_wrapper failed: error executing Rustdoc command (from target //proc_macro:proc_macro_lib_doc)
(cd /private/var/tmp/_bazel_adam/6c38ec95aa88ed6027a3f4138f9c2a8c/execroot/examples && \
exec env - \
CARGO_CFG_TARGET_ARCH=aarch64 \
CARGO_CFG_TARGET_OS=darwin \
CARGO_CRATE_NAME=proc_macro_lib \
CARGO_MANIFEST_DIR='${pwd}/proc_macro' \
CARGO_PKG_AUTHORS='' \
CARGO_PKG_DESCRIPTION='' \
CARGO_PKG_HOMEPAGE='' \
#[tokio::test]
async fn test_it() {
let connector = hyper_rustls::HttpsConnectorBuilder::new()
.with_webpki_roots()
.https_only()
.enable_http1()
.enable_http2()
.build();
let http_client = HyperClientBuilder::new().build(connector);
07:27:43 adam@Adams-MBP rules_rust ±|adams/rustc-libs-bug-hacks ✗|→ bazel build //:inspect --remote_instance_name=main --remote_cache=grpc://127.0.0.1:50051 --remote_executor=grpc://127.0.0.1:50051 --remote_default_exec_properties=cpu_count=1 --verbose_failures --experimental_remote_execution_keepalive --cache_test_results=no --sandbox_debug --remote_grpc_log=/tmp/grpc.log --grpc_keepalive_timeout="180s" --grpc_keepalive_time="180s" --remote_timeout="180s" -s
INFO: Invocation ID: c84cdf9a-f6b9-46ce-88f0-3578386f66a7
DEBUG: /Users/adam/workspace/bazelbuild/rules_rust/rust/toolchain.bzl:314:14: symlink = <generated file external/rust_darwin_aarch64__aarch64-apple-darwin__stable_tools/rust_toolchain/lib/libcstr-ed143a7480878543.dylib>
DEBUG: /Users/adam/workspace/bazelbuild/rules_rust/rust/toolchain.bzl:314:14: symlink = <generated file external/rust_darwin_aarch64__aarch64-apple-darwin__stable_tools/rust_toolchain/lib/libdarling_macro-36d48e8f0307d6cc.dylib>
DEBUG: /Users/adam/workspace/bazelbuild/rule
07:11:27 adam@Adams-MBP rules_rust ±|adams/rustc-libs-bug-hacks ✗|→ bazel build //:inspect --remote_instance_name=main --remote_cache=grpc://127.0.0.1:50051 --remote_executor=grpc://127.0.0.1:50051 --remote_default_exec_properties=cpu_count=1 --verbose_failures --experimental_remote_execution_keepalive --cache_test_results=no --sandbox_debug --remote_grpc_log=/tmp/grpc.log --grpc_keepalive_timeout="180s" --grpc_keepalive_time="180s" --remote_timeout="180s" -s
INFO: Invocation ID: b73391d8-997b-4281-a608-f85710df7668
DEBUG: /Users/adam/workspace/bazelbuild/rules_rust/rust/toolchain.bzl:444:10: all_files = [<generated file external/rust_darwin_aarch64__aarch64-apple-darwin__stable_tools/rust_toolchain/lib/libcstr-ed143a7480878543.dylib>, <generated file external/rust_darwin_aarch64__aarch64-apple-darwin__stable_tools/rust_toolchain/lib/libdarling_macro-36d48e8f0307d6cc.dylib>, <generated file external/rust_darwin_aarch64__aarch64-apple-darwin__stable_tools/rust_toolchain/lib/libderive_more-49f8d614b623a
07:07:17 adam@Adams-MBP rules_rust ±|adams/rustc-libs-bug-hacks ✗|→ bazel build //:inspect --remote_instance_name=main --remote_cache=grpc://127.0.0.1:50051 --remote_executor=grpc://127.0.0.1:50051 --remote_default_exec_properties=cpu_count=1 --verbose_failures --experimental_remote_execution_keepalive --cache_test_results=no --sandbox_debug --remote_grpc_log=/tmp/grpc.log --grpc_keepalive_timeout="180s" --grpc_keepalive_time="180s" --remote_timeout="180s" -s
INFO: Invocation ID: 6ed7023f-a5f6-4d6b-a810-9993fda20059
DEBUG: /Users/adam/workspace/bazelbuild/rules_rust/rust/toolchain.bzl:444:10: all_files = [<generated file external/rust_darwin_aarch64__aarch64-apple-darwin__stable_tools/rust_toolchain/lib/libcstr-ed143a7480878543.dylib>, <generated file external/rust_darwin_aarch64__aarch64-apple-darwin__stable_tools/rust_toolchain/lib/libdarling_macro-36d48e8f0307d6cc.dylib>, <generated file external/rust_darwin_aarch64__aarch64-apple-darwin__stable_tools/rust_toolchain/lib/libderive_more-49f8d614b623a