[INFO] fetching crate pamly 0.3.5... [INFO] checking pamly-0.3.5 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate pamly 0.3.5 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate pamly 0.3.5 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pamly 0.3.5 [INFO] finished tweaking crates.io crate pamly 0.3.5 [INFO] tweaked toml for crates.io crate pamly 0.3.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate pamly 0.3.5 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9c37232643fe39a02ef977e3bfc06fdab11a8427a23a688a5011399decf6af7 [INFO] running `Command { std: "docker" "start" "-a" "a9c37232643fe39a02ef977e3bfc06fdab11a8427a23a688a5011399decf6af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9c37232643fe39a02ef977e3bfc06fdab11a8427a23a688a5011399decf6af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c37232643fe39a02ef977e3bfc06fdab11a8427a23a688a5011399decf6af7", kill_on_drop: false }` [INFO] [stdout] a9c37232643fe39a02ef977e3bfc06fdab11a8427a23a688a5011399decf6af7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc47f70b6c45e8844900ec4ca1c408b06d627ef2fa379054156f6e6c156c13e4 [INFO] running `Command { std: "docker" "start" "-a" "dc47f70b6c45e8844900ec4ca1c408b06d627ef2fa379054156f6e6c156c13e4", 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 num-traits v0.2.19 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking bytemuck v1.17.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking lock_api v0.4.12 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking bitstream-io v2.5.3 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking rgb v0.8.48 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking wide v0.7.28 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking image-webp v0.1.3 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling pyo3-build-config v0.22.2 [INFO] [stderr] Compiling serde_json v1.0.127 [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 approx v0.5.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling sqlite3-src v0.5.1 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking sqlite3-sys v0.15.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking sqlite v0.32.0 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.2 [INFO] [stderr] Compiling pyo3-ffi v0.22.2 [INFO] [stderr] Compiling pyo3 v0.22.2 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Checking simple_logger v4.3.3 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pyo3-macros v0.22.2 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking nalgebra v0.32.6 [INFO] [stderr] Checking ravif v0.11.10 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking imageproc v0.25.0 [INFO] [stderr] Checking pamly v0.3.5 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pamly` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/types/diagnosis.rs [INFO] [stderr] * src/types/mod.rs [INFO] [stderr] * src/types/stain.rs [INFO] [stderr] * src/types/tile_label.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/types/diagnosis.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | { 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/types/stain.rs:37:1 [INFO] [stderr] | [INFO] [stderr] 37 | { 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/types/tile_label.rs:58:1 [INFO] [stderr] | [INFO] [stderr] 58 | { 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[E0432]: unresolved import `diagnosis::Diagnosis` [INFO] [stderr] --> src/types/mod.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub use diagnosis::Diagnosis; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `Diagnosis` in `types::diagnosis` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `stain::Stain` [INFO] [stderr] --> src/types/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use stain::Stain; [INFO] [stderr] | ^^^^^^^^^^^^ no `Stain` in `types::stain` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tile_label::TileLabel` [INFO] [stderr] --> src/types/mod.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub use tile_label::TileLabel; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `TileLabel` in `types::tile_label` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/diagnosis.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn to_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/types/diagnosis.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/diagnosis.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(s: &str) -> 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[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/diagnosis.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn from_int(v: u8) -> 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[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/stain.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn to_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/types/stain.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/stain.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(s: &str) -> 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[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/stain.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn from_int(v: u8) -> 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[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/tile_label.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new(s: &str) -> 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[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/tile_label.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn to_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/types/tile_label.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/tile_label.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn from_int(v: u8) -> 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: expected item, found `{` [INFO] [stdout] --> src/types/diagnosis.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | { unsafe #[pymethods]} [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `diagnosis::Diagnosis` [INFO] [stdout] --> src/types/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use diagnosis::Diagnosis; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Diagnosis` in `types::diagnosis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/stain.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn to_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/types/stain.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/stain.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(s: &str) -> 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[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/stain.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn from_int(v: u8) -> 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[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/tile_label.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new(s: &str) -> 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[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/tile_label.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn to_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/types/tile_label.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/tile_label.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn from_int(v: u8) -> 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] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pamly` (lib) due to 3 previous errors; 6 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "dc47f70b6c45e8844900ec4ca1c408b06d627ef2fa379054156f6e6c156c13e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc47f70b6c45e8844900ec4ca1c408b06d627ef2fa379054156f6e6c156c13e4", kill_on_drop: false }` [INFO] [stdout] dc47f70b6c45e8844900ec4ca1c408b06d627ef2fa379054156f6e6c156c13e4