[INFO] fetching crate pyembed 0.24.0... [INFO] checking pyembed-0.24.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pyembed 0.24.0 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pyembed 0.24.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 103 packages to latest compatible versions [INFO] [stderr] Adding pyo3 v0.17.3 (available: v0.25.1) [INFO] [stderr] Adding pyo3-build-config v0.17.3 (available: v0.25.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded python-packed-resources v0.12.0 [INFO] [stderr] Downloaded mailparse v0.14.1 [INFO] [stderr] Downloaded memory-module-sys v0.3.0 [INFO] [stderr] Downloaded simple-file-manifest v0.11.0 [INFO] [stderr] Downloaded quoted_printable v0.5.1 [INFO] [stderr] Downloaded python-oxidized-importer v0.9.0 [INFO] [stderr] Downloaded python-packaging v0.16.0 [INFO] [stderr] Downloaded jemalloc-sys v0.5.4+5.3.0-patched [INFO] [stderr] Downloaded snmalloc-sys v0.2.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3089b781ea6c4279deb1fe37e6a6b87f3befd575d2e4aa2e60dce84d6ed59830 [INFO] running `Command { std: "docker" "start" "-a" "3089b781ea6c4279deb1fe37e6a6b87f3befd575d2e4aa2e60dce84d6ed59830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3089b781ea6c4279deb1fe37e6a6b87f3befd575d2e4aa2e60dce84d6ed59830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3089b781ea6c4279deb1fe37e6a6b87f3befd575d2e4aa2e60dce84d6ed59830", kill_on_drop: false }` [INFO] [stdout] 3089b781ea6c4279deb1fe37e6a6b87f3befd575d2e4aa2e60dce84d6ed59830 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00e0a4c7a8ffad66eedf7aa70fdc4b88425ef3403e342c4a616a9f036e4467e2 [INFO] running `Command { std: "docker" "start" "-a" "00e0a4c7a8ffad66eedf7aa70fdc4b88425ef3403e342c4a616a9f036e4467e2", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking spdx v0.10.9 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking simple-file-manifest v0.11.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking python-packed-resources v0.12.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Compiling pyo3-build-config v0.17.3 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking charset v0.1.5 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking mailparse v0.14.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking regex-automata v0.4.10 [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] Checking tempfile v3.21.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking python-packaging v0.16.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.17.3 [INFO] [stderr] Compiling pyo3-macros v0.17.3 [INFO] [stderr] Checking 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)]` 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)]` 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: 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)]` 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)]` 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 `dev` profile [unoptimized + debuginfo] target(s) in 23.04s [INFO] running `Command { std: "docker" "inspect" "00e0a4c7a8ffad66eedf7aa70fdc4b88425ef3403e342c4a616a9f036e4467e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00e0a4c7a8ffad66eedf7aa70fdc4b88425ef3403e342c4a616a9f036e4467e2", kill_on_drop: false }` [INFO] [stdout] 00e0a4c7a8ffad66eedf7aa70fdc4b88425ef3403e342c4a616a9f036e4467e2