Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert: Add *_value methods to proc_macro lib #138661

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

RalfJung
Copy link
Member

This reverts #136355. That PR caused unexpected breakage:

  • the rustc-dev component can no longer be loaded by cargo, which impacts Miri and clippy and likely others
  • rustc_lexer can no longer be published to crates.io, which impacts RA

See #138647 for context.
Cc @GuillaumeGomez @Amanieu

…add_value_retrieval_methods, r=Amanieu"

This reverts commit 08dfbf4, reversing
changes made to 10bcdad.
@rustbot
Copy link
Collaborator

rustbot commented Mar 18, 2025

r? @petrochenkov

rustbot has assigned @petrochenkov.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added A-tidy Area: The tidy tool S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Mar 18, 2025
@rustbot
Copy link
Collaborator

rustbot commented Mar 18, 2025

These commits modify the Cargo.lock file. Unintentional changes to Cargo.lock can be introduced when switching branches and rebasing PRs.

If this was unintentional then you should revert the changes before this PR is merged.
Otherwise, you can ignore this comment.

These commits modify the library/Cargo.lock file. Unintentional changes to library/Cargo.lock can be introduced when switching branches and rebasing PRs.

If this was unintentional then you should revert the changes before this PR is merged.
Otherwise, you can ignore this comment.

The list of allowed third-party dependencies may have been modified! You must ensure that any new dependencies have compatible licenses before merging.

cc @davidtwco, @wesleywiser

@petrochenkov
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Mar 18, 2025

📌 Commit 20d04d8 has been approved by petrochenkov

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 18, 2025
@RalfJung
Copy link
Member Author

@bors p=1

bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 18, 2025
…r=petrochenkov

Revert: Add *_value methods to proc_macro lib

This reverts rust-lang#136355. That PR caused unexpected breakage:
- the rustc-dev component can no longer be loaded by cargo, which impacts Miri and clippy and likely others
- rustc_lexer can no longer be published to crates.io, which impacts RA

See rust-lang#138647 for context.
Cc `@GuillaumeGomez` `@Amanieu`
@bors
Copy link
Contributor

bors commented Mar 18, 2025

⌛ Testing commit 20d04d8 with merge 411634c...

@rust-log-analyzer
Copy link
Collaborator

The job x86_64-fuchsia failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/libc-tests /checkout/obj/fuchsia/third_party/libc-tests' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/libc-tests'...
remote: RESOURCE_EXHAUSTED: Resource has been exhausted (e.g. check quota)
remote: [type.googleapis.com/google.rpc.QuotaFailure]
remote: violations {
remote:   subject: "ip/4.156.152.128"
remote:   description: "Short term server-time rate limit exceeded"
remote: }
remote: 
remote: [type.googleapis.com/google.rpc.RequestInfo]
remote: request_id: "e01863feb7484a8bacb06f36c24f4650"
fatal: unable to access 'https://fuchsia.googlesource.com/libc-tests/': The requested URL returned error: 429

command fail error: exit status 128

[14:07:21.282] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/libc-tests

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/github.com/intel/libva /checkout/obj/fuchsia/third_party/intel/libva' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/intel/libva'...
error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
fatal: expected flush after ref listing

command fail error: exit status 128

[14:07:24.262] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/github.com/intel/libva

ERROR: 'git clone --no-checkout --filter=blob:none https://llvm.googlesource.com/llvm-project/libc /checkout/obj/fuchsia/third_party/llvm-libc/src' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/llvm-libc/src'...
remote: RESOURCE_EXHAUSTED: Resource has been exhausted (e.g. check quota)
remote: [type.googleapis.com/google.rpc.QuotaFailure]
remote: violations {
remote:   subject: "ip/4.156.152.128"
remote:   description: "Short term server-time rate limit exceeded"
remote: }
remote: 
remote: [type.googleapis.com/google.rpc.RequestInfo]
remote: request_id: "509a1d66a61e41a480adc7c0bf875b6a"
fatal: unable to access 'https://llvm.googlesource.com/llvm-project/libc/': The requested URL returned error: 429

command fail error: exit status 128

[14:07:24.874] Wait for 1m4s before next attempt...: Cloning https://llvm.googlesource.com/llvm-project/libc

[14:07:26.448] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/fuchsia-infra-bazel-rules

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/fuchsia-infra-bazel-rules /checkout/obj/fuchsia/third_party/fuchsia-infra-bazel-rules/src' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/fuchsia-infra-bazel-rules/src'...
error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
fatal: expected flush after ref listing

command fail error: exit status 128

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/gitlab.com/drj11/pypng /checkout/obj/fuchsia/third_party/pypng/src' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/pypng/src'...
remote: RESOURCE_EXHAUSTED: Resource has been exhausted (e.g. check quota)
remote: [type.googleapis.com/google.rpc.QuotaFailure]
remote: violations {
remote:   subject: "ip/4.156.152.128"
remote:   description: "Short term server-time rate limit exceeded"
remote: }
remote: 
remote: [type.googleapis.com/google.rpc.RequestInfo]
remote: request_id: "637e1b57b2d54fe7a2033e597af31931"
fatal: unable to access 'https://fuchsia.googlesource.com/third_party/gitlab.com/drj11/pypng/': The requested URL returned error: 429

command fail error: exit status 128

[14:07:29.035] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/gitlab.com/drj11/pypng

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/github.com/tartley/colorama /checkout/obj/fuchsia/third_party/colorama/colorama' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/colorama/colorama'...
error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
fatal: expected flush after ref listing

command fail error: exit status 128

[14:07:29.455] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/github.com/tartley/colorama

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/dart-pkg /checkout/obj/fuchsia/third_party/dart-pkg/pub' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/dart-pkg/pub'...
error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
fatal: expected flush after ref listing

command fail error: exit status 128

[14:07:29.570] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/dart-pkg

[14:07:31.731] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/openssl-ecjpake

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/openssl-ecjpake /checkout/obj/fuchsia/third_party/openssl-ecjpake/src' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/openssl-ecjpake/src'...
remote: RESOURCE_EXHAUSTED: Resource has been exhausted (e.g. check quota)
remote: [type.googleapis.com/google.rpc.QuotaFailure]
remote: violations {
remote:   subject: "ip/4.156.152.128"
remote:   description: "Short term server-time rate limit exceeded"
remote: }
remote: 
remote: [type.googleapis.com/google.rpc.RequestInfo]
remote: request_id: "3338d42308ad4ec384b5278ea7da0706"
fatal: unable to access 'https://fuchsia.googlesource.com/third_party/openssl-ecjpake/': The requested URL returned error: 429

command fail error: exit status 128

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/github.com/ARM-software/HWCPipe /checkout/obj/fuchsia/third_party/github.com/ARM-software/HWCPipe' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/github.com/ARM-software/HWCPipe'...
error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
fatal: expected flush after ref listing

command fail error: exit status 128

[14:08:10.904] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/github.com/ARM-software/HWCPipe

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/github.com/jd/tenacity /checkout/obj/fuchsia/third_party/github.com/jd/tenacity/src' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/github.com/jd/tenacity/src'...
error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
fatal: expected flush after ref listing

command fail error: exit status 128

[14:08:18.636] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/github.com/jd/tenacity

[14:08:25.283] Attempt 2/3: Cloning https://fuchsia.googlesource.com/libc-tests

[14:08:28.263] Attempt 2/3: Cloning https://fuchsia.googlesource.com/third_party/github.com/intel/libva

[14:08:28.368] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/github.com/intel/libva

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/github.com/intel/libva /checkout/obj/fuchsia/third_party/intel/libva' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/intel/libva'...
error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
fatal: expected flush after ref listing

command fail error: exit status 128

[14:08:28.874] Attempt 2/3: Cloning https://llvm.googlesource.com/llvm-project/libc

ERROR: 'git clone --no-checkout --filter=blob:none https://llvm.googlesource.com/llvm-project/libc /checkout/obj/fuchsia/third_party/llvm-libc/src' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/llvm-libc/src'...
error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
fatal: error reading section header 'shallow-info'

command fail error: exit status 128

[14:08:29.069] Wait for 1m4s before next attempt...: Cloning https://llvm.googlesource.com/llvm-project/libc

[14:08:30.449] Attempt 2/3: Cloning https://fuchsia.googlesource.com/fuchsia-infra-bazel-rules

[14:08:30.578] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/fuchsia-infra-bazel-rules

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/fuchsia-infra-bazel-rules /checkout/obj/fuchsia/third_party/fuchsia-infra-bazel-rules/src' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/fuchsia-infra-bazel-rules/src'...
error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
fatal: expected flush after ref listing

command fail error: exit status 128

[14:08:33.035] Attempt 2/3: Cloning https://fuchsia.googlesource.com/third_party/gitlab.com/drj11/pypng

[14:08:33.159] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/gitlab.com/drj11/pypng

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/gitlab.com/drj11/pypng /checkout/obj/fuchsia/third_party/pypng/src' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/pypng/src'...
error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
---
[14:08:35.732] Attempt 2/3: Cloning https://fuchsia.googlesource.com/third_party/openssl-ecjpake

[14:09:14.905] Attempt 2/3: Cloning https://fuchsia.googlesource.com/third_party/github.com/ARM-software/HWCPipe

[14:09:22.637] Attempt 2/3: Cloning https://fuchsia.googlesource.com/third_party/github.com/jd/tenacity

[14:09:32.368] Attempt 3/3: Cloning https://fuchsia.googlesource.com/third_party/github.com/intel/libva

[14:09:33.069] Attempt 3/3: Cloning https://llvm.googlesource.com/llvm-project/libc

[14:09:34.579] Attempt 3/3: Cloning https://fuchsia.googlesource.com/fuchsia-infra-bazel-rules

[14:09:37.160] Attempt 3/3: Cloning https://fuchsia.googlesource.com/third_party/gitlab.com/drj11/pypng

[14:42:43.064] Jiri packages are not fetched due to fatal errors when updating projects.
[14:42:43.064] Jiri hooks are not run due to fatal errors when updating projects or packages
ERROR: Creating project "third_party/intel/libva": "Cloning https://fuchsia.googlesource.com/third_party/github.com/intel/libva" failed 3 times in a row, Last error: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/github.com/intel/libva /checkout/obj/fuchsia/third_party/intel/libva' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/intel/libva'...
error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
fatal: expected flush after ref listing

command fail error: exit status 128
Creating project "third_party/fuchsia-infra-bazel-rules": "Cloning https://fuchsia.googlesource.com/fuchsia-infra-bazel-rules" failed 3 times in a row, Last error: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/fuchsia-infra-bazel-rules /checkout/obj/fuchsia/third_party/fuchsia-infra-bazel-rules/src' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/fuchsia-infra-bazel-rules/src'...
error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
fatal: expected flush after ref listing

command fail error: exit status 128
  local time: Tue Mar 18 14:42:43 UTC 2025

For more information how to resolve CI failures of this job, visit this link.

@bors
Copy link
Contributor

bors commented Mar 18, 2025

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Mar 18, 2025
@RalfJung
Copy link
Member Author

RalfJung commented Mar 18, 2025

@bors retry Fuchsia networking issue
Cc @erickt

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 18, 2025
@bors
Copy link
Contributor

bors commented Mar 18, 2025

⌛ Testing commit 20d04d8 with merge 2fba8a0...

bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 18, 2025
…r=petrochenkov

Revert: Add *_value methods to proc_macro lib

This reverts rust-lang#136355. That PR caused unexpected breakage:
- the rustc-dev component can no longer be loaded by cargo, which impacts Miri and clippy and likely others
- rustc_lexer can no longer be published to crates.io, which impacts RA

See rust-lang#138647 for context.
Cc `@GuillaumeGomez` `@Amanieu`
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-fuchsia failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
+ .jiri_root/bin/jiri import -name=integration -revision=f6f83d3e3852209f7752be55694006afbe979e50 -overwrite=true flower https://fuchsia.googlesource.com/integration
+ '[' -d .git ']'
+ .jiri_root/bin/jiri update -autoupdate=false
[17:21:56.184] Updating all projects
ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/openssl-ecjpake /checkout/obj/fuchsia/third_party/openssl-ecjpake/src' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/openssl-ecjpake/src'...
error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
fatal: expected flush after ref listing

command fail error: exit status 128

[17:23:38.850] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/openssl-ecjpake

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/github.com/PyCQA/mccabe /checkout/obj/fuchsia/third_party/pylibs/mccabe/src' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/pylibs/mccabe/src'...
error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
fatal: error reading section header 'shallow-info'

command fail error: exit status 128

[17:23:44.008] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/github.com/PyCQA/mccabe

[17:23:45.510] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/android.googlesource.com/platform/hardware/google/aemu

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/android.googlesource.com/platform/hardware/google/aemu /checkout/obj/fuchsia/third_party/gfxstream/aemu/src' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/gfxstream/aemu/src'...
error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
fatal: expected flush after ref listing

command fail error: exit status 128

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/github.com/google/serde_json5 /checkout/obj/fuchsia/third_party/rust_crates/mirrors/serde_json5' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/rust_crates/mirrors/serde_json5'...
remote: RESOURCE_EXHAUSTED: Resource has been exhausted (e.g. check quota)
remote: [type.googleapis.com/google.rpc.QuotaFailure]
remote: violations {
remote:   subject: "ip/4.156.155.160"
remote:   description: "Short term server-time rate limit exceeded"
remote: }
remote: 
remote: [type.googleapis.com/google.rpc.RequestInfo]
remote: request_id: "bce2b2766ba948eba34bb6dbbe0ea2d1"
fatal: unable to access 'https://fuchsia.googlesource.com/third_party/github.com/google/serde_json5/': The requested URL returned error: 429

command fail error: exit status 128

[17:23:45.936] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/github.com/google/serde_json5

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/github.com/ARM-software/HWCPipe /checkout/obj/fuchsia/third_party/github.com/ARM-software/HWCPipe' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/github.com/ARM-software/HWCPipe'...
remote: RESOURCE_EXHAUSTED: Resource has been exhausted (e.g. check quota)
remote: [type.googleapis.com/google.rpc.QuotaFailure]
remote: violations {
remote:   subject: "ip/4.156.155.160"
remote:   description: "Short term server-time rate limit exceeded"
remote: }
remote: 
remote: [type.googleapis.com/google.rpc.RequestInfo]
remote: request_id: "b1a2227709564c64b644df0aeb19678c"
fatal: unable to access 'https://fuchsia.googlesource.com/third_party/github.com/ARM-software/HWCPipe/': The requested URL returned error: 429

command fail error: exit status 128

[17:23:46.879] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/github.com/ARM-software/HWCPipe

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/shac-project/checks-go /checkout/obj/fuchsia/third_party/shac-project/checks-go/src' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/shac-project/checks-go/src'...
remote: RESOURCE_EXHAUSTED: Resource has been exhausted (e.g. check quota)
remote: [type.googleapis.com/google.rpc.QuotaFailure]
remote: violations {
remote:   subject: "ip/4.156.155.160"
remote:   description: "Short term server-time rate limit exceeded"
remote: }
remote: 
remote: [type.googleapis.com/google.rpc.RequestInfo]
remote: request_id: "a58c5388067841c9bfd8aa23b74e045d"
fatal: unable to access 'https://fuchsia.googlesource.com/shac-project/checks-go/': The requested URL returned error: 429

command fail error: exit status 128

[17:23:48.734] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/shac-project/checks-go

---
ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/android.googlesource.com/platform/system/logging /checkout/obj/fuchsia/third_party/android/platform/system/logging' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/android/platform/system/logging'...
remote: RESOURCE_EXHAUSTED: Resource has been exhausted (e.g. check quota)
remote: [type.googleapis.com/google.rpc.QuotaFailure]
remote: violations {
remote:   subject: "ip/4.156.155.160"
remote:   description: "Short term server-time rate limit exceeded"
remote: }
remote: 
remote: [type.googleapis.com/google.rpc.RequestInfo]
remote: request_id: "d4cf98c972ec4061b99a9c47a1fc1a1f"
fatal: unable to access 'https://fuchsia.googlesource.com/third_party/android.googlesource.com/platform/system/logging/': The requested URL returned error: 429

command fail error: exit status 128

[17:23:52.311] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/android.googlesource.com/platform/system/logging

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/github.com/google/bt-test-interfaces /checkout/obj/fuchsia/third_party/github.com/google/bt-test-interfaces/src' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/github.com/google/bt-test-interfaces/src'...
remote: RESOURCE_EXHAUSTED: Resource has been exhausted (e.g. check quota)
remote: [type.googleapis.com/google.rpc.QuotaFailure]
remote: violations {
remote:   subject: "ip/4.156.155.160"
remote:   description: "Short term server-time rate limit exceeded"
remote: }
remote: 
remote: [type.googleapis.com/google.rpc.RequestInfo]
remote: request_id: "6edc51a210fb45ada50443e1d21c08de"
fatal: unable to access 'https://fuchsia.googlesource.com/third_party/github.com/google/bt-test-interfaces/': The requested URL returned error: 429

command fail error: exit status 128

[17:23:52.680] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/github.com/google/bt-test-interfaces

[17:23:57.078] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/android/platform/system/tools/aidl

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/android/platform/system/tools/aidl /checkout/obj/fuchsia/third_party/android/platform/system/tools/aidl' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/android/platform/system/tools/aidl'...
error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
---
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/android/platform/packages/modules/Bluetooth/src'...
remote: RESOURCE_EXHAUSTED: Resource has been exhausted (e.g. check quota)
remote: [type.googleapis.com/google.rpc.QuotaFailure]
remote: violations {
remote:   subject: "ip/4.156.155.160"
remote:   description: "Short term server-time rate limit exceeded"
remote: }
remote: 
remote: [type.googleapis.com/google.rpc.RequestInfo]
remote: request_id: "a9697b54aa6544578b496cf95a4dedaf"
fatal: unable to access 'https://fuchsia.googlesource.com/third_party/android.googlesource.com/platform/packages/modules/Bluetooth/': The requested URL returned error: 429

command fail error: exit status 128

[17:23:57.764] Wait for 1m4s before next attempt...: Cloning https://fuchsia.googlesource.com/third_party/android.googlesource.com/platform/packages/modules/Bluetooth

[17:24:42.851] Attempt 2/3: Cloning https://fuchsia.googlesource.com/third_party/openssl-ecjpake

[17:24:48.008] Attempt 2/3: Cloning https://fuchsia.googlesource.com/third_party/github.com/PyCQA/mccabe

[17:24:49.511] Attempt 2/3: Cloning https://fuchsia.googlesource.com/third_party/android.googlesource.com/platform/hardware/google/aemu

[17:24:49.936] Attempt 2/3: Cloning https://fuchsia.googlesource.com/third_party/github.com/google/serde_json5

---
[17:25:01.078] Attempt 2/3: Cloning https://fuchsia.googlesource.com/third_party/android/platform/system/tools/aidl

[17:25:01.764] Attempt 2/3: Cloning https://fuchsia.googlesource.com/third_party/android.googlesource.com/platform/packages/modules/Bluetooth

[17:53:33.997] WARN: Projects with local changes and/or not on JIRI_HEAD:
third_party/pylibs/tomlkit (third_party/pylibs/tomlkit/src): (Has changes)
third_party/go (third_party/go): (Has changes)
third_party/pylibs/typing_extensions (third_party/pylibs/typing_extensions/src): (Has changes)
third_party/pylibs/dill (third_party/pylibs/dill/src): (Has changes)
third_party/android/platform/system/bt (third_party/android/platform/system/bt): (Has changes)
third_party/pylibs/platformdirs (third_party/pylibs/platformdirs/src): (Has changes)
third_party/pylibs/isort (third_party/pylibs/isort/src): (Has changes)

To force an update to JIRI_HEAD, you may run 'jiri runp git checkout JIRI_HEAD'
[17:54:28.139] WARN: Some packages are skipped by cipd due to lack of access, you might want to run "/checkout/obj/fuchsia/.jiri_root/bin/cipd auth-login" and try again
++ git -C integration rev-parse HEAD
+ echo integration commit = f6f83d3e3852209f7752be55694006afbe979e50
integration commit = f6f83d3e3852209f7752be55694006afbe979e50
+ bash scripts/rust/build_fuchsia_from_rust_ci.sh
---
You will receive this warning until an option is selected.
To check what data we collect, run `fx metrics`
To opt in or out, run `fx metrics <enable|disable>

ERROR at //build/compiled_action.gni:152:17: Can't load input file.
      deps += [ host_tool ]
                ^--------
Unable to load:
  /checkout/obj/fuchsia/third_party/go/makeroot/BUILD.gn
I also checked in the secondary tree for:
  /checkout/obj/fuchsia/build/secondary/third_party/go/makeroot/BUILD.gn

For more information how to resolve CI failures of this job, visit this link.

@bors
Copy link
Contributor

bors commented Mar 18, 2025

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Mar 18, 2025
@RalfJung
Copy link
Member Author

RalfJung commented Mar 18, 2025

@rustbot ping fuchsia
This is the second fuchsia error in a row. In a PR that's just a revert, so this kind of has to be spurious, right? No PR landed since ~6h ago so seems like CI might just be broken by the fuchsia job right now?

@bors retry odd fuchsia error

@rustbot rustbot added the O-fuchsia Operating system: Fuchsia label Mar 18, 2025
@rustbot
Copy link
Collaborator

rustbot commented Mar 18, 2025

Hey friends of Fuchsia! This issue could use some guidance on how this should be
resolved/implemented on Fuchsia. Could one of you weigh in?

cc @erickt @Nashenas88 @P1n3appl3

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 18, 2025
@Nashenas88
Copy link
Contributor

Taking a look now.

@Nashenas88
Copy link
Contributor

I'm seeing a few rate limit errors by the googlesource.com servers during the checkout phase. One example:

ERROR: 'git clone --no-checkout --filter=blob:none https://fuchsia.googlesource.com/third_party/github.com/google/serde_json5 /checkout/obj/fuchsia/third_party/rust_crates/mirrors/serde_json5' failed:
stdout:

stderr:
Cloning into '/checkout/obj/fuchsia/third_party/rust_crates/mirrors/serde_json5'...
remote: RESOURCE_EXHAUSTED: Resource has been exhausted (e.g. check quota)
remote: [type.googleapis.com/google.rpc.QuotaFailure]
remote: violations {
remote:   subject: "ip/4.156.155.160"
remote:   description: "Short term server-time rate limit exceeded"
remote: }
remote: 
remote: [type.googleapis.com/google.rpc.RequestInfo]
remote: request_id: "bce2b2766ba948eba34bb6dbbe0ea2d1"
fatal: unable to access 'https://fuchsia.googlesource.com/third_party/github.com/google/serde_json5/': The requested URL returned error: 429

There are retries and that seems to complete successfully. Strangely, jiri reports that some of the directories have local changes:

[17:53:33.997] WARN: Projects with local changes and/or not on JIRI_HEAD:
third_party/pylibs/tomlkit (third_party/pylibs/tomlkit/src): (Has changes)
third_party/go (third_party/go): (Has changes)
third_party/pylibs/typing_extensions (third_party/pylibs/typing_extensions/src): (Has changes)
third_party/pylibs/dill (third_party/pylibs/dill/src): (Has changes)
third_party/android/platform/system/bt (third_party/android/platform/system/bt): (Has changes)
third_party/pylibs/platformdirs (third_party/pylibs/platformdirs/src): (Has changes)
third_party/pylibs/isort (third_party/pylibs/isort/src): (Has changes)

This is surprising to me. Is the bootstrapping done on an existing checkout somehow?

It then fails on an fx set ... call due to missing files:

ERROR at //build/compiled_action.gni:152:17: Can't load input file.
      deps += [ host_tool ]
                ^--------
Unable to load:
  /checkout/obj/fuchsia/third_party/go/makeroot/BUILD.gn
I also checked in the secondary tree for:
  /checkout/obj/fuchsia/build/secondary/third_party/go/makeroot/BUILD.gn
ERROR: error running "/checkout/obj/fuchsia/build/regenerator": exit status 1

The file itself does exist when visiting https://cs.opensource.google/fuchsia/fuchsia/+/af693ced69d47dd4cff7c9e43b4a79ed584cf7f7:third_party/go/makeroot/BUILD.gn

The missing file lines up with one of the directories jiri reported as having local changes: third_party/go (third_party/go): (Has changes), but not with one of the ones reporting a 429 error.

@Kobzol
Copy link
Contributor

Kobzol commented Mar 18, 2025

The build runs inside Docker, which has a bound volume to a clean checkout of the PR commit being tested. We hopefully shouldn't be modifying the Fuchsia sources in any way. Maybe it's the second cause (missing in HEAD?)?

@Nashenas88
Copy link
Contributor

It exists in HEAD as well https://cs.opensource.google/fuchsia/fuchsia/+/HEAD:third_party/go/makeroot/BUILD.gn, but I checked the revision that was logged.

I'm also not able to repro on a fresh local checkout following the same steps. I've reached out to a few folks internally. I'm not sure if I'll hear back from them before I have to head out for the day.

If this issue is sporadic, I'd recommend retrying until we can find a solution.

@RalfJung
Copy link
Member Author

Please use a dedicated issue and not a random PR for discussing problems like this. I made one for you: #138691.

bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 19, 2025
…iaskrgr

Rollup of 10 pull requests

Successful merges:

 - rust-lang#136177 (clarify BufRead::{fill_buf, consume} docs)
 - rust-lang#138654 (Remove the regex dependency from coretests)
 - rust-lang#138655 (rustc-dev-guide sync)
 - rust-lang#138656 (Remove double nesting in post-merge workflow)
 - rust-lang#138658 (CI: mirror alpine and centos images to ghcr)
 - rust-lang#138659 (coverage: Don't store a body span in `FunctionCoverageInfo`)
 - rust-lang#138661 (Revert: Add *_value methods to proc_macro lib)
 - rust-lang#138670 (Remove existing AFIDT implementation)
 - rust-lang#138674 (Various codegen_llvm cleanups)
 - rust-lang#138684 (use then in docs for `fuse` to enhance readability)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 8b713e2 into rust-lang:master Mar 19, 2025
6 of 7 checks passed
@rustbot rustbot added this to the 1.87.0 milestone Mar 19, 2025
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Mar 19, 2025
Rollup merge of rust-lang#138661 - RalfJung:revert-rustc-dev-breakage, r=petrochenkov

Revert: Add *_value methods to proc_macro lib

This reverts rust-lang#136355. That PR caused unexpected breakage:
- the rustc-dev component can no longer be loaded by cargo, which impacts Miri and clippy and likely others
- rustc_lexer can no longer be published to crates.io, which impacts RA

See rust-lang#138647 for context.
Cc `@GuillaumeGomez` `@Amanieu`
@bors
Copy link
Contributor

bors commented Mar 19, 2025

⌛ Testing commit 20d04d8 with merge a7fc463...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tidy Area: The tidy tool O-fuchsia Operating system: Fuchsia S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants