[INFO] fetching crate pyembed 0.24.0...
[INFO] testing pyembed-0.24.0 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate pyembed 0.24.0 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate pyembed 0.24.0 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 89 packages to latest compatible versions
[INFO] [stderr]       Adding pyo3 v0.17.3 (available: v0.26.0)
[INFO] [stderr]       Adding pyo3-build-config v0.17.3 (available: v0.26.0)
[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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quoted_printable v0.5.1
[INFO] [stderr]   Downloaded charset v0.1.5
[INFO] [stderr]   Downloaded mailparse v0.14.1
[INFO] [stderr]   Downloaded simple-file-manifest v0.11.0
[INFO] [stderr]   Downloaded python-packed-resources v0.12.0
[INFO] [stderr]   Downloaded memory-module-sys v0.3.0
[INFO] [stderr]   Downloaded indoc v1.0.9
[INFO] [stderr]   Downloaded pyo3-build-config v0.17.3
[INFO] [stderr]   Downloaded pyo3-macros-backend v0.17.3
[INFO] [stderr]   Downloaded pyo3-ffi v0.17.3
[INFO] [stderr]   Downloaded python-oxidized-importer v0.9.0
[INFO] [stderr]   Downloaded unindent v0.1.11
[INFO] [stderr]   Downloaded pyo3-macros v0.17.3
[INFO] [stderr]   Downloaded pyo3 v0.17.3
[INFO] [stderr]   Downloaded libmimalloc-sys v0.1.44
[INFO] [stderr]   Downloaded spdx v0.10.9
[INFO] [stderr]   Downloaded snmalloc-sys v0.2.28
[INFO] [stderr]   Downloaded python-packaging v0.16.0
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8ead5a11fda71e414d9346c22a600b35186346cd50e130bdf84f0c951defd4e5
[INFO] running `Command { std: "docker" "start" "-a" "8ead5a11fda71e414d9346c22a600b35186346cd50e130bdf84f0c951defd4e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8ead5a11fda71e414d9346c22a600b35186346cd50e130bdf84f0c951defd4e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ead5a11fda71e414d9346c22a600b35186346cd50e130bdf84f0c951defd4e5", kill_on_drop: false }`
[INFO] [stdout] 8ead5a11fda71e414d9346c22a600b35186346cd50e130bdf84f0c951defd4e5
[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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0112ef645601f15828212ba64c10bfee880941d7bb469e02f66e49ac5def6dd8
[INFO] running `Command { std: "docker" "start" "-a" "0112ef645601f15828212ba64c10bfee880941d7bb469e02f66e49ac5def6dd8", kill_on_drop: false }`
[INFO] [stderr]    Compiling target-lexicon v0.12.16
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling quoted_printable v0.5.1
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling spdx v0.10.9
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling python-packed-resources v0.12.0
[INFO] [stderr]    Compiling indoc v1.0.9
[INFO] [stderr]    Compiling unindent v0.1.11
[INFO] [stderr]    Compiling simple-file-manifest v0.11.0
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling flate2 v1.1.4
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling pyo3-build-config v0.17.3
[INFO] [stderr]    Compiling charset v0.1.5
[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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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)]` 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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::<T>::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)]` 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 1m 33s
[INFO] running `Command { std: "docker" "inspect" "0112ef645601f15828212ba64c10bfee880941d7bb469e02f66e49ac5def6dd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0112ef645601f15828212ba64c10bfee880941d7bb469e02f66e49ac5def6dd8", kill_on_drop: false }`
[INFO] [stdout] 0112ef645601f15828212ba64c10bfee880941d7bb469e02f66e49ac5def6dd8
[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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3364b06f058018f474fce52d12ef8020b8cc216c7a94c3dfd6ed6a7a0090d274
[INFO] running `Command { std: "docker" "start" "-a" "3364b06f058018f474fce52d12ef8020b8cc216c7a94c3dfd6ed6a7a0090d274", kill_on_drop: false }`
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling pathdiff v0.2.3
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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)]` 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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::<T>::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)]` 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 rusty-fork v0.3.1
[INFO] [stderr]    Compiling pyembed v0.24.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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)]` 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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::<T>::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)]` 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 9.03s
[INFO] running `Command { std: "docker" "inspect" "3364b06f058018f474fce52d12ef8020b8cc216c7a94c3dfd6ed6a7a0090d274", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3364b06f058018f474fce52d12ef8020b8cc216c7a94c3dfd6ed6a7a0090d274", kill_on_drop: false }`
[INFO] [stdout] 3364b06f058018f474fce52d12ef8020b8cc216c7a94c3dfd6ed6a7a0090d274
[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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6e0b99f6f7d778f5ab4536d11ae9a6bf645ec87a9f23154e7f35c94a07376b9a
[INFO] running `Command { std: "docker" "start" "-a" "6e0b99f6f7d778f5ab4536d11ae9a6bf645ec87a9f23154e7f35c94a07376b9a", kill_on_drop: false }`
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stderr]    |                              |
[INFO] [stderr]    |                              this lifetime flows to the output
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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)]` 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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::<T>::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)]` 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: `pyembed` (lib) generated 5 warnings
[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 test) generated 6 warnings (5 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pyembed-838677063fd0fd33)
[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_iter_modules_py ... FAILED
[INFO] [stdout] test test::importer::find_spec_missing ... FAILED
[INFO] [stdout] test test::importer::importer_pkg_resources_py ... FAILED
[INFO] [stdout] test test::importer::zip_importer_py ... FAILED
[INFO] [stdout] test test::importer::builtins_py ... FAILED
[INFO] [stdout] test test::importer::importer_construction_py ... FAILED
[INFO] [stdout] test test::interpreter_config::test_allocator_default ... FAILED
[INFO] [stdout] test test::interpreter_config::test_allocator_debug ... FAILED
[INFO] [stdout] test test::interpreter_config::test_allocator_debug_custom_backend ... FAILED
[INFO] [stdout] test test::interpreter_config::test_allocator_rust_pymalloc_arena ... FAILED
[INFO] [stdout] test test::interpreter_config::test_argv_default ... FAILED
[INFO] [stdout] test test::interpreter_config::test_argv_utf8 ... FAILED
[INFO] [stdout] test test::interpreter_config::test_argv_utf8_isolated ... FAILED
[INFO] [stdout] test test::interpreter_config::test_argv_override ... FAILED
[INFO] [stdout] test test::interpreter_config::test_argv_utf8_isolated_configure_locale ... FAILED
[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_bytes_warning_raise ... FAILED
[INFO] [stdout] test test::interpreter_config::test_default_interpreter ... FAILED
[INFO] [stdout] test test::interpreter_config::test_importer_filesystem ... FAILED
[INFO] [stdout] test test::interpreter_config::test_importer_neither ... FAILED
[INFO] [stdout] test test::interpreter_config::test_importer_oxidized ... FAILED
[INFO] [stdout] test test::interpreter_config::test_importer_oxidized_filesystem ... FAILED
[INFO] [stdout] test test::interpreter_config::test_inspect ... FAILED
[INFO] [stdout] test test::importer::importer_metadata_py ... FAILED
[INFO] [stdout] test test::interpreter_config::test_isolated_interpreter ... FAILED
[INFO] [stdout] test test::interpreter_config::test_optimization_level_one ... FAILED
[INFO] [stdout] test test::interpreter_config::test_quiet ... FAILED
[INFO] [stdout] test test::interpreter_config::test_site_import_false ... FAILED
[INFO] [stdout] test test::interpreter_config::test_site_import_true ... FAILED
[INFO] [stdout] test test::interpreter_config::test_optimization_level_two ... FAILED
[INFO] [stdout] test test::interpreter_config::test_dev_mode ... FAILED
[INFO] [stdout] test test::importer::importer_path_entry_finder_py ... FAILED
[INFO] [stdout] test test::interpreter_config::test_sys_paths_origin ... FAILED
[INFO] [stdout] test test::interpreter_config::test_tcl_library_origin ... ok
[INFO] [stdout] test test::interpreter_config::test_use_environment ... FAILED
[INFO] [stdout] test test::interpreter_config::test_user_site_directory_false ... FAILED
[INFO] [stdout] test test::importer::importer_resources_py ... FAILED
[INFO] [stdout] test test::main_python_interpreter::test_instantiate_interpreter ... FAILED
[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-838677063fd0fd33` (signal: 11, SIGSEGV: invalid memory reference)
[INFO] running `Command { std: "docker" "inspect" "6e0b99f6f7d778f5ab4536d11ae9a6bf645ec87a9f23154e7f35c94a07376b9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e0b99f6f7d778f5ab4536d11ae9a6bf645ec87a9f23154e7f35c94a07376b9a", kill_on_drop: false }`
[INFO] [stdout] 6e0b99f6f7d778f5ab4536d11ae9a6bf645ec87a9f23154e7f35c94a07376b9a
