Skip to content

[TEST] Try out mimalloc v3.3.1#155575

Draft
Zoxc wants to merge 1 commit intorust-lang:mainfrom
Zoxc:mimalloc-v3
Draft

[TEST] Try out mimalloc v3.3.1#155575
Zoxc wants to merge 1 commit intorust-lang:mainfrom
Zoxc:mimalloc-v3

Conversation

@Zoxc
Copy link
Copy Markdown
Contributor

@Zoxc Zoxc commented Apr 20, 2026

No description provided.

@rustbot rustbot added A-tidy Area: The tidy tool S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Apr 20, 2026
@Zoxc
Copy link
Copy Markdown
Contributor Author

Zoxc commented Apr 21, 2026

@bors try @rust-timer queue

@rust-timer
Copy link
Copy Markdown
Collaborator

Awaiting bors try build completion.

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

@rust-bors

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Apr 21, 2026
rust-bors Bot pushed a commit that referenced this pull request Apr 21, 2026
[TEST] Try out mimalloc v3.3.0
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented Apr 21, 2026

💔 Test for c486bc1 failed: CI. Failed job:

@rust-log-analyzer

This comment has been minimized.

@Zoxc
Copy link
Copy Markdown
Contributor Author

Zoxc commented Apr 21, 2026

@bors try

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Apr 21, 2026
[TEST] Try out mimalloc v3.3.0
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented Apr 21, 2026

💔 Test for 4745446 failed: CI. Failed job:

@rust-log-analyzer

This comment has been minimized.

@Zoxc Zoxc changed the title [TEST] Try out mimalloc v3.3.0 [TEST] Try out mimalloc v3.3.1 Apr 28, 2026
@rust-log-analyzer
Copy link
Copy Markdown
Collaborator

The job x86_64-gnu-llvm-21 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
  local time: Tue Apr 28 12:10:28 UTC 2026
  network time: Tue, 28 Apr 2026 12:10:28 GMT
##[endgroup]
sccache: Starting the server...
sccache: error: Server startup failed: cache storage failed to read: ConfigInvalid (permanent) at read => S3Error { code: "NoSuchBucket", message: "The specified bucket does not exist", resource: "", request_id: "CPGKBJ781K7E58PF" }

Context:
   uri: https://s3.us-west-1.amazonaws.com/rust-lang-ci-sccache2/.sccache_check
   response: Parts { status: 404, version: HTTP/1.1, headers: {"x-amz-request-id": "CPGKBJ781K7E58PF", "x-amz-id-2": "yhwGhKGU9xrdqYPZX9TXLw8IbjewrZsHWNXFL29jbK02EXpMFTNDqByW6Ts+EyiKarJSoZQWEjE=", "content-type": "application/xml", "transfer-encoding": "chunked", "date": "Tue, 28 Apr 2026 12:10:27 GMT", "server": "AmazonS3"} }
   service: s3
   path: .sccache_check
   range: 0-

Backtrace:
---
[TIMING:end] compile::StdLink { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target_compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu, crates: [], force_recompile: false } -- 0.002
##[group]Building stage1 compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu)
error: process didn't exit successfully: `sccache /checkout/obj/build/bootstrap/debug/rustc -vV` (exit status: 2)
--- stderr
sccache: error: Server startup failed: cache storage failed to read: ConfigInvalid (permanent) at read => S3Error { code: "NoSuchBucket", message: "The specified bucket does not exist", resource: "", request_id: "QTZ71W6XGMEYRVX5" }

Context:
   uri: https://s3.us-west-1.amazonaws.com/rust-lang-ci-sccache2/.sccache_check
   response: Parts { status: 404, version: HTTP/1.1, headers: {"x-amz-request-id": "QTZ71W6XGMEYRVX5", "x-amz-id-2": "7umCB8KWYqGJaxpSXOXx4I5kJUbSGtnCC+vo7miqUhiaAPMh6aGrrBPSQ6EHAyBJpK1QAMcaqEY=", "content-type": "application/xml", "transfer-encoding": "chunked", "date": "Tue, 28 Apr 2026 12:11:07 GMT", "server": "AmazonS3"} }
   service: s3
   path: .sccache_check
   range: 0-

Backtrace:
---
  11: <unknown>
  12: <unknown>


Run with SCCACHE_LOG=debug SCCACHE_NO_DAEMON=1 to get more information

Bootstrap failed while executing `--stage 2 test tests/mir-opt --host= --target=i686-unknown-linux-gnu`
Build completed unsuccessfully in 0:00:07
  local time: Tue Apr 28 12:11:07 UTC 2026
  network time: Tue, 28 Apr 2026 12:11:07 GMT

@Zoxc
Copy link
Copy Markdown
Contributor Author

Zoxc commented Apr 28, 2026

@bors try

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Apr 28, 2026
[TEST] Try out mimalloc v3.3.1
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented Apr 28, 2026

💔 Test for e338d02 failed: CI. Failed job:

@rust-log-analyzer
Copy link
Copy Markdown
Collaborator

The job dist-x86_64-linux-quick failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
c1e54eec4b57: Pull complete
Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
Status: Downloaded newer image for ghcr.io/rust-lang/alpine:3.4
2fc8ebd9fb7b1d5033cca55b7009b9d8377992e3cc2cea9096ec751d2d06ddb8
[CI_JOB_NAME=dist-x86_64-linux-quick]
debug: `DISABLE_CI_RUSTC_IF_INCOMPATIBLE` configured.
---
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.50s
##[endgroup]
[2026-04-28T14:15:27.588Z INFO  opt_dist::timer] Section `Stage 1 (Rustc PGO)` starts
[2026-04-28T14:15:27.588Z INFO  opt_dist::timer] Section `Stage 1 (Rustc PGO) > Build PGO instrumented rustc and LLVM` starts
[2026-04-28T14:15:27.588Z INFO  opt_dist::exec] Executing `RUST_BACKTRACE=full python3 /checkout/x.py build --target x86_64-unknown-linux-gnu --host x86_64-unknown-linux-gnu --stage 2 library/std --set rust.llvm-bitcode-linker=false --set build.extended=false --set rust.codegen-backends=['llvm'] --set rust.deny-warnings=false --rust-profile-generate /tmp/tmp-multistage/opt-artifacts/rustc-pgo --set llvm.thin-lto=false --set llvm.link-shared=true [at /checkout/obj]`
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.06s
##[endgroup]
[TIMING:start] compile::Assemble { target_compiler: Compiler { stage: 2, host: x86_64-unknown-linux-gnu, forced_compiler: false } }
[TIMING:start] builder::Libdir { compiler: Compiler { stage: 2, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu }
---
[2026-04-28T14:40:38.457Z INFO  opt_dist::utils::io] Deleting directory `/tmp/tmp-multistage/opt-artifacts/rustc-pgo`
[2026-04-28T14:40:41.617Z INFO  opt_dist::timer] Section `Stage 1 (Rustc PGO) > Gather profiles` ended: OK (573.97s)`
[2026-04-28T14:40:41.617Z INFO  opt_dist::utils] Free disk space: 1.26 TiB out of total 2.50 TiB (49.61% used)
[2026-04-28T14:40:41.617Z INFO  opt_dist::timer] Section `Stage 1 (Rustc PGO) > Build PGO optimized rustc` starts
[2026-04-28T14:40:41.617Z INFO  opt_dist::exec] Executing `RUST_BACKTRACE=full python3 /checkout/x.py build --target x86_64-unknown-linux-gnu --host x86_64-unknown-linux-gnu --stage 2 library/std --set rust.llvm-bitcode-linker=false --set build.extended=false --set rust.codegen-backends=['llvm'] --set rust.deny-warnings=false --rust-profile-use /tmp/tmp-multistage/opt-artifacts/rustc-pgo.profdata --enable-bolt-settings [at /checkout/obj]`
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.25s
##[endgroup]
[TIMING:start] compile::Assemble { target_compiler: Compiler { stage: 2, host: x86_64-unknown-linux-gnu, forced_compiler: false } }
[TIMING:start] builder::Libdir { compiler: Compiler { stage: 2, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu }
---
[2026-04-28T14:45:55.337Z INFO  opt_dist::utils] Clearing LLVM build files
[2026-04-28T14:45:55.337Z INFO  opt_dist::utils::io] Deleting directory `/checkout/obj/build/x86_64-unknown-linux-gnu/llvm`
[2026-04-28T14:45:55.652Z INFO  opt_dist::utils::io] Deleting directory `/checkout/obj/build/x86_64-unknown-linux-gnu/lld`
[2026-04-28T14:45:55.662Z INFO  opt_dist::timer] Section `Stage 2 (LLVM PGO) > Build PGO instrumented LLVM` starts
[2026-04-28T14:45:55.662Z INFO  opt_dist::exec] Executing `LLVM_PROFILE_DIR=/tmp/tmp-multistage/opt-artifacts/llvm-pgo/prof-%p RUST_BACKTRACE=full python3 /checkout/x.py build --target x86_64-unknown-linux-gnu --host x86_64-unknown-linux-gnu --stage 2 library/std --set rust.llvm-bitcode-linker=false --set build.extended=false --set rust.codegen-backends=['llvm'] --set rust.deny-warnings=false --llvm-profile-generate --keep-stage 0 --keep-stage 1 [at /checkout/obj]`
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.07s
##[endgroup]
[TIMING:start] compile::Assemble { target_compiler: Compiler { stage: 2, host: x86_64-unknown-linux-gnu, forced_compiler: false } }
[TIMING:start] builder::Libdir { compiler: Compiler { stage: 2, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu }
---
     Running `target/debug/collector profile_local eprintln /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc --id Test --cargo /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo --profiles Debug,Opt --scenarios Full --exact-match syn-2.0.101,cargo-0.87.1,serde-1.0.219,ripgrep-14.1.1,regex-automata-0.4.8,clap_derive-4.5.32,hyper-1.6.0`
Running with 1 job(s)

thread 'main' (32234) panicked at collector/src/bin/collector.rs:835:27:
Cannot determine host target tuple. Please make a `rustc` binary available in PATH.: expected success, got signal: 11 (SIGSEGV) (core dumped)

stderr=

 stdout=

---
   7: std::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/sys/backtrace.rs:166:18
   8: std::rt::lang_start::<()>::{closure#0}
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/rt.rs:206:18
   9: <&dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe as core::ops::function::FnOnce<()>>::call_once
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/core/src/ops/function.rs:287:21
  10: std::panicking::catch_unwind::do_call::<&dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe, i32>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/panicking.rs:581:40
  11: std::panicking::catch_unwind::<i32, &dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/panicking.rs:544:19
  12: std::panic::catch_unwind::<&dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe, i32>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/panic.rs:359:14
  13: std::rt::lang_start_internal::{closure#0}
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/rt.rs:175:24
  14: std::panicking::catch_unwind::do_call::<std::rt::lang_start_internal::{closure#0}, isize>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/panicking.rs:581:40
---

Stack backtrace:
   0: <anyhow::Error>::msg::<alloc::string::String>
             at /rust/deps/anyhow-1.0.100/src/backtrace.rs:27:14
   1: <opt_dist::exec::CmdBuilder>::run
             at /rustc/e338d02da32142ea7fe27fff673237cd6dd7d0a0/src/tools/opt-dist/src/exec.rs:80:17
   2: opt_dist::training::gather_llvm_profiles::{closure#0}
             at /rustc/e338d02da32142ea7fe27fff673237cd6dd7d0a0/src/tools/opt-dist/src/training.rs:123:30
   3: opt_dist::utils::with_log_group::<opt_dist::training::gather_llvm_profiles::{closure#0}, core::result::Result<(), anyhow::Error>>
             at /rustc/e338d02da32142ea7fe27fff673237cd6dd7d0a0/src/tools/opt-dist/src/utils/mod.rs:68:22
   4: opt_dist::training::gather_llvm_profiles
             at /rustc/e338d02da32142ea7fe27fff673237cd6dd7d0a0/src/tools/opt-dist/src/training.rs:122:5
   5: opt_dist::execute_pipeline::{closure#2}::{closure#1}
             at /rustc/e338d02da32142ea7fe27fff673237cd6dd7d0a0/src/tools/opt-dist/src/main.rs:293:17
   6: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#2}::{closure#1}, opt_dist::training::LlvmPGOProfile>
             at /rustc/e338d02da32142ea7fe27fff673237cd6dd7d0a0/src/tools/opt-dist/src/timer.rs:111:22
   7: opt_dist::execute_pipeline::{closure#2}
             at /rustc/e338d02da32142ea7fe27fff673237cd6dd7d0a0/src/tools/opt-dist/src/main.rs:292:33
   8: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#2}, core::option::Option<opt_dist::training::LlvmPGOProfile>>
             at /rustc/e338d02da32142ea7fe27fff673237cd6dd7d0a0/src/tools/opt-dist/src/timer.rs:111:22
   9: opt_dist::execute_pipeline
             at /rustc/e338d02da32142ea7fe27fff673237cd6dd7d0a0/src/tools/opt-dist/src/main.rs:279:15
  10: opt_dist::main
             at /rustc/e338d02da32142ea7fe27fff673237cd6dd7d0a0/src/tools/opt-dist/src/main.rs:469:18
  11: <fn() -> core::result::Result<(), anyhow::Error> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/core/src/ops/function.rs:250:5
  12: std::sys::backtrace::__rust_begin_short_backtrace::<fn() -> core::result::Result<(), anyhow::Error>, core::result::Result<(), anyhow::Error>>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/sys/backtrace.rs:166:18
  13: std::rt::lang_start::<core::result::Result<(), anyhow::Error>>::{closure#0}
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/rt.rs:206:18
  14: <&dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe as core::ops::function::FnOnce<()>>::call_once
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/core/src/ops/function.rs:287:21
  15: std::panicking::catch_unwind::do_call::<&dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe, i32>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/panicking.rs:581:40
  16: std::panicking::catch_unwind::<i32, &dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/panicking.rs:544:19
  17: std::panic::catch_unwind::<&dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe, i32>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/panic.rs:359:14
  18: std::rt::lang_start_internal::{closure#0}
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/rt.rs:175:24
  19: std::panicking::catch_unwind::do_call::<std::rt::lang_start_internal::{closure#0}, isize>
             at /rustc/ef0fb8a2563200e322fa4419f09f65a63742038c/library/std/src/panicking.rs:581:40

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 S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. S-waiting-on-perf Status: Waiting on a perf run to be completed. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc 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