Skip to content

Comments

Fix ARM CI#1195

Merged
richox merged 6 commits intoapache:masterfrom
cxzl25:arm_test
Aug 26, 2025
Merged

Fix ARM CI#1195
richox merged 6 commits intoapache:masterfrom
cxzl25:arm_test

Conversation

@cxzl25
Copy link
Contributor

@cxzl25 cxzl25 commented Aug 21, 2025

Which issue does this PR close?

Closes #.

Rationale for this change

rust-lang/rust@d25910e

What changes are included in this PR?

Are there any user-facing changes?

How was this patch tested?

@cxzl25 cxzl25 marked this pull request as draft August 21, 2025 05:54
@turboFei
Copy link
Member

Rationale for this change

Fix GA https://github.com/kwai/auron/actions/runs/17118722218/job/48554736768

[INFO] [main] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [main]     Updating crates.io index
[INFO] [main]     Checking auron-jni-bridge v0.1.0 (/home/runner/work/auron/auron/native-engine/auron-jni-bridge)
[INFO] [main]    Compiling auron-serde v0.1.0 (/home/runner/work/auron/auron/native-engine/auron-serde)
[INFO] [main]     Checking tikv-jemalloc-sys v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7
[INFO] [main]     Checking tikv-jemallocator v0.6.0
[INFO] [main]     Checking datafusion-ext-commons v0.1.0 (/home/runner/work/auron/auron/native-engine/datafusion-ext-commons)
[INFO] [main] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [main]    --> native-engine/datafusion-ext-commons/src/lib.rs:147:13
[INFO] [main]     |
[INFO] [main] 147 |               std::intrinsics::prefetch_read_data($e, locality)
[INFO] [main]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^     -------- unexpected argument #2 of type `{integer}`
[INFO] [main]     |
[INFO] [main]    ::: native-engine/datafusion-ext-commons/src/arrow/selection.rs:140:21
[INFO] [main]     |
[INFO] [main] 140 | /                     prefetch_read_data!({
[INFO] [main] 141 | |                         let array = interleaver.arrays.get_unchecked(prefetch_array_idx);
[INFO] [main] 142 | |                         let ptr = array
[INFO] [main] 143 | |                             .values()
[INFO] [main] 144 | |                             .get_unchecked(array.offset() + prefetch_value_idx);
[INFO] [main] 145 | |                         ptr
[INFO] [main] 146 | |                     });
[INFO] [main]     | |______________________- in this macro invocation
[INFO] [main]     |
[INFO] [main] note: function defined here
[INFO] [main]    --> /rustc/040a98af70f0a7da03f3d5356531b28a2a7a77e4/library/core/src/intrinsics/mod.rs:275:14
[INFO] [main]     = note: this error originates in the macro `prefetch_read_data` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [main] 
[INFO] [main] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [main]    --> native-engine/datafusion-ext-commons/src/lib.rs:147:13
[INFO] [main]     |
[INFO] [main] 147 |             std::intrinsics::prefetch_read_data($e, locality)
[INFO] [main]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^     -------- unexpected argument #2 of type `{integer}`
[INFO] [main]     |
[INFO] [main]    ::: native-engine/datafusion-ext-commons/src/arrow/selection.rs:222:21
[INFO] [main]     |
[INFO] [main] 222 |                     prefetch_read_data!(value_ptr.as_ptr()); // prefetch next while copying current
[INFO] [main]     |                     --------------------------------------- in this macro invocation
[INFO] [main]     |
[INFO] [main] note: function defined here
[INFO] [main]    --> /rustc/040a98af70f0a7da03f3d5356531b28a2a7a77e4/library/core/src/intrinsics/mod.rs:275:14
[INFO] [main]     = note: this error originates in the macro `prefetch_read_data` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [main] 
[INFO] [main] For more information about this error, try `rustc --explain E0061`.
[INFO] [main] error: could not compile `datafusion-ext-commons` (lib) due to 2 previous errors
[ERROR] Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 101 (Exit value: 101)
    at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
    at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:982)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:929)
    at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:452)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)

@cxzl25
Copy link
Contributor Author

cxzl25 commented Aug 21, 2025

rust-lang/rust@d25910e

cc @turboFei


- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jobs:
build-snapshot:
name: Build Auron on ${{ matrix.runner }}
name: Build ARM
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR

image

Master

image

@cxzl25 cxzl25 marked this pull request as ready for review August 21, 2025 13:35
@cxzl25 cxzl25 changed the title arm test name Fix ARM CI Aug 21, 2025
@cxzl25
Copy link
Contributor Author

cxzl25 commented Aug 25, 2025

@richox

@richox richox merged commit c5f7e5d into apache:master Aug 26, 2025
74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants