happy-kitchen-89482
06/30/2022, 6:13 PMhappy-kitchen-89482
06/30/2022, 6:13 PMbitter-ability-32190
06/30/2022, 6:26 PMa1
was never meant to beaverage-vr-56795
06/30/2022, 6:27 PMbitter-ability-32190
06/30/2022, 6:28 PMaverage-vr-56795
06/30/2022, 6:29 PM<http://crates.io|crates.io>
, and the thing it's actually failing to compile is a version of cargo
which was released 8 months ago and has been working fine sinceaverage-vr-56795
06/30/2022, 6:30 PMcargo build
works fine, but cargo install
failsaverage-vr-56795
06/30/2022, 6:30 PMbitter-ability-32190
06/30/2022, 6:32 PMaverage-vr-56795
06/30/2022, 6:43 PMcargo install
ignores Cargo.lock
filesaverage-vr-56795
06/30/2022, 6:43 PMaverage-vr-56795
06/30/2022, 6:52 PM--locked
to https://github.com/pantsbuild/pants/blob/a527c8c2c5bcd3558da189d2e8b066308b1f928c/build-support/bin/check_rust_target_headers.sh#L5polite-garden-50641
06/30/2022, 6:56 PM18:55:36.99 [WARN] Making attempt 1 to backtrack and retry `Resolving plugins: hdrhistogram, toolchain.pants.plugin==0.20.0`, due to missing digest Digest { hash: Fingerprint<631a455853d2ec32ac9a7e9c10b259d4cc994abdeb6[22/1962]11cc3120a62c>, size_bytes: 92 }.
18:55:36.99 [INFO] Filesystem changed during run: retrying `ResolvedPluginDistributions` in 500ms...
18:55:37.49 [INFO] Starting: Resolving plugins: hdrhistogram, toolchain.pants.plugin==0.20.0
18:55:44.53 [INFO] Completed: Resolving plugins: hdrhistogram, toolchain.pants.plugin==0.20.0
18:55:44.53 [WARN] Making attempt 2 to backtrack and retry `Resolving plugins: hdrhistogram, toolchain.pants.plugin==0.20.0`, due to missing digest Digest { hash: Fingerprint<631a455853d2ec32ac9a7e9c10b259d4cc994abdeb626cb4afe411cc3120a62c>, size_bytes: 92 }.
18:55:44.53 [INFO] Filesystem changed during run: retrying `ResolvedPluginDistributions` in 500ms...
18:55:45.04 [ERROR] 1 Exception encountered:
Engine traceback:
in select
in pants.init.plugin_resolver.resolve_plugins
in pants.backend.python.util_rules.pex.create_venv_pex (pants_plugins.pex)
in pants.backend.python.util_rules.pex.build_pex (pants_plugins.pex)
in pants.engine.process.fallible_to_exec_result_or_raise
in process
Traceback (no traceback):
<pants native internals>
Exception: Process Process { argv: ["/data/home/asher/.cache/pants/pants_dev_deps/Linux.x86_64.x86_64.py38.venv/bin/python", "./pex", "--tmpdir", ".tmp", "--jobs", "{pants_concurrency}", "--python-path", "/data/home/asher/.pyenv/versions/3.6.10/bin:/data/home/asher/.pyenv/versions/3.7.10/bin:/data/home/asher/.pyenv/versions/3.8.12/bin:/data/home/asher/.pyenv/versions/3.8.2/bin:/data/home/asher/.pyenv/versions/3.8.5/bin:/data/home/asher/.pyenv/versions/3.8.6/bin:/data/home/asher/.pyenv/versions/3.8.9/bin:/data/home/asher/.pyenv/versions/3.9.12/bin:/data/home/asher/.pyenv/versions/3.9.4/bin:/data/home/asher/.cache/pants/pants_dev_deps/Linux.x86_64.x86_64.py38.venv/bin:/data/home/asher/bin:/data/home/asher/bin:/data/home/asher/.pyenv/shims:/data/home/asher/.pyenv/bin:/data/home/asher/.cargo/bin:/data/home/asher/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", "--output-file", "pants_plugins.pex", "--no-emit-warnings", "--manylinux", "manylinux2014", "--venv", "--seed", "verbose", "--no-venv-site-packages-copies", "--python", "/data/home/asher/.cache/pants/pants_dev_deps/Linux.x86_64.x86_64.py38.venv/bin/python", "--sources-directory=source_files", "hdrhistogram", "toolchain.pants.plugin==0.20.0", "--no-pypi", "--index=<https://pypi.org/simple/>", "--resolver-version", "pip-2020-resolver", "--constraints", "__constraints.txt", "--layout", "packed"], env: {"CPPFLAGS": "", "LANG": "C.UTF-8", "LDFLAGS": "", "PATH": "/data/home/asher/.cache/pants/pants_dev_deps/Linux.x86_64.x86_64.py38.venv/bin:/data/home/asher/bin:/data/home/asher/.pyenv/shims:/data/home/asher/.pyenv/bin:/data/home/asher/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", "PEX_IGNORE_RCFILES": "true", "PEX_ROOT": ".cache/pex_root"}, working_directory: None, input_digests: InputDigests { complete: DirectoryDigest { digest: Digest { hash: Fingerprint<4808509f1dd1bc1bcd9982cdd27cae7e6ec7a2a55aa2e381b6e201d1899e5f00>, size_bytes: 334 }, tree: "Some(..)" }, nailgun: DirectoryDigest { digest: Digest { hash: Fingerprint<e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855>, size_bytes: 0 }, tree: "Some(..)" }, input_files: DirectoryDigest { digest
: Digest { hash: Fingerprint<4808509f1dd1bc1bcd9982cdd27cae7e6ec7a2a55aa2e381b6e201d1899e5f00>, size_bytes: 334 }, tree: "Some(..)" }, immutable_inputs: {}, use_nailgun: {} }, output_files: {}, output_directories: {RelativePath
("pants_plugins.pex")}, timeout: None, execution_slot_variable: None, concurrency_available: 2, description: "Resolving plugins: hdrhistogram, toolchain.pants.plugin==0.20.0", level: Info, append_only_caches: {CacheName("pex_ro
ot"): RelativePath(".cache/pex_root")}, jdk_home: None, platform_constraint: Some(Linux_x86_64), cache_scope: Successful } produced an invalid result on all configured command runners.
Traceback (most recent call last):
File "/data/home/asher/projects/pants2/src/python/pants/bin/daemon_pants_runner.py", line 130, in single_daemonized_run
scheduler, options_initializer = self._core.prepare(options_bootstrapper, complete_env)
File "/data/home/asher/projects/pants2/src/python/pants/pantsd/pants_daemon_core.py", line 129, in prepare
build_config, options = self._options_initializer.build_config_and_options(
File "/data/home/asher/projects/pants2/src/python/pants/init/options_initializer.py", line 107, in build_config_and_options
build_config = _initialize_build_configuration(
File "/data/home/asher/projects/pants2/src/python/pants/init/options_initializer.py", line 47, in _initialize_build_configuration
working_set = plugin_resolver.resolve(options_bootstrapper, env)
File "/data/home/asher/projects/pants2/src/python/pants/init/plugin_resolver.py", line 131, in resolve
for resolved_plugin_location in self._resolve_plugins(
File "/data/home/asher/projects/pants2/src/python/pants/init/plugin_resolver.py", line 157, in _resolve_plugins
session.product_request(ResolvedPluginDistributions, [request])[0],
File "/data/home/asher/projects/pants2/src/python/pants/engine/internals/scheduler.py", line 576, in product_request
self._raise_on_error([t for _, t in throws])
File "/data/home/asher/projects/pants2/src/python/pants/engine/internals/scheduler.py", line 511, in _raise_on_error
raise ExecutionError(
pants.engine.internals.scheduler.ExecutionError: 1 Exception encountered:
Engine traceback:
in select
in pants.init.plugin_resolver.resolve_plugins
in pants.backend.python.util_rules.pex.create_venv_pex (pants_plugins.pex)
in pants.backend.python.util_rules.pex.build_pex (pants_plugins.pex)
in pants.engine.process.fallible_to_exec_result_or_raise
polite-garden-50641
06/30/2022, 6:56 PMaverage-vr-56795
06/30/2022, 7:01 PMaverage-vr-56795
06/30/2022, 7:01 PM--locked
and main should go greenhappy-kitchen-89482
06/30/2022, 8:26 PMbitter-ability-32190
06/30/2022, 8:28 PMmain
I can merge into the 2 PRs I'm caretakinghappy-kitchen-89482
06/30/2022, 8:56 PM=0.1.7
in registry crates-io
with version `*`"average-vr-56795
06/30/2022, 8:57 PMaverage-vr-56795
06/30/2022, 8:57 PMhappy-kitchen-89482
06/30/2022, 8:58 PMhappy-kitchen-89482
06/30/2022, 8:58 PM"${REPO_ROOT}/cargo" install cargo-ensure-prefix --locked "=0.1.7"
?average-vr-56795
06/30/2022, 8:59 PMhappy-kitchen-89482
06/30/2022, 9:00 PMUpdating <http://crates.io|crates.io> index
Ignored package `cargo-ensure-prefix v0.1.7` is already installed, use --force to override
error: could not find `=0.1.7` in registry `crates-io` with version `*`
Summary Successfully installed cargo-ensure-prefix! Failed to install =0.1.7 (see error(s) above).
error: some crates failed to install
happy-kitchen-89482
06/30/2022, 9:00 PMhappy-kitchen-89482
06/30/2022, 9:00 PMaverage-vr-56795
06/30/2022, 9:01 PMhappy-kitchen-89482
06/30/2022, 9:02 PMbitter-ability-32190
06/30/2022, 9:20 PMbitter-ability-32190
06/30/2022, 10:47 PMaverage-vr-56795
07/01/2022, 12:40 AMcurved-television-6568
07/01/2022, 5:57 AM