dependabot / dependabot-core

🤖 Dependabot's core logic for creating update PRs.
https://docs.github.com/en/code-security/dependabot
MIT License
4.71k stars 1.02k forks source link

Failing to parse manifest because it can't find custom build script (it exists) #5771

Closed briancorbin closed 1 month ago

briancorbin commented 2 years ago

Is there an existing issue for this?

Package ecosystem

cargo

Package manager version

1.62.0-nightly (f63f23ff1 2022-04-28)

Language version

No response

Manifest location and content before the Dependabot update

https://github.com/mobilecoinofficial/full-service/blob/develop/Cargo.toml

dependabot.yml content

https://github.com/mobilecoinofficial/full-service/blob/develop/.github/dependabot.yml

Updated dependency

No response

What you expected to see, versus what you actually saw

Expected it to work?

What I got:

...
updater | <job_466809058> error: failed to get `mc-consensus-enclave-measurement` as a dependency of package `mc-full-service v1.9.0 (/home/dependabot/dependabot-updater/dependabot_tmp_dir/full-service)`
updater | <job_466809058> 
updater | <job_466809058> Caused by:
updater | <job_466809058>   failed to load source for dependency `mc-consensus-enclave-measurement`
updater | <job_466809058> 
updater | <job_466809058> Caused by:
updater | <job_466809058>   Unable to update /home/dependabot/dependabot-updater/dependabot_tmp_dir/mobilecoin/consensus/enclave/measurement
updater | <job_466809058> 
updater | <job_466809058> Caused by:
updater | <job_466809058>   failed to parse manifest at `/home/dependabot/dependabot-updater/dependabot_tmp_dir/mobilecoin/consensus/enclave/measurement/Cargo.toml`
updater | <job_466809058> 
updater | <job_466809058> Caused by:
updater | <job_466809058>   package `mc-consensus-enclave-measurement v2.0.0 (/home/dependabot/dependabot-updater/dependabot_tmp_dir/mobilecoin/consensus/enclave/measurement)` specifies that it links to `consensus_enclave_measurement` but does not have a custom build script
...

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

No response

Smallest manifest that reproduces the issue

No response

jeffwidman commented 2 years ago

What happens if you run cargo directly on this w/o dependabot?

briancorbin commented 2 years ago

It compiles normally. I have never seen it produce this issue before.

briancorbin commented 2 years ago
Compiling mc-util-build-info v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/util/build/info)
   Compiling mc-full-service v1.9.0 (/Users/briancorbin/Programming/full-service/full-service)
   Compiling mc-common v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/common)
   Compiling mc-attest-core v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/attest/core)
   Compiling mc-util-uri v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/util/uri)
   Compiling mc-transaction-core v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/transaction/core)
   Compiling mc-consensus-scp-types v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/consensus/scp/types)
   Compiling mc-util-metrics v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/util/metrics)
   Compiling mc-consensus-scp v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/consensus/scp)
   Compiling mc-util-grpc v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/util/grpc)
   Compiling mc-fog-report-types v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/fog/report/types)
   Compiling mc-attest-verifier v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/attest/verifier)
   Compiling mc-blockchain-types v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/blockchain/types)
   Compiling mc-fog-sig-report v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/fog/sig/report)
   Compiling mc-fog-sig v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/fog/sig)
   Compiling mc-attest-ake v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/attest/ake)
   Compiling mc-consensus-enclave-measurement v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/consensus/enclave/measurement)
   Compiling mc-fog-ingest-report v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/fog/ingest/report)
   Compiling mc-fog-report-validation v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/fog/report/validation)
   Compiling mc-attest-enclave-api v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/attest/enclave-api)
   Compiling mc-transaction-std v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/transaction/std)
   Compiling mc-fog-report-validation-test-utils v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/fog/report/validation/test-utils)
   Compiling mc-fog-report-resolver v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/fog/report/resolver)
   Compiling mc-attest-api v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/attest/api)
   Compiling mc-sgx-report-cache-api v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/sgx/report-cache/api)
   Compiling mc-transaction-core-test-utils v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/transaction/core/test-utils)
   Compiling mc-consensus-enclave-api v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/consensus/enclave/api)
   Compiling mc-ledger-db v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/ledger/db)
   Compiling mc-api v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/api)
   Compiling mc-blockchain-test-utils v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/blockchain/test-utils)
   Compiling mc-ledger-migration v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/ledger/migration)
   Compiling mc-consensus-api v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/consensus/api)
   Compiling mc-fog-report-api v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/fog/report/api)
   Compiling mc-connection v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/connection)
   Compiling mc-mobilecoind-api v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/mobilecoind/api)
   Compiling mc-validator-api v1.0.0 (/Users/briancorbin/Programming/full-service/validator/api)
   Compiling mc-fog-report-connection v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/fog/report/connection)
   Compiling mc-ledger-sync v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/ledger/sync)
   Compiling mc-validator-connection v1.0.0 (/Users/briancorbin/Programming/full-service/validator/connection)
   Compiling mc-mobilecoind-json v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/mobilecoind-json)
   Compiling mc-watcher v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/watcher)
   Compiling mc-mobilecoind v2.0.0 (/Users/briancorbin/Programming/full-service/mobilecoin/mobilecoind)
   Compiling mc-validator-service v1.0.0 (/Users/briancorbin/Programming/full-service/validator/service)
   Compiling mc-transaction-signer v1.0.0 (/Users/briancorbin/Programming/full-service/transaction-signer)
    Finished dev [unoptimized + debuginfo] target(s) in 36.37s
github-actions[bot] commented 1 month ago

👋 This issue has been marked as stale because it has been open for 2 years with no activity. You can comment on the issue to hold stalebot off for a while, or do nothing. If you do nothing, this issue will be closed eventually by the stalebot. Please see CONTRIBUTING.md for more policy details.