[INFO] cloning repository https://github.com/yamoling/lle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yamoling/lle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamoling%2Flle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamoling%2Flle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2427b3a9f1ec12bd055028d1342628eb4c6bde7 [INFO] checking yamoling/lle against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamoling%2Flle" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yamoling/lle on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yamoling/lle [INFO] finished tweaking git repo https://github.com/yamoling/lle [INFO] tweaked toml for git repo https://github.com/yamoling/lle written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 141 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros v0.21.1 [INFO] [stderr] Downloaded pyo3-build-config v0.21.1 [INFO] [stderr] Downloaded pyo3-macros-backend v0.21.1 [INFO] [stderr] Downloaded numpy v0.21.0 [INFO] [stderr] Downloaded pyo3-ffi v0.21.1 [INFO] [stderr] Downloaded pyo3 v0.21.1 [INFO] [stderr] Downloaded image v0.25.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d6d9e3395fad0d4dcd926b3ee98f3aee73d47a4a2980d23e9dbb4c15cf15cfd [INFO] running `Command { std: "docker" "start" "-a" "9d6d9e3395fad0d4dcd926b3ee98f3aee73d47a4a2980d23e9dbb4c15cf15cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d6d9e3395fad0d4dcd926b3ee98f3aee73d47a4a2980d23e9dbb4c15cf15cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d6d9e3395fad0d4dcd926b3ee98f3aee73d47a4a2980d23e9dbb4c15cf15cfd", kill_on_drop: false }` [INFO] [stdout] 9d6d9e3395fad0d4dcd926b3ee98f3aee73d47a4a2980d23e9dbb4c15cf15cfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f38fdf228f6cb4e84e9206bc4b66bfa5dc8604c44fb53f34db9c3c118148ce2 [INFO] running `Command { std: "docker" "start" "-a" "9f38fdf228f6cb4e84e9206bc4b66bfa5dc8604c44fb53f34db9c3c118148ce2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling pyo3-build-config v0.21.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling winnow v0.6.5 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling pyo3-ffi v0.21.1 [INFO] [stderr] Compiling pyo3 v0.21.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking bitstream-io v2.2.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling toml_edit v0.22.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling lle v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Compiling pyo3-macros v0.21.1 [INFO] [stderr] error: failed to run custom build command for `lle v0.2.2 (/opt/rustwide/workdir)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/lle-27cdb8ae04bbe167/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] Before: { [INFO] [stderr] "build-system": Table( [INFO] [stderr] { [INFO] [stderr] "build-backend": String( [INFO] [stderr] "maturin", [INFO] [stderr] ), [INFO] [stderr] "requires": Array( [INFO] [stderr] [ [INFO] [stderr] String( [INFO] [stderr] "maturin>=1.1,<2.0", [INFO] [stderr] ), [INFO] [stderr] ], [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] "project": Table( [INFO] [stderr] { [INFO] [stderr] "classifiers": Array( [INFO] [stderr] [ [INFO] [stderr] String( [INFO] [stderr] "Programming Language :: Rust", [INFO] [stderr] ), [INFO] [stderr] String( [INFO] [stderr] "Programming Language :: Python :: 3", [INFO] [stderr] ), [INFO] [stderr] ], [INFO] [stderr] ), [INFO] [stderr] "description": String( [INFO] [stderr] "A fast Multi-Agent Reinforcement Learning Environment", [INFO] [stderr] ), [INFO] [stderr] "name": String( [INFO] [stderr] "laser-learning-environment", [INFO] [stderr] ), [INFO] [stderr] "readme": String( [INFO] [stderr] "readme.md", [INFO] [stderr] ), [INFO] [stderr] "requires-python": String( [INFO] [stderr] ">=3.10,<4.0", [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] "tool": Table( [INFO] [stderr] { [INFO] [stderr] "maturin": Table( [INFO] [stderr] { [INFO] [stderr] "features": Array( [INFO] [stderr] [ [INFO] [stderr] String( [INFO] [stderr] "pyo3/extension-module", [INFO] [stderr] ), [INFO] [stderr] ], [INFO] [stderr] ), [INFO] [stderr] "python-source": String( [INFO] [stderr] "python", [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] "poetry": Table( [INFO] [stderr] { [INFO] [stderr] "authors": Array( [INFO] [stderr] [ [INFO] [stderr] String( [INFO] [stderr] "Yannick Molinghen ", [INFO] [stderr] ), [INFO] [stderr] ], [INFO] [stderr] ), [INFO] [stderr] "dependencies": Table( [INFO] [stderr] { [INFO] [stderr] "numpy": String( [INFO] [stderr] "^1.25.0", [INFO] [stderr] ), [INFO] [stderr] "opencv-python": String( [INFO] [stderr] "^4.8.1.78", [INFO] [stderr] ), [INFO] [stderr] "pyserde": String( [INFO] [stderr] "^0.12.3", [INFO] [stderr] ), [INFO] [stderr] "python": String( [INFO] [stderr] ">=3.10,<3.13", [INFO] [stderr] ), [INFO] [stderr] "rlenv": Table( [INFO] [stderr] { [INFO] [stderr] "branch": String( [INFO] [stderr] "main", [INFO] [stderr] ), [INFO] [stderr] "git": String( [INFO] [stderr] "https://github.com/yamoling/rlenv.git", [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] "description": String( [INFO] [stderr] "Laser Learning Environment (LLE) for Multi-Agent Reinforcement Learning", [INFO] [stderr] ), [INFO] [stderr] "group": Table( [INFO] [stderr] { [INFO] [stderr] "dev": Table( [INFO] [stderr] { [INFO] [stderr] "dependencies": Table( [INFO] [stderr] { [INFO] [stderr] "ipykernel": String( [INFO] [stderr] "^6.26.0", [INFO] [stderr] ), [INFO] [stderr] "maturin": String( [INFO] [stderr] "^1.1.0", [INFO] [stderr] ), [INFO] [stderr] "mypy": String( [INFO] [stderr] "^1.5.1", [INFO] [stderr] ), [INFO] [stderr] "pytest": String( [INFO] [stderr] "^7.4.0", [INFO] [stderr] ), [INFO] [stderr] "pytest-xdist": String( [INFO] [stderr] "^3.4.0", [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] "name": String( [INFO] [stderr] "lle", [INFO] [stderr] ), [INFO] [stderr] "readme": String( [INFO] [stderr] "readme.md", [INFO] [stderr] ), [INFO] [stderr] "version": String( [INFO] [stderr] "0.2.2", [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] "pylint": Table( [INFO] [stderr] { [INFO] [stderr] "format": Table( [INFO] [stderr] { [INFO] [stderr] "max-line-length": Integer( [INFO] [stderr] 140, [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] "pytest": Table( [INFO] [stderr] { [INFO] [stderr] "ini_options": Table( [INFO] [stderr] { [INFO] [stderr] "addopts": String( [INFO] [stderr] "-n 2", [INFO] [stderr] ), [INFO] [stderr] "pythonpath": Array( [INFO] [stderr] [ [INFO] [stderr] String( [INFO] [stderr] "python", [INFO] [stderr] ), [INFO] [stderr] ], [INFO] [stderr] ), [INFO] [stderr] "testpaths": Array( [INFO] [stderr] [ [INFO] [stderr] String( [INFO] [stderr] "python/tests", [INFO] [stderr] ), [INFO] [stderr] ], [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] "ruff": Table( [INFO] [stderr] { [INFO] [stderr] "line-length": Integer( [INFO] [stderr] 140, [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] } [INFO] [stderr] After: { [INFO] [stderr] "build-system": Table( [INFO] [stderr] { [INFO] [stderr] "build-backend": String( [INFO] [stderr] "maturin", [INFO] [stderr] ), [INFO] [stderr] "requires": Array( [INFO] [stderr] [ [INFO] [stderr] String( [INFO] [stderr] "maturin>=1.1,<2.0", [INFO] [stderr] ), [INFO] [stderr] ], [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] "project": Table( [INFO] [stderr] { [INFO] [stderr] "classifiers": Array( [INFO] [stderr] [ [INFO] [stderr] String( [INFO] [stderr] "Programming Language :: Rust", [INFO] [stderr] ), [INFO] [stderr] String( [INFO] [stderr] "Programming Language :: Python :: 3", [INFO] [stderr] ), [INFO] [stderr] ], [INFO] [stderr] ), [INFO] [stderr] "description": String( [INFO] [stderr] "A fast Multi-Agent Reinforcement Learning Environment", [INFO] [stderr] ), [INFO] [stderr] "name": String( [INFO] [stderr] "laser-learning-environment", [INFO] [stderr] ), [INFO] [stderr] "readme": String( [INFO] [stderr] "readme.md", [INFO] [stderr] ), [INFO] [stderr] "requires-python": String( [INFO] [stderr] ">=3.10,<4.0", [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] "tool": Table( [INFO] [stderr] { [INFO] [stderr] "maturin": Table( [INFO] [stderr] { [INFO] [stderr] "features": Array( [INFO] [stderr] [ [INFO] [stderr] String( [INFO] [stderr] "pyo3/extension-module", [INFO] [stderr] ), [INFO] [stderr] ], [INFO] [stderr] ), [INFO] [stderr] "python-source": String( [INFO] [stderr] "python", [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] "poetry": Table( [INFO] [stderr] { [INFO] [stderr] "authors": Array( [INFO] [stderr] [ [INFO] [stderr] String( [INFO] [stderr] "Yannick Molinghen ", [INFO] [stderr] ), [INFO] [stderr] ], [INFO] [stderr] ), [INFO] [stderr] "dependencies": Table( [INFO] [stderr] { [INFO] [stderr] "numpy": String( [INFO] [stderr] "^1.25.0", [INFO] [stderr] ), [INFO] [stderr] "opencv-python": String( [INFO] [stderr] "^4.8.1.78", [INFO] [stderr] ), [INFO] [stderr] "pyserde": String( [INFO] [stderr] "^0.12.3", [INFO] [stderr] ), [INFO] [stderr] "python": String( [INFO] [stderr] ">=3.10,<3.13", [INFO] [stderr] ), [INFO] [stderr] "rlenv": Table( [INFO] [stderr] { [INFO] [stderr] "branch": String( [INFO] [stderr] "main", [INFO] [stderr] ), [INFO] [stderr] "git": String( [INFO] [stderr] "https://github.com/yamoling/rlenv.git", [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] "description": String( [INFO] [stderr] "Laser Learning Environment (LLE) for Multi-Agent Reinforcement Learning", [INFO] [stderr] ), [INFO] [stderr] "group": Table( [INFO] [stderr] { [INFO] [stderr] "dev": Table( [INFO] [stderr] { [INFO] [stderr] "dependencies": Table( [INFO] [stderr] { [INFO] [stderr] "ipykernel": String( [INFO] [stderr] "^6.26.0", [INFO] [stderr] ), [INFO] [stderr] "maturin": String( [INFO] [stderr] "^1.1.0", [INFO] [stderr] ), [INFO] [stderr] "mypy": String( [INFO] [stderr] "^1.5.1", [INFO] [stderr] ), [INFO] [stderr] "pytest": String( [INFO] [stderr] "^7.4.0", [INFO] [stderr] ), [INFO] [stderr] "pytest-xdist": String( [INFO] [stderr] "^3.4.0", [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] "name": String( [INFO] [stderr] "lle", [INFO] [stderr] ), [INFO] [stderr] "readme": String( [INFO] [stderr] "readme.md", [INFO] [stderr] ), [INFO] [stderr] "version": String( [INFO] [stderr] "0.2.2", [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] "pylint": Table( [INFO] [stderr] { [INFO] [stderr] "format": Table( [INFO] [stderr] { [INFO] [stderr] "max-line-length": Integer( [INFO] [stderr] 140, [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] "pytest": Table( [INFO] [stderr] { [INFO] [stderr] "ini_options": Table( [INFO] [stderr] { [INFO] [stderr] "addopts": String( [INFO] [stderr] "-n 2", [INFO] [stderr] ), [INFO] [stderr] "pythonpath": Array( [INFO] [stderr] [ [INFO] [stderr] String( [INFO] [stderr] "python", [INFO] [stderr] ), [INFO] [stderr] ], [INFO] [stderr] ), [INFO] [stderr] "testpaths": Array( [INFO] [stderr] [ [INFO] [stderr] String( [INFO] [stderr] "python/tests", [INFO] [stderr] ), [INFO] [stderr] ], [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] "ruff": Table( [INFO] [stderr] { [INFO] [stderr] "line-length": Integer( [INFO] [stderr] 140, [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] }, [INFO] [stderr] ), [INFO] [stderr] } [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at build.rs:114:52: [INFO] [stderr] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x560af5d18405 - std::backtrace_rs::backtrace::libunwind::trace::hb0d415bcff8c04ff [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5 [INFO] [stderr] 1: 0x560af5d18405 - std::backtrace_rs::backtrace::trace_unsynchronized::hd3beb7af6a65b2fb [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x560af5d18405 - std::sys_common::backtrace::_print_fmt::hb94d89680d7f5d1c [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stderr] 3: 0x560af5d18405 - ::fmt::h42d21e2ba62fd274 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stderr] 4: 0x560af5d3c22b - core::fmt::rt::Argument::fmt::h8932bbbd2b9c37fe [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/fmt/rt.rs:142:9 [INFO] [stderr] 5: 0x560af5d3c22b - core::fmt::write::h672f14b769052340 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/fmt/mod.rs:1153:17 [INFO] [stderr] 6: 0x560af5d1647f - std::io::Write::write_fmt::h4d626b1d019eca5c [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/io/mod.rs:1843:15 [INFO] [stderr] 7: 0x560af5d181de - std::sys_common::backtrace::_print::h745e446c2e03c5ca [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stderr] 8: 0x560af5d181de - std::sys_common::backtrace::print::hf0f0fa4fb70dca2c [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stderr] 9: 0x560af5d19649 - std::panicking::default_hook::{{closure}}::h607769b198639ae5 [INFO] [stderr] 10: 0x560af5d193b3 - std::panicking::default_hook::h1e5811a5a9298ba1 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:292:9 [INFO] [stderr] 11: 0x560af5d19ae4 - std::panicking::rust_panic_with_hook::hd0c5dc40875c06ef [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:789:13 [INFO] [stderr] 12: 0x560af5d199c6 - std::panicking::begin_panic_handler::{{closure}}::hde3f6d4bced89f43 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:658:13 [INFO] [stderr] 13: 0x560af5d188c9 - std::sys_common::backtrace::__rust_end_short_backtrace::h88e846e54ebde2e3 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stderr] 14: 0x560af5d196f7 - rust_begin_unwind [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:646:5 [INFO] [stderr] 15: 0x560af5bf90d6 - core::panicking::panic_fmt::h5ffad3fb9ad671e0 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/panicking.rs:72:14 [INFO] [stderr] 16: 0x560af5bf9566 - core::result::unwrap_failed::hb58638a1c26ab909 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/result.rs:1654:5 [INFO] [stderr] 17: 0x560af5c00c59 - build_script_build::add_version_number_from_cargo_to_pyproject::h71f5bb0c539ff4a8 [INFO] [stderr] 18: 0x560af5c00e5e - build_script_build::main::h103b0bf19185d9b6 [INFO] [stderr] 19: 0x560af5bfaed3 - core::ops::function::FnOnce::call_once::hb848c98918b28b25 [INFO] [stderr] 20: 0x560af5bfa036 - std::sys_common::backtrace::__rust_begin_short_backtrace::h408b83f3558605a7 [INFO] [stderr] 21: 0x560af5bfa3e9 - std::rt::lang_start::{{closure}}::h69458035bf61e68e [INFO] [stderr] 22: 0x560af5d13041 - core::ops::function::impls:: for &F>::call_once::hf24a18568366726b [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 23: 0x560af5d13041 - std::panicking::try::do_call::hfe98fb6a5c700fa1 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:553:40 [INFO] [stderr] 24: 0x560af5d13041 - std::panicking::try::h887aaa509ba266ad [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:517:19 [INFO] [stderr] 25: 0x560af5d13041 - std::panic::catch_unwind::hdb24f00ea5a307a8 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panic.rs:146:14 [INFO] [stderr] 26: 0x560af5d13041 - std::rt::lang_start_internal::{{closure}}::hacbffc0b2f55d28c [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/rt.rs:148:48 [INFO] [stderr] 27: 0x560af5d13041 - std::panicking::try::do_call::hc810c59098be8c17 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:553:40 [INFO] [stderr] 28: 0x560af5d13041 - std::panicking::try::h0d072b82be5f3f03 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:517:19 [INFO] [stderr] 29: 0x560af5d13041 - std::panic::catch_unwind::hb0e7e36556665803 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panic.rs:146:14 [INFO] [stderr] 30: 0x560af5d13041 - std::rt::lang_start_internal::h4207974af80a0725 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/rt.rs:148:20 [INFO] [stderr] 31: 0x560af5bfa3c7 - std::rt::lang_start::h971f7ffc174157d6 [INFO] [stderr] 32: 0x560af5c00ea5 - main [INFO] [stderr] 33: 0x7f57c6391d90 - [INFO] [stderr] 34: 0x7f57c6391e40 - __libc_start_main [INFO] [stderr] 35: 0x560af5bf98c5 - _start [INFO] [stderr] 36: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9f38fdf228f6cb4e84e9206bc4b66bfa5dc8604c44fb53f34db9c3c118148ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f38fdf228f6cb4e84e9206bc4b66bfa5dc8604c44fb53f34db9c3c118148ce2", kill_on_drop: false }` [INFO] [stdout] 9f38fdf228f6cb4e84e9206bc4b66bfa5dc8604c44fb53f34db9c3c118148ce2 [INFO] checking yamoling/lle against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamoling%2Flle" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yamoling/lle on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yamoling/lle [INFO] finished tweaking git repo https://github.com/yamoling/lle [INFO] tweaked toml for git repo https://github.com/yamoling/lle written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff4325b75920c40cf5c525ca3aaf6d6a3fbf1514e1e26f86062e929b9e8216e3 [INFO] running `Command { std: "docker" "start" "-a" "ff4325b75920c40cf5c525ca3aaf6d6a3fbf1514e1e26f86062e929b9e8216e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff4325b75920c40cf5c525ca3aaf6d6a3fbf1514e1e26f86062e929b9e8216e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff4325b75920c40cf5c525ca3aaf6d6a3fbf1514e1e26f86062e929b9e8216e3", kill_on_drop: false }` [INFO] [stdout] ff4325b75920c40cf5c525ca3aaf6d6a3fbf1514e1e26f86062e929b9e8216e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fedcb883516889eaf93186e8c904999ac2a14bb732048a9aab086ae788939f5 [INFO] running `Command { std: "docker" "start" "-a" "4fedcb883516889eaf93186e8c904999ac2a14bb732048a9aab086ae788939f5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling pyo3-build-config v0.21.1 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling winnow v0.6.5 [INFO] [stderr] Compiling pyo3-ffi v0.21.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling pyo3 v0.21.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking bitstream-io v2.2.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.1 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Compiling toml_edit v0.22.9 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Compiling pyo3-macros v0.21.1 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling lle v0.2.2 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking image-webp v0.1.1 [INFO] [stderr] Checking numpy v0.21.0 [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `lle` [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/rendering/sprites.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{self, RgbImage, RgbaImage}; [INFO] [stdout] | ^^^^ the item `image` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/bindings/mod.rs [INFO] [stderr] * src/bindings/pyaction.rs [INFO] [stderr] * src/bindings/pyagent.rs [INFO] [stderr] * src/bindings/pydirection.rs [INFO] [stderr] * src/bindings/pyevent.rs [INFO] [stderr] * src/bindings/pytile.rs [INFO] [stderr] * src/bindings/pyworld.rs [INFO] [stderr] * src/bindings/pyworld_state.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/rendering/sprites.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/bindings/pyaction.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe #[pymethods]}}}}}} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/bindings/pyagent.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | { unsafe { unsafe { unsafe { unsafe #[pymethods]}}}} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/bindings/pydirection.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | { unsafe { unsafe { unsafe { unsafe #[pymethods]}}}} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/bindings/pyevent.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | { unsafe { unsafe #[pymethods]}} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/bindings/pytile.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | { unsafe { unsafe #[pymethods]}} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/bindings/pyworld.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe #[pymethods]}}}}}} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyEventType` in module `pyevent` [INFO] [stderr] --> src/bindings/mod.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^^^^ not found in `pyevent` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyWorldEvent` in module `pyevent` [INFO] [stderr] --> src/bindings/mod.rs:17:28 [INFO] [stderr] | [INFO] [stderr] 17 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in `pyevent` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyWorld` in module `pyworld` [INFO] [stderr] --> src/bindings/mod.rs:18:28 [INFO] [stderr] | [INFO] [stderr] 18 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^ not found in `pyworld` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyWorldState` in module `pyworld_state` [INFO] [stderr] --> src/bindings/mod.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in `pyworld_state` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyAction` in module `pyaction` [INFO] [stderr] --> src/bindings/mod.rs:20:29 [INFO] [stderr] | [INFO] [stderr] 20 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^ not found in `pyaction` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyAgent` in module `pyagent` [INFO] [stderr] --> src/bindings/mod.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^ not found in `pyagent` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyDirection` in module `pydirection` [INFO] [stderr] --> src/bindings/mod.rs:22:32 [INFO] [stderr] | [INFO] [stderr] 22 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^^^^ not found in `pydirection` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyGem` in module `pytile` [INFO] [stderr] --> src/bindings/mod.rs:23:27 [INFO] [stderr] | [INFO] [stderr] 23 | m.add_class::()?; [INFO] [stderr] | ^^^^^ not found in `pytile` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyLaser` in module `pytile` [INFO] [stderr] --> src/bindings/mod.rs:24:27 [INFO] [stderr] | [INFO] [stderr] 24 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^ not found in `pytile` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyLaserSource` in module `pytile` [INFO] [stderr] --> src/bindings/mod.rs:25:27 [INFO] [stderr] | [INFO] [stderr] 25 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in `pytile` [INFO] [stderr] [INFO] [stderr] warning: the item `image` is imported redundantly [INFO] [stderr] --> src/rendering/sprites.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use image::{self, RgbImage, RgbaImage}; [INFO] [stderr] | ^^^^ the item `image` is already defined by prelude [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 17 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0412`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | fn delta(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | fn new(value: u32) -> PyResult { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | fn __richcmp__(&self, other: &Self, op: CompareOp) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | fn value(&self) -> u32 { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | fn name(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyagent.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | fn num(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyagent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyagent.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyagent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyagent.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn is_alive(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyagent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyagent.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | fn has_arrived(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyagent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | fn __richcmp__(&self, other: &Self, op: CompareOp) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pydirection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pydirection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pydirection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pydirection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyevent.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyevent.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyevent.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyevent.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn is_off(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn is_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn is_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn direction(&self) -> PyDirection { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn agent_id(&self) -> AgentId { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn laser_id(&self) -> LaserId { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(map_str: String) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | fn from_file(filename: String) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | fn level(level: usize) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | fn world_string(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn n_agents(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn image_dimensions(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn n_gems(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn void_pos(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | fn gems_collected(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | fn agents_positions(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | fn wall_pos(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | fn gems(&self) -> HashMap { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | fn lasers(&self) -> Vec<(Position, PyLaser)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | fn laser_sources(&self) -> HashMap { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | fn disable_laser_source(&self, laser_source: &PyLaserSource) -> PyResult<()> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:140:50 [INFO] [stdout] | [INFO] [stdout] 140 | fn disable_laser_source(&self, laser_source: &PyLaserSource) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | fn enable_laser_source(&self, laser_source: &PyLaserSource) -> PyResult<()> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:151:49 [INFO] [stdout] | [INFO] [stdout] 151 | fn enable_laser_source(&self, laser_source: &PyLaserSource) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | fn set_laser_colour(&self, laser_source: &PyLaserSource, new_colour: i32) -> PyResult<()> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:162:46 [INFO] [stdout] | [INFO] [stdout] 162 | fn set_laser_colour(&self, laser_source: &PyLaserSource, new_colour: i32) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:162:74 [INFO] [stdout] | [INFO] [stdout] 162 | fn set_laser_colour(&self, laser_source: &PyLaserSource, new_colour: i32) -> PyResult<()> { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | fn exit_pos(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn step(&mut self, actions: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn step(&mut self, actions: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:211:18 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn available_actions(&self) -> Vec> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn agents(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 236 | fn get_image(&self, py: Python) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | fn set_state(&mut self, state: PyWorldState) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:248:36 [INFO] [stdout] | [INFO] [stdout] 248 | fn set_state(&mut self, state: PyWorldState) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | fn get_state(&self) -> PyWorldState { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn __deepcopy__(&self, _memo: &Bound) -> Self { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:261:39 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn __deepcopy__(&self, _memo: &Bound) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:268:27 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn __getnewargs__(&self) -> PyResult<(String,)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn __getstate__(&self) -> PyResult<(String, Vec, Vec)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn __setstate__(&mut self, state: (String, Vec, Vec)) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:283:43 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn __setstate__(&mut self, state: (String, Vec, Vec)) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(agents_positions: Vec, gems_collected: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(agents_positions: Vec, gems_collected: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | fn __deepcopy__(&self, _memo: &Bound<'_, PyDict>) -> Self { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | fn __deepcopy__(&self, _memo: &Bound<'_, PyDict>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | fn __getstate__(&self) -> PyResult<(Vec, Vec)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | fn __setstate__(&mut self, state: (Vec, Vec)) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | fn __setstate__(&mut self, state: (Vec, Vec)) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn __getnewargs__(&self) -> PyResult<(Vec, Vec)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | fn __hash__(&self) -> u64 { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn __richcmp__(&self, other: &Self, cmp: CompareOp) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/world_integration_tests.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `lle` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/bindings/mod.rs [INFO] [stderr] * src/bindings/pyaction.rs [INFO] [stderr] * src/bindings/pyagent.rs [INFO] [stderr] * src/bindings/pydirection.rs [INFO] [stderr] * src/bindings/pyevent.rs [INFO] [stderr] * src/bindings/pytile.rs [INFO] [stderr] * src/bindings/pyworld.rs [INFO] [stderr] * src/bindings/pyworld_state.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/rendering/sprites.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/bindings/pyaction.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe #[pymethods]}}}}}} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/bindings/pyagent.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | { unsafe { unsafe { unsafe { unsafe #[pymethods]}}}} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/bindings/pydirection.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | { unsafe { unsafe { unsafe { unsafe #[pymethods]}}}} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/bindings/pyevent.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | { unsafe { unsafe #[pymethods]}} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/bindings/pytile.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | { unsafe { unsafe #[pymethods]}} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/bindings/pyworld.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { ... [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe #[pymethods]}}}}}} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyEventType` in module `pyevent` [INFO] [stderr] --> src/bindings/mod.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^^^^ not found in `pyevent` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyWorldEvent` in module `pyevent` [INFO] [stderr] --> src/bindings/mod.rs:17:28 [INFO] [stderr] | [INFO] [stderr] 17 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in `pyevent` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyWorld` in module `pyworld` [INFO] [stderr] --> src/bindings/mod.rs:18:28 [INFO] [stderr] | [INFO] [stderr] 18 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^ not found in `pyworld` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyWorldState` in module `pyworld_state` [INFO] [stderr] --> src/bindings/mod.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in `pyworld_state` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyAction` in module `pyaction` [INFO] [stderr] --> src/bindings/mod.rs:20:29 [INFO] [stderr] | [INFO] [stderr] 20 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^ not found in `pyaction` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyAgent` in module `pyagent` [INFO] [stderr] --> src/bindings/mod.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^ not found in `pyagent` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyDirection` in module `pydirection` [INFO] [stderr] --> src/bindings/mod.rs:22:32 [INFO] [stderr] | [INFO] [stderr] 22 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^^^^ not found in `pydirection` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyGem` in module `pytile` [INFO] [stderr] --> src/bindings/mod.rs:23:27 [INFO] [stderr] | [INFO] [stderr] 23 | m.add_class::()?; [INFO] [stderr] | ^^^^^ not found in `pytile` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyLaser` in module `pytile` [INFO] [stderr] --> src/bindings/mod.rs:24:27 [INFO] [stderr] | [INFO] [stderr] 24 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^ not found in `pytile` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyLaserSource` in module `pytile` [INFO] [stderr] --> src/bindings/mod.rs:25:27 [INFO] [stderr] | [INFO] [stderr] 25 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in `pytile` [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/rendering/sprites.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{self, RgbImage, RgbaImage}; [INFO] [stdout] | ^^^^ the item `image` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: the item `image` is imported redundantly [INFO] [stderr] --> src/rendering/sprites.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use image::{self, RgbImage, RgbaImage}; [INFO] [stderr] | ^^^^ the item `image` is already defined by prelude [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 17 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0412`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | fn delta(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | fn new(value: u32) -> PyResult { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | fn __richcmp__(&self, other: &Self, op: CompareOp) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | fn value(&self) -> u32 { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | fn name(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyagent.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | fn num(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyagent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyagent.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyagent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyagent.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn is_alive(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyagent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyagent.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | fn has_arrived(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyagent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | fn __richcmp__(&self, other: &Self, op: CompareOp) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pydirection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pydirection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pydirection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pydirection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyevent.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyevent.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyevent.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyevent.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn is_off(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn is_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn is_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn direction(&self) -> PyDirection { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn agent_id(&self) -> AgentId { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn laser_id(&self) -> LaserId { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(map_str: String) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | fn from_file(filename: String) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | fn level(level: usize) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | fn world_string(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn n_agents(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn image_dimensions(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn n_gems(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn void_pos(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | fn gems_collected(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | fn agents_positions(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | fn wall_pos(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | fn gems(&self) -> HashMap { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | fn lasers(&self) -> Vec<(Position, PyLaser)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | fn laser_sources(&self) -> HashMap { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | fn disable_laser_source(&self, laser_source: &PyLaserSource) -> PyResult<()> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:140:50 [INFO] [stdout] | [INFO] [stdout] 140 | fn disable_laser_source(&self, laser_source: &PyLaserSource) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | fn enable_laser_source(&self, laser_source: &PyLaserSource) -> PyResult<()> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:151:49 [INFO] [stdout] | [INFO] [stdout] 151 | fn enable_laser_source(&self, laser_source: &PyLaserSource) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | fn set_laser_colour(&self, laser_source: &PyLaserSource, new_colour: i32) -> PyResult<()> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:162:46 [INFO] [stdout] | [INFO] [stdout] 162 | fn set_laser_colour(&self, laser_source: &PyLaserSource, new_colour: i32) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:162:74 [INFO] [stdout] | [INFO] [stdout] 162 | fn set_laser_colour(&self, laser_source: &PyLaserSource, new_colour: i32) -> PyResult<()> { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | fn exit_pos(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn step(&mut self, actions: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn step(&mut self, actions: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:211:18 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn available_actions(&self) -> Vec> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn agents(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 236 | fn get_image(&self, py: Python) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | fn set_state(&mut self, state: PyWorldState) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:248:36 [INFO] [stdout] | [INFO] [stdout] 248 | fn set_state(&mut self, state: PyWorldState) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | fn get_state(&self) -> PyWorldState { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn __deepcopy__(&self, _memo: &Bound) -> Self { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:261:39 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn __deepcopy__(&self, _memo: &Bound) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:268:27 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn __getnewargs__(&self) -> PyResult<(String,)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn __getstate__(&self) -> PyResult<(String, Vec, Vec)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn __setstate__(&mut self, state: (String, Vec, Vec)) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:283:43 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn __setstate__(&mut self, state: (String, Vec, Vec)) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(agents_positions: Vec, gems_collected: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(agents_positions: Vec, gems_collected: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | fn __deepcopy__(&self, _memo: &Bound<'_, PyDict>) -> Self { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | fn __deepcopy__(&self, _memo: &Bound<'_, PyDict>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | fn __getstate__(&self) -> PyResult<(Vec, Vec)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | fn __setstate__(&mut self, state: (Vec, Vec)) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | fn __setstate__(&mut self, state: (Vec, Vec)) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn __getnewargs__(&self) -> PyResult<(Vec, Vec)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | fn __hash__(&self) -> u64 { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn __richcmp__(&self, other: &Self, cmp: CompareOp) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.76s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling lle v0.2.2 (/tmp/fixit) [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/rendering/sprites.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{self, RgbImage, RgbaImage}; [INFO] [stdout] | ^^^^ the item `image` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/rendering/sprites.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{self, RgbImage, RgbaImage}; [INFO] [stdout] | ^^^^ the item `image` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | fn delta(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | fn new(value: u32) -> PyResult { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | fn __richcmp__(&self, other: &Self, op: CompareOp) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | fn value(&self) -> u32 { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | fn name(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyagent.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | fn num(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyagent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyagent.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyagent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyagent.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn is_alive(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyagent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyagent.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | fn has_arrived(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyagent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | fn __richcmp__(&self, other: &Self, op: CompareOp) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pydirection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pydirection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pydirection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pydirection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyevent.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyevent.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyevent.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyevent.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | fn delta(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | fn new(value: u32) -> PyResult { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | fn __richcmp__(&self, other: &Self, op: CompareOp) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | fn value(&self) -> u32 { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyaction.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | fn name(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyaction.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyagent.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | fn num(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyagent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyagent.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyagent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyagent.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn is_alive(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyagent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyagent.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | fn has_arrived(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyagent.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | fn __richcmp__(&self, other: &Self, op: CompareOp) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pydirection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pydirection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pydirection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pydirection.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn is_off(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn is_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn is_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn direction(&self) -> PyDirection { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn agent_id(&self) -> AgentId { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn laser_id(&self) -> LaserId { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyevent.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyevent.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyevent.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyevent.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(map_str: String) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | fn from_file(filename: String) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | fn level(level: usize) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | fn world_string(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn n_agents(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn image_dimensions(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn n_gems(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn void_pos(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | fn gems_collected(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | fn agents_positions(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn is_off(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | fn wall_pos(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn is_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | fn gems(&self) -> HashMap { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | fn lasers(&self) -> Vec<(Position, PyLaser)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | fn laser_sources(&self) -> HashMap { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | fn disable_laser_source(&self, laser_source: &PyLaserSource) -> PyResult<()> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:140:50 [INFO] [stdout] | [INFO] [stdout] 140 | fn disable_laser_source(&self, laser_source: &PyLaserSource) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | fn enable_laser_source(&self, laser_source: &PyLaserSource) -> PyResult<()> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:151:49 [INFO] [stdout] | [INFO] [stdout] 151 | fn enable_laser_source(&self, laser_source: &PyLaserSource) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | fn set_laser_colour(&self, laser_source: &PyLaserSource, new_colour: i32) -> PyResult<()> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn is_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:162:46 [INFO] [stdout] | [INFO] [stdout] 162 | fn set_laser_colour(&self, laser_source: &PyLaserSource, new_colour: i32) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:162:74 [INFO] [stdout] | [INFO] [stdout] 162 | fn set_laser_colour(&self, laser_source: &PyLaserSource, new_colour: i32) -> PyResult<()> { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn direction(&self) -> PyDirection { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn agent_id(&self) -> AgentId { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn laser_id(&self) -> LaserId { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | fn exit_pos(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pytile.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pytile.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn step(&mut self, actions: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn step(&mut self, actions: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:211:18 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn available_actions(&self) -> Vec> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn agents(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 236 | fn get_image(&self, py: Python) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | fn set_state(&mut self, state: PyWorldState) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:248:36 [INFO] [stdout] | [INFO] [stdout] 248 | fn set_state(&mut self, state: PyWorldState) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | fn get_state(&self) -> PyWorldState { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn __deepcopy__(&self, _memo: &Bound) -> Self { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:261:39 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn __deepcopy__(&self, _memo: &Bound) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:268:27 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn __getnewargs__(&self) -> PyResult<(String,)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn __getstate__(&self) -> PyResult<(String, Vec, Vec)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn __setstate__(&mut self, state: (String, Vec, Vec)) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:283:43 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn __setstate__(&mut self, state: (String, Vec, Vec)) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(map_str: String) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | fn from_file(filename: String) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | fn level(level: usize) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(agents_positions: Vec, gems_collected: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(agents_positions: Vec, gems_collected: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | fn world_string(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn n_agents(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | fn __deepcopy__(&self, _memo: &Bound<'_, PyDict>) -> Self { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn image_dimensions(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | fn __deepcopy__(&self, _memo: &Bound<'_, PyDict>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | fn __getstate__(&self) -> PyResult<(Vec, Vec)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn n_gems(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn void_pos(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | fn __setstate__(&mut self, state: (Vec, Vec)) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | fn __setstate__(&mut self, state: (Vec, Vec)) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | fn gems_collected(&self) -> usize { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | fn agents_positions(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | fn wall_pos(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | fn gems(&self) -> HashMap { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn __getnewargs__(&self) -> PyResult<(Vec, Vec)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | fn lasers(&self) -> Vec<(Position, PyLaser)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | fn laser_sources(&self) -> HashMap { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | fn disable_laser_source(&self, laser_source: &PyLaserSource) -> PyResult<()> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:140:50 [INFO] [stdout] | [INFO] [stdout] 140 | fn disable_laser_source(&self, laser_source: &PyLaserSource) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | fn __hash__(&self) -> u64 { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn __richcmp__(&self, other: &Self, cmp: CompareOp) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | fn enable_laser_source(&self, laser_source: &PyLaserSource) -> PyResult<()> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:151:49 [INFO] [stdout] | [INFO] [stdout] 151 | fn enable_laser_source(&self, laser_source: &PyLaserSource) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | fn set_laser_colour(&self, laser_source: &PyLaserSource, new_colour: i32) -> PyResult<()> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:162:46 [INFO] [stdout] | [INFO] [stdout] 162 | fn set_laser_colour(&self, laser_source: &PyLaserSource, new_colour: i32) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:162:74 [INFO] [stdout] | [INFO] [stdout] 162 | fn set_laser_colour(&self, laser_source: &PyLaserSource, new_colour: i32) -> PyResult<()> { [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | fn exit_pos(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn step(&mut self, actions: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn step(&mut self, actions: Vec) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:211:18 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn available_actions(&self) -> Vec> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn agents(&self) -> Vec { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 236 | fn get_image(&self, py: Python) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | fn set_state(&mut self, state: PyWorldState) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:248:36 [INFO] [stdout] | [INFO] [stdout] 248 | fn set_state(&mut self, state: PyWorldState) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | fn get_state(&self) -> PyWorldState { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn __deepcopy__(&self, _memo: &Bound) -> Self { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:261:39 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn __deepcopy__(&self, _memo: &Bound) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:268:27 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn __getnewargs__(&self) -> PyResult<(String,)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn __getstate__(&self) -> PyResult<(String, Vec, Vec)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn __setstate__(&mut self, state: (String, Vec, Vec)) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld.rs:283:43 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn __setstate__(&mut self, state: (String, Vec, Vec)) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(agents_positions: Vec, gems_collected: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(agents_positions: Vec, gems_collected: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | fn __deepcopy__(&self, _memo: &Bound<'_, PyDict>) -> Self { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | fn __deepcopy__(&self, _memo: &Bound<'_, PyDict>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | fn __getstate__(&self) -> PyResult<(Vec, Vec)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | fn __setstate__(&mut self, state: (Vec, Vec)) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | fn __setstate__(&mut self, state: (Vec, Vec)) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn __getnewargs__(&self) -> PyResult<(Vec, Vec)> { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | fn __str__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | fn __repr__(&self) -> String { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | fn __hash__(&self) -> u64 { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pyworld_state.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn __richcmp__(&self, other: &Self, cmp: CompareOp) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/bindings/pyworld_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "4fedcb883516889eaf93186e8c904999ac2a14bb732048a9aab086ae788939f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fedcb883516889eaf93186e8c904999ac2a14bb732048a9aab086ae788939f5", kill_on_drop: false }` [INFO] [stdout] 4fedcb883516889eaf93186e8c904999ac2a14bb732048a9aab086ae788939f5