Skip to content

Get rid of easily removable uses of const_cast #338

Get rid of easily removable uses of const_cast

Get rid of easily removable uses of const_cast #338

Triggered via push November 8, 2024 07:41
Status Failure
Total duration 30m 18s
Artifacts

runner.yml

on: push
📊 Static checks  /  Code style, file formatting, and docs
22s
📊 Static checks / Code style, file formatting, and docs
Matrix: 🐧 Linux / build-linux
🍏 iOS  /  Template (target=template_release)
1m 47s
🍏 iOS / Template (target=template_release)
Matrix: 🤖 Android / build-android
Matrix: 🍎 macOS / build-macos
Matrix: 🌐 Web / web-template
Matrix: 🏁 Windows / build-windows
🪲 Godot CPP  /  Build and test Godot CPP
🪲 Godot CPP / Build and test Godot CPP
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 2 warnings
🐧 Linux / Minimal template (target=template_release, tests=yes, everything disabled): scene/resources/audio_stream_polyphonic.cpp#L293
invalid conversion from 'const AudioStreamPlaybackPolyphonic::Stream*' to 'AudioStreamPlaybackPolyphonic::Stream*' [-fpermissive]
🤖 Android / Template arm64 (target=template_release, arch=arm64)
Process completed with exit code 2.
🤖 Android / Template arm32 (target=template_release, arch=arm32)
Process completed with exit code 2.
🍏 iOS / Template (target=template_release)
Process completed with exit code 2.
🍎 macOS / Template (target=template_release, tests=yes)
Process completed with exit code 2.
🤖 Android / Editor (target=editor)
Process completed with exit code 2.
🍎 macOS / Editor (target=editor, tests=yes)
Process completed with exit code 2.
🐧 Linux / Editor with ThreadSanitizer (target=editor, tests=yes, dev_build=yes, use_tsan=yes, use_llvm=yes, linker=lld): scene/resources/audio_stream_polyphonic.cpp#L293
cannot initialize return object of type 'AudioStreamPlaybackPolyphonic::Stream *' with an rvalue of type 'const AudioStreamPlaybackPolyphonic::Stream *'
🐧 Linux / Editor w/ Mono (target=editor): scene/resources/audio_stream_polyphonic.cpp#L293
invalid conversion from 'const AudioStreamPlaybackPolyphonic::Stream*' to 'AudioStreamPlaybackPolyphonic::Stream*' [-fpermissive]
🐧 Linux / Editor w/ Mono (target=editor)
Process completed with exit code 2.
🌐 Web / Template w/ threads (target=template_release, threads=yes)
Process completed with exit code 2.
🌐 Web / Template w/o threads (target=template_release, threads=no)
Process completed with exit code 2.
🐧 Linux / Editor with clang sanitizers (target=editor, tests=yes, dev_build=yes, use_asan=yes, use_ubsan=yes, use_llvm=yes, linker=lld): scene/resources/audio_stream_polyphonic.cpp#L293
cannot initialize return object of type 'AudioStreamPlaybackPolyphonic::Stream *' with an rvalue of type 'const AudioStreamPlaybackPolyphonic::Stream *'
🐧 Linux / Template w/ Mono (target=template_release, tests=yes): scene/resources/audio_stream_polyphonic.cpp#L293
invalid conversion from 'const AudioStreamPlaybackPolyphonic::Stream*' to 'AudioStreamPlaybackPolyphonic::Stream*' [-fpermissive]
🐧 Linux / Template w/ Mono (target=template_release, tests=yes)
Process completed with exit code 2.
🏁 Windows / Editor w/ clang-cl (target=editor, tests=yes, use_llvm=yes)
Process completed with exit code 2.
🏁 Windows / Template (target=template_release, tests=yes): scene/resources/audio_stream_polyphonic.cpp#L293
'return': cannot convert from 'const T *' to 'AudioStreamPlaybackPolyphonic::Stream *'
🏁 Windows / Template (target=template_release, tests=yes)
Process completed with exit code 2.
🏁 Windows / Editor (target=editor, tests=yes): scene/resources/audio_stream_polyphonic.cpp#L293
'return': cannot convert from 'const T *' to 'AudioStreamPlaybackPolyphonic::Stream *'
🏁 Windows / Editor (target=editor, tests=yes)
Process completed with exit code 2.
🐧 Linux / Editor with doubles and GCC sanitizers (target=editor, tests=yes, dev_build=yes, scu_build=yes, precision=double, use_asan=yes, use_ubsan=yes, linker=gold): scene/resources/audio_stream_polyphonic.cpp#L293
invalid conversion from 'const AudioStreamPlaybackPolyphonic::Stream*' to 'AudioStreamPlaybackPolyphonic::Stream*' [-fpermissive]
🏁 Windows / Template w/ GCC (target=template_release, tests=yes, use_mingw=yes): scene/resources/audio_stream_polyphonic.cpp#L293
invalid conversion from 'const AudioStreamPlaybackPolyphonic::Stream*' to 'AudioStreamPlaybackPolyphonic::Stream*' [-fpermissive]
🏁 Windows / Template w/ GCC (target=template_release, tests=yes, use_mingw=yes)
Process completed with exit code 2.
🌐 Web / Template w/ threads (target=template_release, threads=yes)
No cached files found at path "/home/runner/work/godot/godot/emsdk-cache" - downloading and caching emsdk.
🌐 Web / Template w/o threads (target=template_release, threads=no)
No cached files found at path "/home/runner/work/godot/godot/emsdk-cache" - downloading and caching emsdk.