[INFO] fetching crate pyembed 0.24.0... [INFO] testing pyembed-0.24.0 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate pyembed 0.24.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate pyembed 0.24.0 [INFO] finished tweaking crates.io crate pyembed 0.24.0 [INFO] tweaked toml for crates.io crate pyembed 0.24.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pyembed 0.24.0 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 88 packages to latest compatible versions [INFO] [stderr] Adding pyo3 v0.17.3 (available: v0.27.1) [INFO] [stderr] Adding pyo3-build-config v0.17.3 (available: v0.27.1) [INFO] [stderr] Adding snmalloc-sys v0.2.28 (available: v0.3.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bdad2edd116be652ebe8950a44dae82a54acc611d05607b836df753bd146ecf [INFO] running `Command { std: "docker" "start" "-a" "6bdad2edd116be652ebe8950a44dae82a54acc611d05607b836df753bd146ecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bdad2edd116be652ebe8950a44dae82a54acc611d05607b836df753bd146ecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bdad2edd116be652ebe8950a44dae82a54acc611d05607b836df753bd146ecf", kill_on_drop: false }` [INFO] [stdout] 6bdad2edd116be652ebe8950a44dae82a54acc611d05607b836df753bd146ecf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35170b0271fde5f1b6fd8457d946c828f4c492c3f895c8d222bd5a6e3a1b3c66 [INFO] running `Command { std: "docker" "start" "-a" "35170b0271fde5f1b6fd8457d946c828f4c492c3f895c8d222bd5a6e3a1b3c66", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling pyo3-build-config v0.17.3 [INFO] [stderr] Compiling quoted_printable v0.5.1 [INFO] [stderr] Compiling spdx v0.10.9 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling python-packed-resources v0.12.0 [INFO] [stderr] Compiling simple-file-manifest v0.11.0 [INFO] [stderr] Compiling unindent v0.1.11 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling charset v0.1.5 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling mailparse v0.14.1 [INFO] [stderr] Compiling python-packaging v0.16.0 [INFO] [stderr] Compiling pyo3-ffi v0.17.3 [INFO] [stderr] Compiling pyo3 v0.17.3 [INFO] [stderr] Compiling pyembed v0.24.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pyo3-macros-backend v0.17.3 [INFO] [stderr] Compiling pyo3-macros v0.17.3 [INFO] [stderr] Compiling python-oxidized-importer v0.9.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/conversion.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn osstring_to_bytes(py: Python, s: OsString) -> &PyAny { [INFO] [stdout] | ^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn osstring_to_bytes(py: Python<'_>, s: OsString) -> &PyAny { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/interpreter.rs:635:12 [INFO] [stdout] | [INFO] [stdout] 635 | if ORIGINAL_BUILTIN_EXTENSIONS.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/interpreter.rs:653:35 [INFO] [stdout] | [INFO] [stdout] 653 | let mut extensions = unsafe { ORIGINAL_BUILTIN_EXTENSIONS.as_ref().unwrap().clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/interpreter.rs:687:35 [INFO] [stdout] | [INFO] [stdout] 687 | pyffi::PyImport_Inittab = REPLACED_BUILTIN_EXTENSIONS.as_mut().unwrap().as_mut_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/pyalloc.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | Box::into_raw(self.inner.take().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 197 | let _ = Box::into_raw(self.inner.take().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.54s [INFO] running `Command { std: "docker" "inspect" "35170b0271fde5f1b6fd8457d946c828f4c492c3f895c8d222bd5a6e3a1b3c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35170b0271fde5f1b6fd8457d946c828f4c492c3f895c8d222bd5a6e3a1b3c66", kill_on_drop: false }` [INFO] [stdout] 35170b0271fde5f1b6fd8457d946c828f4c492c3f895c8d222bd5a6e3a1b3c66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdb177669409b59a88ed0e3567ffd750ecfb2aff3a989bb2acbe504b2352f33b [INFO] running `Command { std: "docker" "start" "-a" "fdb177669409b59a88ed0e3567ffd750ecfb2aff3a989bb2acbe504b2352f33b", kill_on_drop: false }` [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/conversion.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn osstring_to_bytes(py: Python, s: OsString) -> &PyAny { [INFO] [stdout] | ^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn osstring_to_bytes(py: Python<'_>, s: OsString) -> &PyAny { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/interpreter.rs:635:12 [INFO] [stdout] | [INFO] [stdout] 635 | if ORIGINAL_BUILTIN_EXTENSIONS.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/interpreter.rs:653:35 [INFO] [stdout] | [INFO] [stdout] 653 | let mut extensions = unsafe { ORIGINAL_BUILTIN_EXTENSIONS.as_ref().unwrap().clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/interpreter.rs:687:35 [INFO] [stdout] | [INFO] [stdout] 687 | pyffi::PyImport_Inittab = REPLACED_BUILTIN_EXTENSIONS.as_mut().unwrap().as_mut_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/pyalloc.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | Box::into_raw(self.inner.take().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 197 | let _ = Box::into_raw(self.inner.take().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling rusty-fork v0.3.1 [INFO] [stderr] Compiling pyembed v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/conversion.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn osstring_to_bytes(py: Python, s: OsString) -> &PyAny { [INFO] [stdout] | ^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn osstring_to_bytes(py: Python<'_>, s: OsString) -> &PyAny { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/interpreter.rs:635:12 [INFO] [stdout] | [INFO] [stdout] 635 | if ORIGINAL_BUILTIN_EXTENSIONS.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/interpreter.rs:653:35 [INFO] [stdout] | [INFO] [stdout] 653 | let mut extensions = unsafe { ORIGINAL_BUILTIN_EXTENSIONS.as_ref().unwrap().clone() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/interpreter.rs:687:35 [INFO] [stdout] | [INFO] [stdout] 687 | pyffi::PyImport_Inittab = REPLACED_BUILTIN_EXTENSIONS.as_mut().unwrap().as_mut_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/pyalloc.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | Box::into_raw(self.inner.take().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 197 | let _ = Box::into_raw(self.inner.take().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/test/python_resources.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | drop(py); // PyTempDir::drop reacquires the GIL for itself [INFO] [stdout] | ^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `pyo3::Python<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 119 - drop(py); // PyTempDir::drop reacquires the GIL for itself [INFO] [stdout] 119 + let _ = py; // PyTempDir::drop reacquires the GIL for itself [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.66s [INFO] running `Command { std: "docker" "inspect" "fdb177669409b59a88ed0e3567ffd750ecfb2aff3a989bb2acbe504b2352f33b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdb177669409b59a88ed0e3567ffd750ecfb2aff3a989bb2acbe504b2352f33b", kill_on_drop: false }` [INFO] [stdout] fdb177669409b59a88ed0e3567ffd750ecfb2aff3a989bb2acbe504b2352f33b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 796f952bba30dcd0da2a2e089fed41242629d7d5294ce1df5e78b48c61ccfade [INFO] running `Command { std: "docker" "start" "-a" "796f952bba30dcd0da2a2e089fed41242629d7d5294ce1df5e78b48c61ccfade", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/conversion.rs:19:30 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn osstring_to_bytes(py: Python, s: OsString) -> &PyAny { [INFO] [stderr] | ^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 19 | pub fn osstring_to_bytes(py: Python<'_>, s: OsString) -> &PyAny { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/interpreter.rs:635:12 [INFO] [stderr] | [INFO] [stderr] 635 | if ORIGINAL_BUILTIN_EXTENSIONS.is_none() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/interpreter.rs:653:35 [INFO] [stderr] | [INFO] [stderr] 653 | let mut extensions = unsafe { ORIGINAL_BUILTIN_EXTENSIONS.as_ref().unwrap().clone() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/interpreter.rs:687:35 [INFO] [stderr] | [INFO] [stderr] 687 | pyffi::PyImport_Inittab = REPLACED_BUILTIN_EXTENSIONS.as_mut().unwrap().as_mut_ptr(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stderr] --> src/pyalloc.rs:197:9 [INFO] [stderr] | [INFO] [stderr] 197 | Box::into_raw(self.inner.take().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: losing the pointer will leak memory [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 197 | let _ = Box::into_raw(self.inner.take().unwrap()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/test/python_resources.rs:119:17 [INFO] [stderr] | [INFO] [stderr] 119 | drop(py); // PyTempDir::drop reacquires the GIL for itself [INFO] [stderr] | ^^^^^--^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `pyo3::Python<'_>` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 119 - drop(py); // PyTempDir::drop reacquires the GIL for itself [INFO] [stderr] 119 + let _ = py; // PyTempDir::drop reacquires the GIL for itself [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `pyembed` (lib) generated 5 warnings (run `cargo fix --lib -p pyembed` to apply 1 suggestion) [INFO] [stderr] warning: `pyembed` (lib test) generated 6 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pyembed-046f3df11cca7cc8) [INFO] [stdout] [INFO] [stdout] running 59 tests [INFO] [stdout] test config::tests::test_packed_resources_explicit_origin ... ok [INFO] [stdout] test config::tests::test_packed_resources_implicit_origin ... ok [INFO] [stdout] test test::importer::importer_indexing ... FAILED [INFO] [stdout] test test::importer::no_resources ... FAILED [INFO] [stdout] test test::importer::importer_construction_py ... FAILED [INFO] [stdout] test test::importer::importer_resources_py ... FAILED [INFO] [stdout] test test::importer::importer_metadata_py ... FAILED [INFO] [stdout] test test::importer::importer_resource_scanning_py ... FAILED [INFO] [stdout] test test::importer::importer_pkg_resources_py ... FAILED [INFO] [stdout] test test::interpreter_config::test_allocator_debug ... ok [INFO] [stdout] test test::interpreter_config::test_allocator_debug_custom_backend ... ok [INFO] [stdout] test test::interpreter_config::test_allocator_rust_pymalloc_arena ... ok [INFO] [stdout] test test::importer::importer_path_entry_finder_py ... FAILED [INFO] [stdout] test test::importer::importer_module_loading_py ... FAILED [INFO] [stdout] test test::importer::importer_iter_modules_py ... FAILED [INFO] [stdout] test test::interpreter_config::test_allocator_rust ... ok [INFO] [stdout] test test::interpreter_config::test_argv_respect_interpreter_config ... FAILED [INFO] [stdout] test test::importer::importer_resource_collector_py ... FAILED [INFO] [stdout] test test::interpreter_config::test_argv_utf8 ... FAILED [INFO] [stdout] test test::interpreter_config::test_argv_override ... FAILED [INFO] [stdout] test test::interpreter_config::test_bytes_warning_raise ... FAILED [INFO] [stdout] test test::interpreter_config::test_argvb_utf8 ... ok [INFO] [stdout] test test::importer::find_spec_missing ... FAILED [INFO] [stdout] test test::importer::importer_resource_reading_py ... FAILED [INFO] [stdout] test test::interpreter_config::test_importer_filesystem ... ok [INFO] [stdout] test test::interpreter_config::test_dev_mode ... ok [INFO] [stdout] test test::importer::builtins_py ... FAILED [INFO] [stdout] test test::interpreter_config::test_allocator_default ... ok [INFO] [stdout] test test::importer::zip_importer_py ... FAILED [INFO] [stdout] test test::interpreter_config::test_argv_utf8_isolated_configure_locale ... FAILED [INFO] [stdout] test test::importer::importer_module_py ... FAILED [INFO] [stdout] test test::interpreter_config::test_inspect ... FAILED [INFO] [stdout] test test::interpreter_config::test_tcl_library_origin ... ok [INFO] [stdout] test test::interpreter_config::test_optimization_level_one ... FAILED [INFO] [stdout] test test::interpreter_config::test_isolated_interpreter ... ok [INFO] [stdout] test test::interpreter_config::test_quiet ... FAILED [INFO] [stdout] test test::interpreter_config::test_site_import_true ... ok [INFO] [stdout] test test::interpreter_config::test_argv_default ... FAILED [INFO] [stdout] test test::interpreter_config::test_user_site_directory_true ... ok [INFO] [stdout] test test::interpreter_config::test_importer_neither ... ok [INFO] [stdout] test test::interpreter_config::test_default_interpreter ... FAILED [INFO] [stderr] [INFO] [stderr] thread 'test::python_resources::multiple_resource_blobs' (187) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/python-oxidized-importer-0.9.0/src/python_resources.rs:577:25: [INFO] [stderr] null pointer dereference occurred [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x59a72148da12 - std::backtrace_rs::backtrace::libunwind::trace::h16acf28769fcd909 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x59a72148da12 - std::backtrace_rs::backtrace::trace_unsynchronized::hb5541aa5d4f92513 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x59a72148da12 - std::sys::backtrace::_print_fmt::h8ac8268cb667a306 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x59a72148da12 - ::fmt::h47627beda0767f4c [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x59a7214bde7f - core::fmt::rt::Argument::fmt::h686a01ad57c1c92a [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x59a7214bde7f - core::fmt::write::h8a63064c67176fd8 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/mod.rs:1469:25 [INFO] [stderr] 6: 0x59a72143eee3 - std::io::default_write_fmt::hc257f38f86d39af6 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x59a72143eee3 - std::io::Write::write_fmt::h5e9b646cef91150b [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x59a7214546e2 - std::sys::backtrace::BacktraceLock::print::h4634d27c0afbaebb [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x59a72145ca9a - std::panicking::default_hook::{{closure}}::h23e0299d4738b766 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x59a72145c8f4 - std::panicking::default_hook::hfeec6294e8751b62 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x59a720b9adce - as core::ops::function::Fn>::call::h3f5a16438cee2b4e [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2019:9 [INFO] [stderr] 12: 0x59a720b9adce - test::test_main_with_exit_callback::{{closure}}::h9214498cef9aafc5 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x59a72145d14f - as core::ops::function::Fn>::call::hdb18da3e68df7464 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2019:9 [INFO] [stderr] 14: 0x59a72145d14f - std::panicking::panic_with_hook::hd57cd463d793ed79 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:842:13 [INFO] [stderr] 15: 0x59a72145cec6 - std::panicking::panic_handler::{{closure}}::hddd6216c3fddee3b [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:700:13 [INFO] [stderr] 16: 0x59a721454819 - std::sys::backtrace::__rust_end_short_backtrace::h5e7a56f283378525 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 17: 0x59a7214309dd - __rustc[256c90bb7e548b45]::rust_begin_unwind [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5 [INFO] [stderr] 18: 0x59a7214cdb7d - core::panicking::panic_nounwind_fmt::runtime::hd5eea0fd564156db [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:122:22 [INFO] [stderr] 19: 0x59a7214cdb7d - core::panicking::panic_nounwind_fmt::hd9aca48f58eaf762 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/intrinsics/mod.rs:2435:9 [INFO] [stderr] 20: 0x59a7214cdd5d - core::panicking::panic_null_pointer_dereference::h45129d05704e33a8 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:307:5 [INFO] [stderr] 21: 0x59a720c8850e - oxidized_importer::python_resources::PythonResourcesState::index_interpreter_frozen_modules::h8ced07f7b3e0ad91 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/python-oxidized-importer-0.9.0/src/python_resources.rs:577:25 [INFO] [stderr] 22: 0x59a720c867ec - oxidized_importer::python_resources::PythonResourcesState::index_interpreter_builtins::h4214af6d066c0c6b [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/python-oxidized-importer-0.9.0/src/python_resources.rs:611:14 [INFO] [stderr] 23: 0x59a720b3f005 - pyembed::config:: for oxidized_importer::python_resources::PythonResourcesState>::try_from::h5ffb7338cef35583 [INFO] [stderr] at /opt/rustwide/workdir/src/config.rs:634:14 [INFO] [stderr] 24: 0x59a720b38f4a - pyembed::test::python_resources::multiple_resource_blobs::hf01c684d92b0d687 [INFO] [stderr] at /opt/rustwide/workdir/src/test/python_resources.rs:39:25 [INFO] [stderr] 25: 0x59a720b394b7 - pyembed::test::python_resources::multiple_resource_blobs::{{closure}}::h72c6837a3fa5ec23 [INFO] [stderr] at /opt/rustwide/workdir/src/test/python_resources.rs:14:33 [INFO] [stderr] 26: 0x59a720b44626 - core::ops::function::FnOnce::call_once::hb45689ffdb6d834b [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 27: 0x59a720b9ac1b - core::ops::function::FnOnce::call_once::h43f43c5185cf39c2 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 28: 0x59a720b9ac1b - test::__rust_begin_short_backtrace::hc4fa634eb2764bdc [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:663:18 [INFO] [stderr] 29: 0x59a720bb0518 - test::run_test_in_process::{{closure}}::h9f4b799a5211b72a [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:686:74 [INFO] [stderr] 30: 0x59a720bb0518 - as core::ops::function::FnOnce<()>>::call_once::ha572bf7dc5230a8f [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 31: 0x59a720bb0518 - std::panicking::catch_unwind::do_call::hfd6ff51f25dd177b [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stderr] 32: 0x59a720bb0518 - std::panicking::catch_unwind::h8609b446221def5f [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stderr] 33: 0x59a720bb0518 - std::panic::catch_unwind::h362f73cc48531e26 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stderr] 34: 0x59a720bb0518 - test::run_test_in_process::hf52fd21d696aae67 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:686:27 [INFO] [stderr] 35: 0x59a720bb0518 - test::run_test::{{closure}}::h7e780b8354e6d007 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:607:43 [INFO] [stderr] 36: 0x59a720b874b4 - test::run_test::{{closure}}::hdc2695f2276aad3e [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:637:41 [INFO] [stderr] 37: 0x59a720b874b4 - std::sys::backtrace::__rust_begin_short_backtrace::h2555b2113ed90fc9 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 38: 0x59a720b8adea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h99800d480987dfb6 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/thread/mod.rs:562:17 [INFO] [stderr] 39: 0x59a720b8adea - as core::ops::function::FnOnce<()>>::call_once::hbbb69b5294b2221b [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 40: 0x59a720b8adea - std::panicking::catch_unwind::do_call::h495689350c27df20 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stderr] 41: 0x59a720b8adea - std::panicking::catch_unwind::hf22437c51d1b3740 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stderr] 42: 0x59a720b8adea - std::panic::catch_unwind::habda1a57de8231f8 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stderr] 43: 0x59a720b8adea - std::thread::Builder::spawn_unchecked_::{{closure}}::h5833d8dda8c7e80b [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/thread/mod.rs:560:30 [INFO] [stderr] 44: 0x59a720b8adea - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha2910283a5058402 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 45: 0x59a72144f03f - as core::ops::function::FnOnce>::call_once::he4d85cb537521972 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2005:9 [INFO] [stderr] 46: 0x59a72144f03f - std::sys::thread::unix::Thread::new::thread_start::hbaf586a9e50a98cd [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stderr] 47: 0x71e2f00e4aa4 - [INFO] [stderr] 48: 0x71e2f0171a64 - clone [INFO] [stderr] 49: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/pyembed-046f3df11cca7cc8` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "796f952bba30dcd0da2a2e089fed41242629d7d5294ce1df5e78b48c61ccfade", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "796f952bba30dcd0da2a2e089fed41242629d7d5294ce1df5e78b48c61ccfade", kill_on_drop: false }` [INFO] [stdout] 796f952bba30dcd0da2a2e089fed41242629d7d5294ce1df5e78b48c61ccfade