[INFO] cloning repository https://github.com/Mng-dev-ai/schemars [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mng-dev-ai/schemars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMng-dev-ai%2Fschemars", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMng-dev-ai%2Fschemars'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44681c2220ef9b8f9aa5b3ef7c18c15a58178c7e [INFO] checking Mng-dev-ai/schemars against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMng-dev-ai%2Fschemars" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mng-dev-ai/schemars 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/Mng-dev-ai/schemars [INFO] finished tweaking git repo https://github.com/Mng-dev-ai/schemars [INFO] tweaked toml for git repo https://github.com/Mng-dev-ai/schemars written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Mng-dev-ai/schemars already has a lockfile, it will not be regenerated [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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros v0.20.0 [INFO] [stderr] Downloaded unindent v0.2.3 [INFO] [stderr] Downloaded pyo3-build-config v0.20.0 [INFO] [stderr] Downloaded mimalloc v0.1.39 [INFO] [stderr] Downloaded speedate v0.13.0 [INFO] [stderr] Downloaded pyo3-macros-backend v0.20.0 [INFO] [stderr] Downloaded rust_decimal v1.32.0 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.35 [INFO] [stderr] Downloaded pyo3-ffi v0.20.0 [INFO] [stderr] Downloaded zerocopy v0.7.25 [INFO] [stderr] Downloaded pyo3 v0.20.0 [INFO] [stderr] Downloaded zerocopy-derive v0.7.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] dc342fc3b1f474e404a14bcf1ae104a5a6de6840c2e26a3149f3cc04f54cf5ae [INFO] running `Command { std: "docker" "start" "-a" "dc342fc3b1f474e404a14bcf1ae104a5a6de6840c2e26a3149f3cc04f54cf5ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc342fc3b1f474e404a14bcf1ae104a5a6de6840c2e26a3149f3cc04f54cf5ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc342fc3b1f474e404a14bcf1ae104a5a6de6840c2e26a3149f3cc04f54cf5ae", kill_on_drop: false }` [INFO] [stdout] dc342fc3b1f474e404a14bcf1ae104a5a6de6840c2e26a3149f3cc04f54cf5ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 5851dc8644184d0777324d57fad318415f822c1a5b76d1a275fb9c7373885887 [INFO] running `Command { std: "docker" "start" "-a" "5851dc8644184d0777324d57fad318415f822c1a5b76d1a275fb9c7373885887", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.12 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling rust_decimal v1.32.0 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling pyo3-build-config v0.20.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling libmimalloc-sys v0.1.35 [INFO] [stderr] Compiling pyo3-ffi v0.20.0 [INFO] [stderr] Compiling pyo3 v0.20.0 [INFO] [stderr] Checking mimalloc v0.1.39 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking speedate v0.13.0 [INFO] [stderr] Compiling pyo3-macros v0.20.0 [INFO] [stderr] Checking schemars v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.89s [INFO] running `Command { std: "docker" "inspect" "5851dc8644184d0777324d57fad318415f822c1a5b76d1a275fb9c7373885887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5851dc8644184d0777324d57fad318415f822c1a5b76d1a275fb9c7373885887", kill_on_drop: false }` [INFO] [stdout] 5851dc8644184d0777324d57fad318415f822c1a5b76d1a275fb9c7373885887 [INFO] checking Mng-dev-ai/schemars against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMng-dev-ai%2Fschemars" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mng-dev-ai/schemars 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/Mng-dev-ai/schemars [INFO] finished tweaking git repo https://github.com/Mng-dev-ai/schemars [INFO] tweaked toml for git repo https://github.com/Mng-dev-ai/schemars written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Mng-dev-ai/schemars already has a lockfile, it will not be regenerated [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 9f03048bad67828c4ff1c5084df5579d3f9ee085bbde8136e80a5a89af53287a [INFO] running `Command { std: "docker" "start" "-a" "9f03048bad67828c4ff1c5084df5579d3f9ee085bbde8136e80a5a89af53287a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f03048bad67828c4ff1c5084df5579d3f9ee085bbde8136e80a5a89af53287a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f03048bad67828c4ff1c5084df5579d3f9ee085bbde8136e80a5a89af53287a", kill_on_drop: false }` [INFO] [stdout] 9f03048bad67828c4ff1c5084df5579d3f9ee085bbde8136e80a5a89af53287a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0a081ce0300d991402ab7c9033574d664666c209fffd0b369a08d7aa5377a5f1 [INFO] running `Command { std: "docker" "start" "-a" "0a081ce0300d991402ab7c9033574d664666c209fffd0b369a08d7aa5377a5f1", 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] Fixed Cargo.toml (1 fix) [INFO] [stderr] Compiling target-lexicon v0.12.12 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling rust_decimal v1.32.0 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling pyo3-build-config v0.20.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling libmimalloc-sys v0.1.35 [INFO] [stderr] Compiling pyo3-ffi v0.20.0 [INFO] [stderr] Compiling pyo3 v0.20.0 [INFO] [stderr] Checking mimalloc v0.1.39 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking speedate v0.13.0 [INFO] [stderr] Compiling pyo3-macros v0.20.0 [INFO] [stderr] Checking schemars v0.4.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [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/errors.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(errors: PyObject) -> 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: `--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] [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/fields/any.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn serialize(&self, _py: Python, value: &PyAny) -> 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/fields/bool.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/bytes.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/date.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/date.rs:40:59 [INFO] [stdout] | [INFO] [stdout] 40 | fn parse_and_format_date(&self, py: Python, date_str: &PyAny) -> 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/fields/date.rs:50:54 [INFO] [stdout] | [INFO] [stdout] 50 | fn format_and_return(&self, py: Python, py_date: &PyAny) -> 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/fields/datetime.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/datetime.rs:50:67 [INFO] [stdout] | [INFO] [stdout] 50 | fn parse_and_format_datetime(&self, py: Python, datetime_str: &PyAny) -> 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/fields/datetime.rs:71:58 [INFO] [stdout] | [INFO] [stdout] 71 | fn format_and_return(&self, py: Python, py_datetime: &PyAny) -> 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/fields/decimal.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/dict.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/dict.rs:34:50 [INFO] [stdout] | [INFO] [stdout] 34 | fn serialize_child(&self, py: Python, child: &PyAny) -> 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/fields/float.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/int.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/list.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/str.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | fn serialize(&self, py: Python, value: &PyAny) -> 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/macros.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | $( $field_name: $field_type, )* [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/fields/union.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / impl_py_methods!(Union, required, { fields: Vec }, { [INFO] [stdout] 13 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 14 | | for field in &self.fields { [INFO] [stdout] 15 | | if let Ok(py_field) = field.downcast::(py) { [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_py_methods` (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/fields/union.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/uuid.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | fn serialize(&self, py: Python, value: &PyAny) -> 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/macros.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | $( $field_name: $field_type, )* [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/schema.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / impl_py_methods!(Schema, required, { fields: HashMap, context: HashMap}, { [INFO] [stdout] 19 | | fn get_attr_value( [INFO] [stdout] 20 | | &self, [INFO] [stdout] 21 | | py: Python, [INFO] [stdout] ... | [INFO] [stdout] 150 | | [INFO] [stdout] 151 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_py_methods` (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/schema.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | mut instance: PyObject, [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | field: Field, [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | key: &str, [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | attr_value: PyObject, [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | field: Field, [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | key: &str, [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | field: Field, [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | instance: PyObject, [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:68:45 [INFO] [stdout] | [INFO] [stdout] 68 | fn add_error(&self, py: Python, errors: &PyDict, key: &str, error: PyObject) -> 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/schema.rs:68:59 [INFO] [stdout] | [INFO] [stdout] 68 | fn add_error(&self, py: Python, errors: &PyDict, key: &str, error: PyObject) -> 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/schema.rs:68:72 [INFO] [stdout] | [INFO] [stdout] 68 | fn add_error(&self, py: Python, errors: &PyDict, key: &str, error: PyObject) -> 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/schema.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | instance: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | instance: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: 34 warnings emitted [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/errors.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(errors: PyObject) -> 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: `--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] [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/fields/any.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn serialize(&self, _py: Python, value: &PyAny) -> 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/fields/bool.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/bytes.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/date.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/date.rs:40:59 [INFO] [stdout] | [INFO] [stdout] 40 | fn parse_and_format_date(&self, py: Python, date_str: &PyAny) -> 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/fields/date.rs:50:54 [INFO] [stdout] | [INFO] [stdout] 50 | fn format_and_return(&self, py: Python, py_date: &PyAny) -> 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/fields/datetime.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/datetime.rs:50:67 [INFO] [stdout] | [INFO] [stdout] 50 | fn parse_and_format_datetime(&self, py: Python, datetime_str: &PyAny) -> 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/fields/datetime.rs:71:58 [INFO] [stdout] | [INFO] [stdout] 71 | fn format_and_return(&self, py: Python, py_datetime: &PyAny) -> 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/fields/decimal.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/dict.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/dict.rs:34:50 [INFO] [stdout] | [INFO] [stdout] 34 | fn serialize_child(&self, py: Python, child: &PyAny) -> 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/fields/float.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/int.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/list.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/str.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | fn serialize(&self, py: Python, value: &PyAny) -> 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/macros.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | $( $field_name: $field_type, )* [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/fields/union.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / impl_py_methods!(Union, required, { fields: Vec }, { [INFO] [stdout] 13 | | fn serialize(&self, py: Python, value: &PyAny) -> PyResult { [INFO] [stdout] 14 | | for field in &self.fields { [INFO] [stdout] 15 | | if let Ok(py_field) = field.downcast::(py) { [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_py_methods` (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/fields/union.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | fn serialize(&self, py: Python, value: &PyAny) -> 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/fields/uuid.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | fn serialize(&self, py: Python, value: &PyAny) -> 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/macros.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | $( $field_name: $field_type, )* [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/schema.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / impl_py_methods!(Schema, required, { fields: HashMap, context: HashMap}, { [INFO] [stdout] 19 | | fn get_attr_value( [INFO] [stdout] 20 | | &self, [INFO] [stdout] 21 | | py: Python, [INFO] [stdout] ... | [INFO] [stdout] 150 | | [INFO] [stdout] 151 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `impl_py_methods` (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/schema.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | mut instance: PyObject, [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | field: Field, [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | key: &str, [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | attr_value: PyObject, [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | field: Field, [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | key: &str, [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | field: Field, [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | instance: PyObject, [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:68:45 [INFO] [stdout] | [INFO] [stdout] 68 | fn add_error(&self, py: Python, errors: &PyDict, key: &str, error: PyObject) -> 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/schema.rs:68:59 [INFO] [stdout] | [INFO] [stdout] 68 | fn add_error(&self, py: Python, errors: &PyDict, key: &str, error: PyObject) -> 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/schema.rs:68:72 [INFO] [stdout] | [INFO] [stdout] 68 | fn add_error(&self, py: Python, errors: &PyDict, key: &str, error: PyObject) -> 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/schema.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | instance: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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/schema.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | instance: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: 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: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.39s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] error: failed to parse manifest at `/tmp/fixit/Cargo.toml` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] feature `default` includes `mimalloc` which is neither a dependency nor another feature [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0a081ce0300d991402ab7c9033574d664666c209fffd0b369a08d7aa5377a5f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a081ce0300d991402ab7c9033574d664666c209fffd0b369a08d7aa5377a5f1", kill_on_drop: false }` [INFO] [stdout] 0a081ce0300d991402ab7c9033574d664666c209fffd0b369a08d7aa5377a5f1