[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] 1bc1c5764ad40ef3ea1c1d18cb25a68984c7b914 [INFO] checking yamoling/lle against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamoling%2Flle" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yamoling/lle on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 144 packages to latest compatible versions [INFO] [stderr] Adding aligned-vec v0.5.0 (latest: v0.6.0) [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 itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded numpy v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa34d780ece21682592642404d7af275a471d9a8f599341293d3bdbedfd7573b [INFO] running `Command { std: "docker" "start" "-a" "aa34d780ece21682592642404d7af275a471d9a8f599341293d3bdbedfd7573b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa34d780ece21682592642404d7af275a471d9a8f599341293d3bdbedfd7573b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa34d780ece21682592642404d7af275a471d9a8f599341293d3bdbedfd7573b", kill_on_drop: false }` [INFO] [stdout] aa34d780ece21682592642404d7af275a471d9a8f599341293d3bdbedfd7573b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7058b84a7ed5f41dd8fa22a3dac212e502188335980c0230e850583d1cce03d4 [INFO] running `Command { std: "docker" "start" "-a" "7058b84a7ed5f41dd8fa22a3dac212e502188335980c0230e850583d1cce03d4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Compiling built v0.7.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [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.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking bitstream-io v2.3.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_edit v0.22.13 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [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] Checking profiling v1.0.15 [INFO] [stderr] Compiling toml v0.8.13 [INFO] [stderr] Checking image-webp v0.1.2 [INFO] [stderr] Compiling lle v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `lle v0.2.5 (/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-f2aa8fbda22ffec4/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] "maturin": String( [INFO] [stderr] "^1.1.0", [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.5", [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] "maturin": String( [INFO] [stderr] "^1.1.0", [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.5", [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: 0x559e4279f4c5 - std::backtrace_rs::backtrace::libunwind::trace::h876d7c806a499a4c [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5 [INFO] [stderr] 1: 0x559e4279f4c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h93aa6ac20204363f [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x559e4279f4c5 - std::sys_common::backtrace::_print_fmt::haa4d06348037420c [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stderr] 3: 0x559e4279f4c5 - ::fmt::hb19a1068483db389 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stderr] 4: 0x559e427c3cfb - core::fmt::rt::Argument::fmt::he1186800a1f8dba1 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/fmt/rt.rs:165:63 [INFO] [stderr] 5: 0x559e427c3cfb - core::fmt::write::h93b97d526ac83ab7 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/fmt/mod.rs:1169:21 [INFO] [stderr] 6: 0x559e4279d11f - std::io::Write::write_fmt::h5b8b8a434bcca5dd [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/io/mod.rs:1835:15 [INFO] [stderr] 7: 0x559e4279f29e - std::sys_common::backtrace::_print::h68eb04d9824256f0 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stderr] 8: 0x559e4279f29e - std::sys_common::backtrace::print::h9c98f0d9c4306586 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stderr] 9: 0x559e427a0609 - std::panicking::default_hook::{{closure}}::hcf6830dc400daae4 [INFO] [stderr] 10: 0x559e427a034d - std::panicking::default_hook::h483615856e3a5cc0 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/panicking.rs:298:9 [INFO] [stderr] 11: 0x559e427a0b13 - std::panicking::rust_panic_with_hook::h36ebc998f351e5fd [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/panicking.rs:795:13 [INFO] [stderr] 12: 0x559e427a09f4 - std::panicking::begin_panic_handler::{{closure}}::h686207a93492b797 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/panicking.rs:664:13 [INFO] [stderr] 13: 0x559e4279f989 - std::sys_common::backtrace::__rust_end_short_backtrace::h2e37e6bf5aac538a [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stderr] 14: 0x559e427a0727 - rust_begin_unwind [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/panicking.rs:652:5 [INFO] [stderr] 15: 0x559e427c2123 - core::panicking::panic_fmt::heae5d8e5e3703b89 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/panicking.rs:72:14 [INFO] [stderr] 16: 0x559e427c2606 - core::result::unwrap_failed::hd5eec0649c67d3d0 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/result.rs:1658:5 [INFO] [stderr] 17: 0x559e4268f776 - build_script_build::add_version_number_from_cargo_to_pyproject::h4238070d7c003679 [INFO] [stderr] 18: 0x559e4268f98e - build_script_build::main::he28017e4b0aefaab [INFO] [stderr] 19: 0x559e42689d23 - core::ops::function::FnOnce::call_once::h770253a53d3d66b7 [INFO] [stderr] 20: 0x559e42688e76 - std::sys_common::backtrace::__rust_begin_short_backtrace::hc23d115f7c94c872 [INFO] [stderr] 21: 0x559e426891f9 - std::rt::lang_start::{{closure}}::he1a6aa6f8e604ac3 [INFO] [stderr] 22: 0x559e42799aad - core::ops::function::impls:: for &F>::call_once::h75d0a4fe40296b94 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 23: 0x559e42799aad - std::panicking::try::do_call::ha27ca65264b021a4 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/panicking.rs:559:40 [INFO] [stderr] 24: 0x559e42799aad - std::panicking::try::h901e100a17b3cd54 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/panicking.rs:523:19 [INFO] [stderr] 25: 0x559e42799aad - std::panic::catch_unwind::h13d256f1691dfb07 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/panic.rs:149:14 [INFO] [stderr] 26: 0x559e42799aad - std::rt::lang_start_internal::{{closure}}::hdf5a5a26190e1fd8 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/rt.rs:141:48 [INFO] [stderr] 27: 0x559e42799aad - std::panicking::try::do_call::h3a8fb98242ec30e5 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/panicking.rs:559:40 [INFO] [stderr] 28: 0x559e42799aad - std::panicking::try::h881801cd3cb8ba77 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/panicking.rs:523:19 [INFO] [stderr] 29: 0x559e42799aad - std::panic::catch_unwind::he14d380083644433 [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/panic.rs:149:14 [INFO] [stderr] 30: 0x559e42799aad - std::rt::lang_start_internal::hf560e7575b65e65f [INFO] [stderr] at /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/rt.rs:141:20 [INFO] [stderr] 31: 0x559e426891d7 - std::rt::lang_start::hbef03592384eb72b [INFO] [stderr] 32: 0x559e4268f9d5 - main [INFO] [stderr] 33: 0x7f4db6879d90 - [INFO] [stderr] 34: 0x7f4db6879e40 - __libc_start_main [INFO] [stderr] 35: 0x559e426886c5 - _start [INFO] [stderr] 36: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7058b84a7ed5f41dd8fa22a3dac212e502188335980c0230e850583d1cce03d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7058b84a7ed5f41dd8fa22a3dac212e502188335980c0230e850583d1cce03d4", kill_on_drop: false }` [INFO] [stdout] 7058b84a7ed5f41dd8fa22a3dac212e502188335980c0230e850583d1cce03d4 [INFO] checking yamoling/lle against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamoling%2Flle" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yamoling/lle on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 144 packages to latest compatible versions [INFO] [stderr] Adding aligned-vec v0.5.0 (latest: v0.6.0) [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 itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6893d1606bb3b3c0433047298636a6592aa7900c144f920ba96c381ca6ceb4ff [INFO] running `Command { std: "docker" "start" "-a" "6893d1606bb3b3c0433047298636a6592aa7900c144f920ba96c381ca6ceb4ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6893d1606bb3b3c0433047298636a6592aa7900c144f920ba96c381ca6ceb4ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6893d1606bb3b3c0433047298636a6592aa7900c144f920ba96c381ca6ceb4ff", kill_on_drop: false }` [INFO] [stdout] 6893d1606bb3b3c0433047298636a6592aa7900c144f920ba96c381ca6ceb4ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d5bf918407d3c1469b31d595bd6032beed35d7484cede420aa7cd87d69141a6 [INFO] running `Command { std: "docker" "start" "-a" "2d5bf918407d3c1469b31d595bd6032beed35d7484cede420aa7cd87d69141a6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling built v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling winnow v0.6.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking bitstream-io v2.3.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking rgb v0.8.37 [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.1 [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] Checking num-complex v0.4.6 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling toml_edit v0.22.13 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [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] Checking profiling v1.0.15 [INFO] [stderr] Compiling toml v0.8.13 [INFO] [stderr] Checking image-webp v0.1.2 [INFO] [stderr] Compiling lle v0.2.5 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [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] [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_builder.rs [INFO] [stderr] * src/bindings/pyworld_state.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 #[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 #[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:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | { 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 #[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 #[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:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | { 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_builder.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | { 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_state.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | { 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: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 `PyWorldEvent` in module `pyevent` [INFO] [stderr] --> src/bindings/mod.rs:18:28 [INFO] [stderr] | [INFO] [stderr] 18 | 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:19:28 [INFO] [stderr] | [INFO] [stderr] 19 | 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:20:34 [INFO] [stderr] | [INFO] [stderr] 20 | 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:21:29 [INFO] [stderr] | [INFO] [stderr] 21 | 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:22:28 [INFO] [stderr] | [INFO] [stderr] 22 | 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:23:32 [INFO] [stderr] | [INFO] [stderr] 23 | 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: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 `PyLaser` 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] error[E0412]: cannot find type `PyLaserSource` in module `pytile` [INFO] [stderr] --> src/bindings/mod.rs:26:27 [INFO] [stderr] | [INFO] [stderr] 26 | m.add_class::()?; [INFO] [stdout] warning: call to unsafe 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] [stderr] | ^^^^^^^^^^^^^ not found in `pytile` [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] [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: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] [stderr] error[E0412]: cannot find type `PyWorldBuilder` in module `pyworld_builder` [INFO] [stderr] --> src/bindings/mod.rs:27:36 [INFO] [stderr] | [INFO] [stderr] 27 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `pyworld_builder` [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors [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: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/pyaction.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | fn opposite(&self) -> 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/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_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(direction: 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/pydirection.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | 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/pydirection.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:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | fn opposite(&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/pydirection.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/pydirection.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | fn from_str(direction: 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/pydirection.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | 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: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:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | 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: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:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | 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: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:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | 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: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:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn __getstate__(&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: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:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | 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/pydirection.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:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn __setstate__(&mut self, state: 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] [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/pydirection.rs:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn __setstate__(&mut self, state: 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] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe 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:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | 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:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | 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:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | 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:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | 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:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | 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:163:20 [INFO] [stdout] | [INFO] [stdout] 163 | 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:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | 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/pytile.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn __getstate__(&self) -> (PyDirection, AgentId, LaserId, 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:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn __setstate__(&mut self, state: (PyDirection, AgentId, LaserId, 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] [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/pytile.rs:180:43 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn __setstate__(&mut self, state: (PyDirection, AgentId, LaserId, 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] [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:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | 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:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | 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:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | 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:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:22 [INFO] [stdout] | [INFO] [stdout] 140 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | 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:147:50 [INFO] [stdout] | [INFO] [stdout] 147 | 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:158:28 [INFO] [stdout] | [INFO] [stdout] 158 | 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:158:49 [INFO] [stdout] | [INFO] [stdout] 158 | 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:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | 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:169:46 [INFO] [stdout] | [INFO] [stdout] 169 | 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:169:74 [INFO] [stdout] | [INFO] [stdout] 169 | 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:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:202:18 [INFO] [stdout] | [INFO] [stdout] 202 | fn start_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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | 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:207:37 [INFO] [stdout] | [INFO] [stdout] 207 | 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:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:19 [INFO] [stdout] | [INFO] [stdout] 236 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | 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:257:36 [INFO] [stdout] | [INFO] [stdout] 257 | 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:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:270:25 [INFO] [stdout] | [INFO] [stdout] 270 | 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:270:39 [INFO] [stdout] | [INFO] [stdout] 270 | 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:277:27 [INFO] [stdout] | [INFO] [stdout] 277 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | 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:292:43 [INFO] [stdout] | [INFO] [stdout] 292 | 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_builder.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(width: usize, height: usize, n_agents: usize) -> 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_builder.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(width: usize, height: usize, n_agents: usize) -> 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_builder.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(width: usize, height: usize, n_agents: usize) -> 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_builder.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | fn build(&self) -> 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_builder.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[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_builder.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | fn can_build(&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/pyworld_builder.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[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_builder.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | fn world_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_builder.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[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_builder.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | fn set_start(&mut self, pos: Position, agent_num: 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_builder.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | fn set_start(&mut self, pos: Position, agent_num: 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_builder.rs:83:55 [INFO] [stdout] | [INFO] [stdout] 83 | fn set_start(&mut self, pos: Position, agent_num: 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_builder.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | &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] [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_builder.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | pos: Position, [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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_builder.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | agent_id: 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] [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_builder.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | direction: 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] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe 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_builder.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | fn add_wall(&mut self, pos: Position) -> 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_builder.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | fn add_wall(&mut self, pos: Position) -> 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_builder.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | fn add_exit(&mut self, pos: Position) -> 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_builder.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | fn add_exit(&mut self, pos: Position) -> 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_builder.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | fn add_gem(&mut self, pos: Position) -> 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_builder.rs:125:32 [INFO] [stdout] | [INFO] [stdout] 125 | fn add_gem(&mut self, pos: Position) -> 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_builder.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | 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_builder.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[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_builder.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | fn clear(&mut self, pos: Position) -> 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_builder.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | fn clear(&mut self, pos: Position) -> 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: 116 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_builder.rs [INFO] [stderr] * src/bindings/pyworld_state.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 #[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 #[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:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | { 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 #[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 #[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:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | { 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_builder.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | { 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_state.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | { 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: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 `PyWorldEvent` in module `pyevent` [INFO] [stderr] --> src/bindings/mod.rs:18:28 [INFO] [stderr] | [INFO] [stderr] 18 | 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:19:28 [INFO] [stderr] | [INFO] [stderr] 19 | 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:20:34 [INFO] [stderr] | [INFO] [stderr] 20 | 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:21:29 [INFO] [stderr] | [INFO] [stderr] 21 | 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:22:28 [INFO] [stderr] | [INFO] [stderr] 22 | 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:23:32 [INFO] [stderr] | [INFO] [stderr] 23 | 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: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 `PyLaser` 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] error[E0412]: cannot find type `PyLaserSource` in module `pytile` [INFO] [stderr] --> src/bindings/mod.rs:26:27 [INFO] [stderr] | [INFO] [stderr] 26 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in `pytile` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyWorldBuilder` in module `pyworld_builder` [INFO] [stderr] --> src/bindings/mod.rs:27:36 [INFO] [stderr] | [INFO] [stderr] 27 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `pyworld_builder` [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors [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/pyaction.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | fn opposite(&self) -> 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/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_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/bindings/pydirection.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(direction: 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/pydirection.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | 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/pydirection.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:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | fn opposite(&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/pydirection.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/pydirection.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | fn from_str(direction: 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/pydirection.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | 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: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:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | 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: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:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | 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: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:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | 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: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:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn __getstate__(&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: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:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | 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/pydirection.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:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn __setstate__(&mut self, state: 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] [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/pydirection.rs:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn __setstate__(&mut self, state: 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] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe 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:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | 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:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | 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:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | 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:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | 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:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | 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:163:20 [INFO] [stdout] | [INFO] [stdout] 163 | 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:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | 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/pytile.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn __getstate__(&self) -> (PyDirection, AgentId, LaserId, 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:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn __setstate__(&mut self, state: (PyDirection, AgentId, LaserId, 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] [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/pytile.rs:180:43 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn __setstate__(&mut self, state: (PyDirection, AgentId, LaserId, 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] [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:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | 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:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | 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:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | 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:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:22 [INFO] [stdout] | [INFO] [stdout] 140 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | 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:147:50 [INFO] [stdout] | [INFO] [stdout] 147 | 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:158:28 [INFO] [stdout] | [INFO] [stdout] 158 | 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:158:49 [INFO] [stdout] | [INFO] [stdout] 158 | 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:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | 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:169:46 [INFO] [stdout] | [INFO] [stdout] 169 | 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:169:74 [INFO] [stdout] | [INFO] [stdout] 169 | 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:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:202:18 [INFO] [stdout] | [INFO] [stdout] 202 | fn start_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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | 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:207:37 [INFO] [stdout] | [INFO] [stdout] 207 | 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:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:19 [INFO] [stdout] | [INFO] [stdout] 236 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | 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:257:36 [INFO] [stdout] | [INFO] [stdout] 257 | 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:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:270:25 [INFO] [stdout] | [INFO] [stdout] 270 | 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:270:39 [INFO] [stdout] | [INFO] [stdout] 270 | 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:277:27 [INFO] [stdout] | [INFO] [stdout] 277 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | 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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | 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:292:43 [INFO] [stdout] | [INFO] [stdout] 292 | 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_builder.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(width: usize, height: usize, n_agents: usize) -> 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_builder.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(width: usize, height: usize, n_agents: usize) -> 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_builder.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(width: usize, height: usize, n_agents: usize) -> 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_builder.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | fn build(&self) -> 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_builder.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[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_builder.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | fn can_build(&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/pyworld_builder.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[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_builder.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | fn world_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_builder.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[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_builder.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | fn set_start(&mut self, pos: Position, agent_num: 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_builder.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | fn set_start(&mut self, pos: Position, agent_num: 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_builder.rs:83:55 [INFO] [stdout] | [INFO] [stdout] 83 | fn set_start(&mut self, pos: Position, agent_num: 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_builder.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | &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] [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_builder.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | pos: Position, [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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_builder.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | agent_id: 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] [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_builder.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | direction: 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] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe 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_builder.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | fn add_wall(&mut self, pos: Position) -> 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_builder.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | fn add_wall(&mut self, pos: Position) -> 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_builder.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | fn add_exit(&mut self, pos: Position) -> 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_builder.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | fn add_exit(&mut self, pos: Position) -> 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_builder.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | fn add_gem(&mut self, pos: Position) -> 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_builder.rs:125:32 [INFO] [stdout] | [INFO] [stdout] 125 | fn add_gem(&mut self, pos: Position) -> 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_builder.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | 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_builder.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[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_builder.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | fn clear(&mut self, pos: Position) -> 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_builder.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | fn clear(&mut self, pos: Position) -> 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: 116 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.80s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling lle v0.2.5 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "2d5bf918407d3c1469b31d595bd6032beed35d7484cede420aa7cd87d69141a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d5bf918407d3c1469b31d595bd6032beed35d7484cede420aa7cd87d69141a6", kill_on_drop: false }` [INFO] [stdout] 2d5bf918407d3c1469b31d595bd6032beed35d7484cede420aa7cd87d69141a6