Skip to content

Run try builds on EC2 by default - #160427

Merged
rust-bors[bot] merged 2 commits into
rust-lang:mainfrom
Kobzol:try-builds-ec2
Aug 4, 2026
Merged

Run try builds on EC2 by default#160427
rust-bors[bot] merged 2 commits into
rust-lang:mainfrom
Kobzol:try-builds-ec2

Conversation

@Kobzol

@Kobzol Kobzol commented Aug 3, 2026

Copy link
Copy Markdown
Member

View all comments

This PR switches try builds to EC2 instances by default, while still giving us the option to do a try build on codebuild.

x64 Linux auto jobs are still using CodeBuild, for now.

This script can be used to test the configuration of the generated CI jobs locally:

#!/bin/bash

#export GITHUB_EVENT_NAME=pull_request
#export GITHUB_REF=refs/heads/pr/1
export GITHUB_EVENT_NAME=push
export GITHUB_REF=refs/heads/automation/bors/try
#export GITHUB_REF=refs/heads/automation/bors/auto

#export COMMIT_MESSAGE="try-job: dist-x86_64-linux-quick"
export COMMIT_MESSAGE="msg"
export GITHUB_RUN_ID=123
export GITHUB_RUN_ATTEMPT=1

cargo run --manifest-path src/ci/citool/Cargo.toml calculate-job-matrix

CI runs:

r? @Mark-Simulacrum

@rustbot

rustbot commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Warning

If you are changing how CI LLVM is built or linked, make sure to bump
src/bootstrap/download-ci-llvm-stamp.

cc @jieyouxu

@rustbot rustbot added A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc labels Aug 3, 2026
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Aug 3, 2026
@Kobzol

Kobzol commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

@bors try

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Aug 3, 2026
Run try builds on EC2 by default
@Kobzol

Kobzol commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

@rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Aug 3, 2026
@rust-bors

rust-bors Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: d1299d6 (d1299d6e2df0e918424d901c23a0b69b30ad18ee)
Base parent: 7c329d6 (7c329d6c76e11ca40c5673818ab0439c1be8962c)

@rust-timer

This comment has been minimized.

@Kobzol

Kobzol commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

@bors try jobs=dist-x86_64-linux-quick

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Aug 3, 2026
Run try builds on EC2 by default


try-job: dist-x86_64-linux-quick
@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (d1299d6): comparison URL.

Overall result: no relevant changes - no action needed

Benchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up.

@rustbot label: -S-waiting-on-perf -perf-regression

Instruction count

This perf run didn't have relevant results for this metric.

Max RSS (memory usage)

Results (primary -2.1%, secondary -2.8%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
0.4% [0.4%, 0.4%] 1
Regressions ❌
(secondary)
0.4% [0.4%, 0.4%] 1
Improvements ✅
(primary)
-4.7% [-4.7%, -4.7%] 1
Improvements ✅
(secondary)
-6.0% [-6.0%, -6.0%] 1
All ❌✅ (primary) -2.1% [-4.7%, 0.4%] 2

Cycles

Results (primary 0.4%, secondary 1.5%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
0.8% [0.4%, 2.2%] 11
Regressions ❌
(secondary)
2.1% [0.4%, 14.1%] 10
Improvements ✅
(primary)
-1.1% [-1.9%, -0.6%] 3
Improvements ✅
(secondary)
-1.0% [-1.0%, -1.0%] 2
All ❌✅ (primary) 0.4% [-1.9%, 2.2%] 14

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 491.018s -> 490.201s (-0.17%)
Artifact size: 390.29 MiB -> 390.25 MiB (-0.01%)

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Aug 3, 2026
@rust-bors

rust-bors Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 9dca935 (9dca9354afd837f19f58b8b433941b397ba817ed)
Base parent: 7c329d6 (7c329d6c76e11ca40c5673818ab0439c1be8962c)

@Kobzol

Kobzol commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

@bors try jobs=dist-x86_64-linux-quick-codebuild

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Aug 3, 2026
Run try builds on EC2 by default


try-job: dist-x86_64-linux-quick-codebuild
@rust-bors

rust-bors Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 46fa81a (46fa81ab42cbfc562da956c94cfe9dc63d360162)
Base parent: 7c329d6 (7c329d6c76e11ca40c5673818ab0439c1be8962c)

@Kobzol

Kobzol commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

@bors try jobs=dist-x86_64-linux

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Aug 3, 2026
Run try builds on EC2 by default


try-job: dist-x86_64-linux
@rust-bors

rust-bors Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 516e3a8 (516e3a8804edd7923844e9ea930117fa411d713b)
Base parent: 7c329d6 (7c329d6c76e11ca40c5673818ab0439c1be8962c)

@Kobzol

Kobzol commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

Okay, everything seems to work!

@Mark-Simulacrum

Copy link
Copy Markdown
Member

@bors r+ rollup=never

@rust-bors

rust-bors Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 86e039f has been approved by Mark-Simulacrum

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 Aug 3, 2026
@Mark-Simulacrum

Copy link
Copy Markdown
Member

@bors rollup

Actually, I guess it's totally fine to roll this up...

jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 4, 2026
…lacrum

Run try builds on EC2 by default

This PR switches try builds to EC2 instances by default, while still giving us the option to do a try build on codebuild.

x64 Linux auto jobs are still using CodeBuild, for now.

This script can be used to test the configuration of the generated CI jobs locally:

```bash
#!/bin/bash

#export GITHUB_EVENT_NAME=pull_request
#export GITHUB_REF=refs/heads/pr/1
export GITHUB_EVENT_NAME=push
export GITHUB_REF=refs/heads/automation/bors/try
#export GITHUB_REF=refs/heads/automation/bors/auto

#export COMMIT_MESSAGE="try-job: dist-x86_64-linux-quick"
export COMMIT_MESSAGE="msg"
export GITHUB_RUN_ID=123
export GITHUB_RUN_ATTEMPT=1

cargo run --manifest-path src/ci/citool/Cargo.toml calculate-job-matrix
```

CI runs:
- `@bors try` - rust-lang#160427 (comment) (59m)
- `@bors try jobs=dist-x86_64-linux-quick`: rust-lang#160427 (comment) (1h 32m)
- `@bors try jobs=dist-x86_64-linux-codebuild`: rust-lang#160427 (comment) (3h 6m)
- `@bors try jobs=dist-x86_64-linux`: rust-lang#160427 (comment) (3h 6m)

r? @Mark-Simulacrum
jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 4, 2026
…lacrum

Run try builds on EC2 by default

This PR switches try builds to EC2 instances by default, while still giving us the option to do a try build on codebuild.

x64 Linux auto jobs are still using CodeBuild, for now.

This script can be used to test the configuration of the generated CI jobs locally:

```bash
#!/bin/bash

#export GITHUB_EVENT_NAME=pull_request
#export GITHUB_REF=refs/heads/pr/1
export GITHUB_EVENT_NAME=push
export GITHUB_REF=refs/heads/automation/bors/try
#export GITHUB_REF=refs/heads/automation/bors/auto

#export COMMIT_MESSAGE="try-job: dist-x86_64-linux-quick"
export COMMIT_MESSAGE="msg"
export GITHUB_RUN_ID=123
export GITHUB_RUN_ATTEMPT=1

cargo run --manifest-path src/ci/citool/Cargo.toml calculate-job-matrix
```

CI runs:
- `@bors try` - rust-lang#160427 (comment) (59m)
- `@bors try jobs=dist-x86_64-linux-quick`: rust-lang#160427 (comment) (1h 32m)
- `@bors try jobs=dist-x86_64-linux-codebuild`: rust-lang#160427 (comment) (3h 6m)
- `@bors try jobs=dist-x86_64-linux`: rust-lang#160427 (comment) (3h 6m)

r? @Mark-Simulacrum
rust-bors Bot pushed a commit that referenced this pull request Aug 4, 2026
Rollup of 28 pull requests

Successful merges:

 - #153749 (Account for ownership mismatch on argument that doesn't meet bound)
 - #159130 (a bit optimize four-digit chunks in integer formatting)
 - #159326 (Deny multiple EII impls on a single item)
 - #159535 (Optimize slice::contains for bytewise types)
 - #159595 (Promote loongarch32-unknown-none* to Tier 2)
 - #160184 (Add -Zinstrument-mcount={fentry-nop-record,fentry-record})
 - #160320 (point at trait definition when it is used as a derive macro)
 - #160369 (When suggesting method names, prefer *exact* doc aliases over similar names)
 - #160406 (`DepKind` cleanups)
 - #160424 (Use `thread::available_parallelism` as the default limit for backend parallelism)
 - #159303 (Fix ICE for direct inline const generic defaults)
 - #159977 (Add regression test for bool indexing codegen)
 - #160011 (remove InterpError::map_err_info)
 - #160165 (reject `...` without pattern post-expansion)
 - #160172 (tests: Enable `feature(stmt_expr_attributes)` in `2229_closure_analysis` tests)
 - #160295 (Fix rustdoc ICE when checking if a generic arg can be elided)
 - #160305 (Linkify C-SKY targets in `platform-support.md`)
 - #160314 (fix borrowck ICE for consts with fn pointer type)
 - #160322 (ElaborateBoxDeref: remove unnecessary projection)
 - #160338 (Add regression test for supertrait associated type normalization through dyn)
 - #160340 (Add regression test for unused_parens on contract clauses)
 - #160371 (Add doc aliases for transpositions `read_exact_buf` and `read_exact_buf_at`)
 - #160384 (Add PR body notes for Cargo lock file maintenance)
 - #160412 (Move duplicate-names check for #[rustc_must_implement_one_of] to attribute parser)
 - #160427 (Run try builds on EC2 by default)
 - #160435 (bump tracing-tree)
 - #160449 (Fix lookup of object files)
 - #160477 (Update the tracking issue for `borrowed_buf_init`)
rust-bors Bot pushed a commit that referenced this pull request Aug 4, 2026
Rollup of 28 pull requests

Successful merges:

 - #153749 (Account for ownership mismatch on argument that doesn't meet bound)
 - #159130 (a bit optimize four-digit chunks in integer formatting)
 - #159326 (Deny multiple EII impls on a single item)
 - #159535 (Optimize slice::contains for bytewise types)
 - #159595 (Promote loongarch32-unknown-none* to Tier 2)
 - #160184 (Add -Zinstrument-mcount={fentry-nop-record,fentry-record})
 - #160320 (point at trait definition when it is used as a derive macro)
 - #160369 (When suggesting method names, prefer *exact* doc aliases over similar names)
 - #160406 (`DepKind` cleanups)
 - #160424 (Use `thread::available_parallelism` as the default limit for backend parallelism)
 - #159303 (Fix ICE for direct inline const generic defaults)
 - #159977 (Add regression test for bool indexing codegen)
 - #160011 (remove InterpError::map_err_info)
 - #160165 (reject `...` without pattern post-expansion)
 - #160172 (tests: Enable `feature(stmt_expr_attributes)` in `2229_closure_analysis` tests)
 - #160295 (Fix rustdoc ICE when checking if a generic arg can be elided)
 - #160305 (Linkify C-SKY targets in `platform-support.md`)
 - #160314 (fix borrowck ICE for consts with fn pointer type)
 - #160322 (ElaborateBoxDeref: remove unnecessary projection)
 - #160338 (Add regression test for supertrait associated type normalization through dyn)
 - #160340 (Add regression test for unused_parens on contract clauses)
 - #160371 (Add doc aliases for transpositions `read_exact_buf` and `read_exact_buf_at`)
 - #160384 (Add PR body notes for Cargo lock file maintenance)
 - #160412 (Move duplicate-names check for #[rustc_must_implement_one_of] to attribute parser)
 - #160427 (Run try builds on EC2 by default)
 - #160435 (bump tracing-tree)
 - #160449 (Fix lookup of object files)
 - #160477 (Update the tracking issue for `borrowed_buf_init`)
rust-bors Bot pushed a commit that referenced this pull request Aug 4, 2026
Rollup of 28 pull requests

Successful merges:

 - #153749 (Account for ownership mismatch on argument that doesn't meet bound)
 - #159130 (a bit optimize four-digit chunks in integer formatting)
 - #159326 (Deny multiple EII impls on a single item)
 - #159535 (Optimize slice::contains for bytewise types)
 - #159595 (Promote loongarch32-unknown-none* to Tier 2)
 - #160184 (Add -Zinstrument-mcount={fentry-nop-record,fentry-record})
 - #160320 (point at trait definition when it is used as a derive macro)
 - #160369 (When suggesting method names, prefer *exact* doc aliases over similar names)
 - #160406 (`DepKind` cleanups)
 - #160424 (Use `thread::available_parallelism` as the default limit for backend parallelism)
 - #159303 (Fix ICE for direct inline const generic defaults)
 - #159977 (Add regression test for bool indexing codegen)
 - #160011 (remove InterpError::map_err_info)
 - #160165 (reject `...` without pattern post-expansion)
 - #160172 (tests: Enable `feature(stmt_expr_attributes)` in `2229_closure_analysis` tests)
 - #160295 (Fix rustdoc ICE when checking if a generic arg can be elided)
 - #160305 (Linkify C-SKY targets in `platform-support.md`)
 - #160314 (fix borrowck ICE for consts with fn pointer type)
 - #160322 (ElaborateBoxDeref: remove unnecessary projection)
 - #160338 (Add regression test for supertrait associated type normalization through dyn)
 - #160340 (Add regression test for unused_parens on contract clauses)
 - #160371 (Add doc aliases for transpositions `read_exact_buf` and `read_exact_buf_at`)
 - #160384 (Add PR body notes for Cargo lock file maintenance)
 - #160412 (Move duplicate-names check for #[rustc_must_implement_one_of] to attribute parser)
 - #160427 (Run try builds on EC2 by default)
 - #160435 (bump tracing-tree)
 - #160449 (Fix lookup of object files)
 - #160477 (Update the tracking issue for `borrowed_buf_init`)
rust-bors Bot pushed a commit that referenced this pull request Aug 4, 2026
Rollup of 29 pull requests

Successful merges:

 - #153749 (Account for ownership mismatch on argument that doesn't meet bound)
 - #159130 (a bit optimize four-digit chunks in integer formatting)
 - #159326 (Deny multiple EII impls on a single item)
 - #159535 (Optimize slice::contains for bytewise types)
 - #159595 (Promote loongarch32-unknown-none* to Tier 2)
 - #160184 (Add -Zinstrument-mcount={fentry-nop-record,fentry-record})
 - #160320 (point at trait definition when it is used as a derive macro)
 - #160369 (When suggesting method names, prefer *exact* doc aliases over similar names)
 - #160406 (`DepKind` cleanups)
 - #160424 (Use `thread::available_parallelism` as the default limit for backend parallelism)
 - #160434 (Avoid Docker push when the image did not change)
 - #159303 (Fix ICE for direct inline const generic defaults)
 - #159977 (Add regression test for bool indexing codegen)
 - #160011 (remove InterpError::map_err_info)
 - #160165 (reject `...` without pattern post-expansion)
 - #160172 (tests: Enable `feature(stmt_expr_attributes)` in `2229_closure_analysis` tests)
 - #160295 (Fix rustdoc ICE when checking if a generic arg can be elided)
 - #160305 (Linkify C-SKY targets in `platform-support.md`)
 - #160314 (fix borrowck ICE for consts with fn pointer type)
 - #160322 (ElaborateBoxDeref: remove unnecessary projection)
 - #160338 (Add regression test for supertrait associated type normalization through dyn)
 - #160340 (Add regression test for unused_parens on contract clauses)
 - #160371 (Add doc aliases for transpositions `read_exact_buf` and `read_exact_buf_at`)
 - #160384 (Add PR body notes for Cargo lock file maintenance)
 - #160412 (Move duplicate-names check for #[rustc_must_implement_one_of] to attribute parser)
 - #160427 (Run try builds on EC2 by default)
 - #160435 (bump tracing-tree)
 - #160449 (Fix lookup of object files)
 - #160477 (Update the tracking issue for `borrowed_buf_init`)
@rust-bors
rust-bors Bot merged commit b74fcad into rust-lang:main Aug 4, 2026
14 checks passed
@rustbot rustbot added this to the 1.99.0 milestone Aug 4, 2026
@Kobzol
Kobzol deleted the try-builds-ec2 branch August 4, 2026 12:40
rust-timer added a commit that referenced this pull request Aug 4, 2026
Rollup merge of #160427 - Kobzol:try-builds-ec2, r=Mark-Simulacrum

Run try builds on EC2 by default

This PR switches try builds to EC2 instances by default, while still giving us the option to do a try build on codebuild.

x64 Linux auto jobs are still using CodeBuild, for now.

This script can be used to test the configuration of the generated CI jobs locally:

```bash
#!/bin/bash

#export GITHUB_EVENT_NAME=pull_request
#export GITHUB_REF=refs/heads/pr/1
export GITHUB_EVENT_NAME=push
export GITHUB_REF=refs/heads/automation/bors/try
#export GITHUB_REF=refs/heads/automation/bors/auto

#export COMMIT_MESSAGE="try-job: dist-x86_64-linux-quick"
export COMMIT_MESSAGE="msg"
export GITHUB_RUN_ID=123
export GITHUB_RUN_ATTEMPT=1

cargo run --manifest-path src/ci/citool/Cargo.toml calculate-job-matrix
```

CI runs:
- `@bors try` - #160427 (comment) (59m)
- `@bors try jobs=dist-x86_64-linux-quick`: #160427 (comment) (1h 32m)
- `@bors try jobs=dist-x86_64-linux-codebuild`: #160427 (comment) (3h 6m)
- `@bors try jobs=dist-x86_64-linux`: #160427 (comment) (3h 6m)

r? @Mark-Simulacrum
WhySoBad pushed a commit to WhySoBad/miri that referenced this pull request Aug 5, 2026
Run try builds on EC2 by default

This PR switches try builds to EC2 instances by default, while still giving us the option to do a try build on codebuild.

x64 Linux auto jobs are still using CodeBuild, for now.

This script can be used to test the configuration of the generated CI jobs locally:

```bash
#!/bin/bash

#export GITHUB_EVENT_NAME=pull_request
#export GITHUB_REF=refs/heads/pr/1
export GITHUB_EVENT_NAME=push
export GITHUB_REF=refs/heads/automation/bors/try
#export GITHUB_REF=refs/heads/automation/bors/auto

#export COMMIT_MESSAGE="try-job: dist-x86_64-linux-quick"
export COMMIT_MESSAGE="msg"
export GITHUB_RUN_ID=123
export GITHUB_RUN_ATTEMPT=1

cargo run --manifest-path src/ci/citool/Cargo.toml calculate-job-matrix
```

CI runs:
- `@bors try` - rust-lang/rust#160427 (comment) (59m)
- `@bors try jobs=dist-x86_64-linux-quick`: rust-lang/rust#160427 (comment) (1h 32m)
- `@bors try jobs=dist-x86_64-linux-codebuild`: rust-lang/rust#160427 (comment) (3h 6m)
- `@bors try jobs=dist-x86_64-linux`: rust-lang/rust#160427 (comment) (3h 6m)

r? @Mark-Simulacrum
WhySoBad pushed a commit to WhySoBad/miri that referenced this pull request Aug 5, 2026
Rollup of 29 pull requests

Successful merges:

 - rust-lang/rust#153749 (Account for ownership mismatch on argument that doesn't meet bound)
 - rust-lang/rust#159130 (a bit optimize four-digit chunks in integer formatting)
 - rust-lang/rust#159326 (Deny multiple EII impls on a single item)
 - rust-lang/rust#159535 (Optimize slice::contains for bytewise types)
 - rust-lang/rust#159595 (Promote loongarch32-unknown-none* to Tier 2)
 - rust-lang/rust#160184 (Add -Zinstrument-mcount={fentry-nop-record,fentry-record})
 - rust-lang/rust#160320 (point at trait definition when it is used as a derive macro)
 - rust-lang/rust#160369 (When suggesting method names, prefer *exact* doc aliases over similar names)
 - rust-lang/rust#160406 (`DepKind` cleanups)
 - rust-lang/rust#160424 (Use `thread::available_parallelism` as the default limit for backend parallelism)
 - rust-lang/rust#160434 (Avoid Docker push when the image did not change)
 - rust-lang/rust#159303 (Fix ICE for direct inline const generic defaults)
 - rust-lang/rust#159977 (Add regression test for bool indexing codegen)
 - rust-lang/rust#160011 (remove InterpError::map_err_info)
 - rust-lang/rust#160165 (reject `...` without pattern post-expansion)
 - rust-lang/rust#160172 (tests: Enable `feature(stmt_expr_attributes)` in `2229_closure_analysis` tests)
 - rust-lang/rust#160295 (Fix rustdoc ICE when checking if a generic arg can be elided)
 - rust-lang/rust#160305 (Linkify C-SKY targets in `platform-support.md`)
 - rust-lang/rust#160314 (fix borrowck ICE for consts with fn pointer type)
 - rust-lang/rust#160322 (ElaborateBoxDeref: remove unnecessary projection)
 - rust-lang/rust#160338 (Add regression test for supertrait associated type normalization through dyn)
 - rust-lang/rust#160340 (Add regression test for unused_parens on contract clauses)
 - rust-lang/rust#160371 (Add doc aliases for transpositions `read_exact_buf` and `read_exact_buf_at`)
 - rust-lang/rust#160384 (Add PR body notes for Cargo lock file maintenance)
 - rust-lang/rust#160412 (Move duplicate-names check for #[rustc_must_implement_one_of] to attribute parser)
 - rust-lang/rust#160427 (Run try builds on EC2 by default)
 - rust-lang/rust#160435 (bump tracing-tree)
 - rust-lang/rust#160449 (Fix lookup of object files)
 - rust-lang/rust#160477 (Update the tracking issue for `borrowed_buf_init`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants