[package - 132amd64-default][misc/py-polars] Failed for py39-polars-0.18.15 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 01 Nov 2023 11:36:00 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     yuri@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy16/data/132amd64-default/06585ace75c2/logs/py39-polars-0.18.15.log
Build URL:      https://pkg-status.freebsd.org/beefy16/build.html?mastername=132amd64-default&build=06585ace75c2
Log:

=>> Building misc/py-polars
build started at Wed Nov  1 11:27:45 UTC 2023
port directory: /usr/ports/misc/py-polars
package name: py39-polars-0.18.15
building for: FreeBSD 132amd64-default-job-09 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 amd64
maintained by: yuri@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1500000
Jail OSVERSION: 1302001
Job Id: 09

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE-p4
UNAME_r=13.2-RELEASE-p4
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/132amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/132amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=132amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/132amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=py39
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=py39
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/misc/py-polars/work-py39  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/py-polars/work-py39  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/py-polars/work-py39/.cache  HOME=/wrkdirs/usr/ports/misc/py-polars/work-py39 TMPDIR="/wrkdirs/usr/ports/misc/py-polars/work-py39" PATH=/wrkdirs/usr/ports/misc/py-polars/work-py39/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/py-polars/work-py39/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/misc/py-polars/work-py39  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/py-polars/work-py39  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/py-polars/work-py39/.cache  HOME=/wrkdirs/usr/ports/misc/py-polars/work-py39 TMPDIR="/wrkdirs/usr/ports/misc/py-polars/work-py39" PATH=/wrkdirs/usr/ports/misc/py-polars/work-py39/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/py-polars/work-py39/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -
s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/polars"  EXAMPLESDIR="share/examples/polars"  DATADIR="share/polars"  WWWDIR="www/polars"  ETCDIR="etc/polars"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/polars DOCSDIR=/usr/local/share/doc/polars EXAMPLESDIR=/usr/local/share/examples/polars  WWWDIR=/usr/local/www/polars ETCDIR=/usr/local/etc/polars
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: x86_64-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: x86_64-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: x86_64-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=13.2-RELEASE-p4
OSREL=13.2
OSVERSION=1302001
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   py39-polars-0.18.15 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.8.pkg
[132amd64-default-job-09] Installing pkg-1.20.8...
[132amd64-default-job-09] Extracting pkg-1.20.8: .......... done
===>   py39-polars-0.18.15 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py39-polars-0.18.15
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by py39-polars-0.18.15 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by py39-polars-0.18.15 for building
=> SHA256 Checksum OK for rust/crates/addr2line-0.20.0.crate.
=> SHA256 Checksum OK for rust/crates/adler-1.0.2.crate.
=> SHA256 Checksum OK for rust/crates/adler32-1.2.0.crate.
=> SHA256 Checksum OK for rust/crates/ahash-0.8.3.crate.
=> SHA256 Checksum OK for rust/crates/aho-corasick-1.0.2.crate.
=> SHA256 Checksum OK for rust/crates/alloc-no-stdlib-2.0.4.crate.
=> SHA256 Checksum OK for rust/crates/alloc-stdlib-0.2.2.crate.
=> SHA256 Checksum OK for rust/crates/allocator-api2-0.2.16.crate.
=> SHA256 Checksum OK for rust/crates/android-tzdata-0.1.1.crate.
=> SHA256 Checksum OK for rust/crates/android_system_properties-0.1.5.crate.
=> SHA256 Checksum OK for rust/crates/argminmax-0.6.1.crate.
=> SHA256 Checksum OK for rust/crates/array-init-cursor-0.2.0.crate.
=> SHA256 Checksum OK for rust/crates/arrow-format-0.8.1.crate.
=> SHA256 Checksum OK for rust/crates/arrow2-0.17.4.crate.
=> SHA256 Checksum OK for rust/crates/async-stream-0.3.5.crate.
=> SHA256 Checksum OK for rust/crates/async-stream-impl-0.3.5.crate.
=> SHA256 Checksum OK for rust/crates/async-trait-0.1.72.crate.
=> SHA256 Checksum OK for rust/crates/atoi-2.0.0.crate.
=> SHA256 Checksum OK for rust/crates/autocfg-1.1.0.crate.
=> SHA256 Checksum OK for rust/crates/avro-schema-0.3.0.crate.
=> SHA256 Checksum OK for rust/crates/backtrace-0.3.68.crate.
=> SHA256 Checksum OK for rust/crates/base64-0.21.2.crate.
=> SHA256 Checksum OK for rust/crates/bitflags-1.3.2.crate.
=> SHA256 Checksum OK for rust/crates/bitflags-2.3.3.crate.
=> SHA256 Checksum OK for rust/crates/brotli-3.3.4.crate.
=> SHA256 Checksum OK for rust/crates/brotli-decompressor-2.3.4.crate.
=> SHA256 Checksum OK for rust/crates/built-0.6.1.crate.
=> SHA256 Checksum OK for rust/crates/bumpalo-3.13.0.crate.
=> SHA256 Checksum OK for rust/crates/bytemuck-1.13.1.crate.
=> SHA256 Checksum OK for rust/crates/bytemuck_derive-1.4.1.crate.
=> SHA256 Checksum OK for rust/crates/bytes-1.4.0.crate.
<snip>
   Compiling sysinfo v0.29.7
   Compiling polars-arrow v0.32.0 (/wrkdirs/usr/ports/misc/py-polars/work-py39/polars-py-0.18.15/crates/polars-arrow)
   Compiling regex v1.9.3
   Compiling rawpointer v0.2.1
   Compiling zstd-sys v2.0.8+zstd.1.5.5
   Compiling lz4-sys v1.9.4
   Compiling ppv-lite86 v0.2.17
   Compiling heck v0.4.1
   Compiling signal-hook-mio v0.2.3
   Compiling bitflags v1.3.2
   Compiling crossterm v0.26.1
   Compiling polars-core v0.32.0 (/wrkdirs/usr/ports/misc/py-polars/work-py39/polars-py-0.18.15/crates/polars-core)
   Compiling unicode-width v0.1.10
   Compiling strum v0.24.1
   Compiling parse-zoneinfo v0.3.0
   Compiling polars-ops v0.32.0 (/wrkdirs/usr/ports/misc/py-polars/work-py39/polars-py-0.18.15/crates/polars-ops)
   Compiling xxhash-rust v0.8.6
   Compiling rand_chacha v0.3.1
   Compiling itoap v1.0.1
   Compiling tinyvec_macros v0.1.1
   Compiling float-cmp v0.9.0
   Compiling num-complex v0.4.3
   Compiling atoi v2.0.0
   Compiling chrono-tz-build v0.2.0
   Compiling argminmax v0.6.1
   Compiling vcpkg v0.2.15
   Compiling hex v0.4.3
   Compiling tinyvec v1.6.0
   Compiling socket2 v0.5.3
   Compiling inventory v0.3.11
   Compiling unindent v0.1.11
   Compiling half v1.8.2
   Compiling indoc v1.0.9
   Compiling ciborium-io v0.2.1
   Compiling lexical v6.1.1
   Compiling rand_distr v0.4.3
   Compiling ciborium-ll v0.2.1
   Compiling tokio v1.30.0
   Compiling memmap2 v0.7.1
   Compiling polars-plan v0.32.0 (/wrkdirs/usr/ports/misc/py-polars/work-py39/polars-py-0.18.15/crates/polars-plan)
   Compiling percent-encoding v2.3.0
   Compiling hashbrown v0.14.0
   Compiling fast-float v0.2.0
   Compiling unicode-bidi v0.3.13
   Compiling crossbeam-queue v0.3.8
   Compiling home v0.5.5
   Compiling chrono-tz v0.8.3
   Compiling bytes v1.4.0
   Compiling form_urlencoded v1.2.0
   Compiling libgit2-sys v0.15.2+1.6.4
   Compiling ndarray v0.15.6
   Compiling unicode-normalization v0.1.22
   Compiling polars-pipe v0.32.0 (/wrkdirs/usr/ports/misc/py-polars/work-py39/polars-py-0.18.15/crates/polars-pipe)
   Compiling winnow v0.5.4
   Compiling polars-lazy v0.32.0 (/wrkdirs/usr/ports/misc/py-polars/work-py39/polars-py-0.18.15/crates/polars-lazy)
   Compiling libz-sys v1.1.12
   Compiling indexmap v2.0.0
   Compiling glob v0.3.1
   Compiling pyo3-ffi v0.19.2
   Compiling pyo3-macros-backend v0.19.2
   Compiling pyo3 v0.19.2
   Compiling idna v0.4.0
   Compiling libmimalloc-sys v0.1.33
   Compiling sqlparser v0.36.1
   Compiling polars v0.32.0 (/wrkdirs/usr/ports/misc/py-polars/work-py39/polars-py-0.18.15/crates/polars)
   Compiling rustc-hash v1.1.0
   Compiling pyo3-built v0.4.7
   Compiling url v2.4.0
   Compiling chrono v0.4.26
   Compiling serde_derive v1.0.183
   Compiling futures-macro v0.3.28
   Compiling async-stream-impl v0.3.5
   Compiling bytemuck_derive v1.4.1
   Compiling thiserror-impl v1.0.44
   Compiling multiversion-macros v0.7.3
   Compiling strum_macros v0.24.3
   Compiling strum_macros v0.25.2
   Compiling enum_dispatch v0.3.12
   Compiling async-stream v0.3.5
   Compiling mimalloc v0.1.37
   Compiling bytemuck v1.13.1
   Compiling pyo3-macros v0.19.2
   Compiling lz4 v1.24.0
   Compiling multiversion v0.7.3
   Compiling comfy-table v7.0.1
   Compiling futures-executor v0.3.28
   Compiling futures v0.3.28
   Compiling parquet-format-safe v0.2.4
   Compiling numpy v0.19.0
   Compiling zstd v0.12.4
   Compiling toml_datetime v0.6.3
   Compiling serde_spanned v0.6.3
   Compiling toml_edit v0.19.14
   Compiling git2 v0.17.2
   Compiling rustc_version v0.4.0
   Compiling arrow-format v0.8.1
   Compiling halfbrown v0.2.4
   Compiling bitflags v2.3.3
   Compiling ciborium v0.2.1
   Compiling arrow2 v0.17.4
   Compiling value-trait v0.6.1
   Compiling parquet2 v0.17.2
   Compiling now v0.1.3
   Compiling toml v0.7.6
   Compiling avro-schema v0.3.0
   Compiling simd-json v0.10.0 (/wrkdirs/usr/ports/misc/py-polars/work-py39/simd-json-946b316f686c6ad3050f694ea434248c38aa321d)
   Compiling cargo-lock v9.0.0
   Compiling built v0.6.1
   Compiling py-polars v0.18.15 (/wrkdirs/usr/ports/misc/py-polars/work-py39/polars-py-0.18.15/py-polars)
   Compiling jsonpath_lib v0.3.0 (/wrkdirs/usr/ports/misc/py-polars/work-py39/jsonpath-24eaf0b4416edff38a4d1b6b17bc4b9f3f047b4b)
warning: field `err` is never read
   --> /wrkdirs/usr/ports/misc/py-polars/work-py39/jsonpath-24eaf0b4416edff38a4d1b6b17bc4b9f3f047b4b/src/paths/tokenizer.rs:249:5
    |
246 | pub(super) struct TokenReader<'a> {
    |                   ----------- field in this struct
...
249 |     err: Option<TokenError>,
    |     ^^^
    |
    = note: `TokenReader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
    = note: `#[warn(dead_code)]` on by default

warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing
  --> /wrkdirs/usr/ports/misc/py-polars/work-py39/jsonpath-24eaf0b4416edff38a4d1b6b17bc4b9f3f047b4b/src/ffi/mod.rs:39:5
   |
39 |     std::mem::forget(ref_node);
   |     ^^^^^^^^^^^^^^^^^--------^
   |                      |
   |                      argument has type `*mut parser::Node`
   |
   = note: use `let _ = ...` to ignore the expression or result
   = note: `#[warn(forgetting_copy_types)]` on by default

warning: `jsonpath_lib` (lib) generated 2 warnings
   Compiling polars-error v0.32.0 (/wrkdirs/usr/ports/misc/py-polars/work-py39/polars-py-0.18.15/crates/polars-error)
   Compiling polars-row v0.32.0 (/wrkdirs/usr/ports/misc/py-polars/work-py39/polars-py-0.18.15/crates/polars-row)
   Compiling polars-json v0.32.0 (/wrkdirs/usr/ports/misc/py-polars/work-py39/polars-py-0.18.15/crates/polars-json)
error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
   --> /wrkdirs/usr/ports/misc/py-polars/work-py39/polars-py-0.18.15/crates/polars-core/src/chunked_array/ops/rolling_window.rs:120:29
    |
96  |               let ptr = array_ptr.as_ref() as *const dyn Array as *mut dyn Array
    |  _______________________-
97  | |                 as *mut PrimitiveArray<T::Native>;
    | |_________________________________________________- casting happend here
...
120 |                               *ptr = arr_window;
    |                               ^^^^^^^^^^^^^^^^^
    |
    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
    = note: `#[deny(invalid_reference_casting)]` on by default

error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
   --> /wrkdirs/usr/ports/misc/py-polars/work-py39/polars-py-0.18.15/crates/polars-core/src/chunked_array/ops/rolling_window.rs:167:29
    |
96  |               let ptr = array_ptr.as_ref() as *const dyn Array as *mut dyn Array
    |  _______________________-
97  | |                 as *mut PrimitiveArray<T::Native>;
    | |_________________________________________________- casting happend here
...
167 |                               *ptr = arr_window;
    |                               ^^^^^^^^^^^^^^^^^
    |
    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>

error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
   --> /wrkdirs/usr/ports/misc/py-polars/work-py39/polars-py-0.18.15/crates/polars-core/src/chunked_array/ops/rolling_window.rs:225:21
    |
205 |               let ptr = array_ptr.as_ref() as *const dyn Array as *mut dyn Array
    |  _______________________-
206 | |                 as *mut PrimitiveArray<T::Native>;
    | |_________________________________________________- casting happend here
...
225 |                       *ptr = arr_window;
    |                       ^^^^^^^^^^^^^^^^^
    |
    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>

error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
   --> /wrkdirs/usr/ports/misc/py-polars/work-py39/polars-py-0.18.15/crates/polars-core/src/series/mod.rs:193:9
    |
190 |         let chunks = ca.chunks() as *const Vec<ArrayRef> as *mut Vec<ArrayRef>;
    |                      --------------------------------------------------------- casting happend here
...
193 |         &mut *chunks
    |         ^^^^^^^^^^^^
    |
    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>

error: could not compile `polars-core` (lib) due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
💥 maturin failed
  Caused by: Failed to build a native library through cargo
  Caused by: Cargo build finished with "exit status: 101": `PYO3_ENVIRONMENT_SIGNATURE="cpython-3.9-64bit" PYO3_PYTHON="/usr/local/bin/python3.9" PYTHON_SYS_EXECUTABLE="/usr/local/bin/python3.9" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--manifest-path" "/wrkdirs/usr/ports/misc/py-polars/work-py39/polars-py-0.18.15/py-polars/Cargo.toml" "--release" "--lib"`
Error: command ['maturin-3.9', 'pep517', 'build-wheel', '-i', '/usr/local/bin/python3.9', '--compatibility', 'off'] returned non-zero exit status 1

ERROR Backend subprocess exited when trying to invoke build_wheel
*** Error code 1

Stop.
make: stopped in /usr/ports/misc/py-polars