[INFO] fetching crate python-oxidized-importer 0.9.0... [INFO] testing python-oxidized-importer-0.9.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate python-oxidized-importer 0.9.0 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] started tweaking crates.io crate python-oxidized-importer 0.9.0 [INFO] finished tweaking crates.io crate python-oxidized-importer 0.9.0 [INFO] tweaked toml for crates.io crate python-oxidized-importer 0.9.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate python-oxidized-importer 0.9.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 63 packages to latest compatible versions [INFO] [stderr] Adding memmap2 v0.5.10 (available: v0.9.10) [INFO] [stderr] Adding pyo3 v0.17.3 (available: v0.28.3) [INFO] [stderr] Adding zip v0.6.6 (available: v8.5.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quoted_printable v0.5.2 [INFO] [stderr] Downloaded charset v0.1.5 [INFO] [stderr] Downloaded python-packed-resources v0.12.0 [INFO] [stderr] Downloaded memoffset v0.6.5 [INFO] [stderr] Downloaded pyo3-macros v0.17.3 [INFO] [stderr] Downloaded simple-file-manifest v0.11.0 [INFO] [stderr] Downloaded mailparse v0.14.1 [INFO] [stderr] Downloaded target-lexicon v0.12.16 [INFO] [stderr] Downloaded memory-module-sys v0.3.0 [INFO] [stderr] Downloaded zip v0.6.6 [INFO] [stderr] Downloaded pyo3-macros-backend v0.17.3 [INFO] [stderr] Downloaded pyo3-ffi v0.17.3 [INFO] [stderr] Downloaded pyo3-build-config v0.17.3 [INFO] [stderr] Downloaded unindent v0.1.11 [INFO] [stderr] Downloaded python-packaging v0.16.0 [INFO] [stderr] Downloaded pyo3 v0.17.3 [INFO] [stderr] Downloaded spdx v0.10.9 [INFO] [stderr] Downloaded indoc v1.0.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3de39273148fdc3151ca960ff19b5ca9d396ef6589ef24e3d70d18a41ca9ccf4 [INFO] running `Command { std: "docker" "start" "-a" "3de39273148fdc3151ca960ff19b5ca9d396ef6589ef24e3d70d18a41ca9ccf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3de39273148fdc3151ca960ff19b5ca9d396ef6589ef24e3d70d18a41ca9ccf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3de39273148fdc3151ca960ff19b5ca9d396ef6589ef24e3d70d18a41ca9ccf4", kill_on_drop: false }` [INFO] [stdout] 3de39273148fdc3151ca960ff19b5ca9d396ef6589ef24e3d70d18a41ca9ccf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aef74eb4d062172796b69ff7807f4c9f30631630a2af7f2bdaa05eccc2cf2a2c [INFO] running `Command { std: "docker" "start" "-a" "aef74eb4d062172796b69ff7807f4c9f30631630a2af7f2bdaa05eccc2cf2a2c", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling quoted_printable v0.5.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling spdx v0.10.9 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling simple-file-manifest v0.11.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling unindent v0.1.11 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling pyo3-build-config v0.17.3 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling charset v0.1.5 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling python-packed-resources v0.12.0 [INFO] [stderr] Compiling mailparse v0.14.1 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling pyo3-ffi v0.17.3 [INFO] [stderr] Compiling pyo3 v0.17.3 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling pyo3-macros-backend v0.17.3 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling python-packaging v0.16.0 [INFO] [stderr] Compiling pyo3-macros v0.17.3 [INFO] [stderr] Compiling python-oxidized-importer v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/importer.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | let mut state = get_module_state(oxidized_importer)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | let mut state = get_module_state(m)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&raw mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/importer.rs:1210:1 [INFO] [stdout] | [INFO] [stdout] 1210 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__truediv__` and up 2 bodies [INFO] [stdout] 1211 | impl PyOxidizerTraversable { [INFO] [stdout] | --------------------- `PyOxidizerTraversable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/package_metadata.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn discover_resolvers(py: Python) -> PyResult<&PyList> { [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] 20 | fn discover_resolvers(py: Python<'_>) -> PyResult<&PyList> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(py: Python, resource: RawPythonModuleSource) -> PyResult<&PyCell> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(py: Python<'_>, resource: RawPythonModuleSource) -> PyResult<&PyCell> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_resource(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_resource(&self) -> Ref<'_, RawPythonModuleSource> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new(py: Python, resource: RawPythonModuleBytecode) -> PyResult<&PyCell> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new(py: Python<'_>, resource: RawPythonModuleBytecode) -> PyResult<&PyCell> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_resource(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_resource(&self) -> Ref<'_, RawPythonModuleBytecode> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn new(py: Python, resource: RawPythonPackageResource) -> PyResult<&PyCell> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 221 | pub fn new(py: Python<'_>, resource: RawPythonPackageResource) -> PyResult<&PyCell> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn get_resource(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | pub fn get_resource(&self) -> Ref<'_, RawPythonPackageResource> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | py: Python, [INFO] [stdout] | ^^^^^^ the lifetime is hidden here [INFO] [stdout] 309 | resource: RawPythonPackageDistributionResource, [INFO] [stdout] 310 | ) -> PyResult<&PyCell> { [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 308 | py: Python<'_>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:319:25 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_resource(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_resource(&self) -> Ref<'_, RawPythonPackageDistributionResource> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:412:20 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn new(py: Python, resource: RawPythonExtensionModule) -> PyResult<&PyCell> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 412 | pub fn new(py: Python<'_>, resource: RawPythonExtensionModule) -> PyResult<&PyCell> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn get_resource(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 421 | pub fn get_resource(&self) -> Ref<'_, RawPythonExtensionModule> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resources.rs:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 639 | ) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 639 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.46s [INFO] running `Command { std: "docker" "inspect" "aef74eb4d062172796b69ff7807f4c9f30631630a2af7f2bdaa05eccc2cf2a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aef74eb4d062172796b69ff7807f4c9f30631630a2af7f2bdaa05eccc2cf2a2c", kill_on_drop: false }` [INFO] [stdout] aef74eb4d062172796b69ff7807f4c9f30631630a2af7f2bdaa05eccc2cf2a2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 043c6468e295d820a061b1923f32ab707e3a8e46fd719a88cce418dd6bf1b4e3 [INFO] running `Command { std: "docker" "start" "-a" "043c6468e295d820a061b1923f32ab707e3a8e46fd719a88cce418dd6bf1b4e3", kill_on_drop: false }` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/importer.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | let mut state = get_module_state(oxidized_importer)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | let mut state = get_module_state(m)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&raw mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/importer.rs:1210:1 [INFO] [stdout] | [INFO] [stdout] 1210 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__truediv__` and up 2 bodies [INFO] [stdout] 1211 | impl PyOxidizerTraversable { [INFO] [stdout] | --------------------- `PyOxidizerTraversable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/package_metadata.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn discover_resolvers(py: Python) -> PyResult<&PyList> { [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] 20 | fn discover_resolvers(py: Python<'_>) -> PyResult<&PyList> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(py: Python, resource: RawPythonModuleSource) -> PyResult<&PyCell> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(py: Python<'_>, resource: RawPythonModuleSource) -> PyResult<&PyCell> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_resource(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_resource(&self) -> Ref<'_, RawPythonModuleSource> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new(py: Python, resource: RawPythonModuleBytecode) -> PyResult<&PyCell> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new(py: Python<'_>, resource: RawPythonModuleBytecode) -> PyResult<&PyCell> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_resource(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_resource(&self) -> Ref<'_, RawPythonModuleBytecode> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn new(py: Python, resource: RawPythonPackageResource) -> PyResult<&PyCell> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 221 | pub fn new(py: Python<'_>, resource: RawPythonPackageResource) -> PyResult<&PyCell> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn get_resource(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | pub fn get_resource(&self) -> Ref<'_, RawPythonPackageResource> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | py: Python, [INFO] [stdout] | ^^^^^^ the lifetime is hidden here [INFO] [stdout] 309 | resource: RawPythonPackageDistributionResource, [INFO] [stdout] 310 | ) -> PyResult<&PyCell> { [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 308 | py: Python<'_>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling python-oxidized-importer v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:319:25 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_resource(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_resource(&self) -> Ref<'_, RawPythonPackageDistributionResource> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:412:20 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn new(py: Python, resource: RawPythonExtensionModule) -> PyResult<&PyCell> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 412 | pub fn new(py: Python<'_>, resource: RawPythonExtensionModule) -> PyResult<&PyCell> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn get_resource(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 421 | pub fn get_resource(&self) -> Ref<'_, RawPythonExtensionModule> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resources.rs:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 639 | ) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 639 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/importer.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | let mut state = get_module_state(oxidized_importer)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | let mut state = get_module_state(m)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&raw mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/importer.rs:1210:1 [INFO] [stdout] | [INFO] [stdout] 1210 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this method `__truediv__` and up 2 bodies [INFO] [stdout] 1211 | impl PyOxidizerTraversable { [INFO] [stdout] | --------------------- `PyOxidizerTraversable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/package_metadata.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn discover_resolvers(py: Python) -> PyResult<&PyList> { [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] 20 | fn discover_resolvers(py: Python<'_>) -> PyResult<&PyList> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(py: Python, resource: RawPythonModuleSource) -> PyResult<&PyCell> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(py: Python<'_>, resource: RawPythonModuleSource) -> PyResult<&PyCell> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_resource(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_resource(&self) -> Ref<'_, RawPythonModuleSource> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new(py: Python, resource: RawPythonModuleBytecode) -> PyResult<&PyCell> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new(py: Python<'_>, resource: RawPythonModuleBytecode) -> PyResult<&PyCell> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_resource(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_resource(&self) -> Ref<'_, RawPythonModuleBytecode> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn new(py: Python, resource: RawPythonPackageResource) -> PyResult<&PyCell> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 221 | pub fn new(py: Python<'_>, resource: RawPythonPackageResource) -> PyResult<&PyCell> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn get_resource(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | pub fn get_resource(&self) -> Ref<'_, RawPythonPackageResource> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | py: Python, [INFO] [stdout] | ^^^^^^ the lifetime is hidden here [INFO] [stdout] 309 | resource: RawPythonPackageDistributionResource, [INFO] [stdout] 310 | ) -> PyResult<&PyCell> { [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 308 | py: Python<'_>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:319:25 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_resource(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_resource(&self) -> Ref<'_, RawPythonPackageDistributionResource> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:412:20 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn new(py: Python, resource: RawPythonExtensionModule) -> PyResult<&PyCell> { [INFO] [stdout] | ^^^^^^ the lifetime is hidden here ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 412 | pub fn new(py: Python<'_>, resource: RawPythonExtensionModule) -> PyResult<&PyCell> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resource_types.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn get_resource(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 421 | pub fn get_resource(&self) -> Ref<'_, RawPythonExtensionModule> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/python_resources.rs:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 639 | ) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 639 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.51s [INFO] running `Command { std: "docker" "inspect" "043c6468e295d820a061b1923f32ab707e3a8e46fd719a88cce418dd6bf1b4e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "043c6468e295d820a061b1923f32ab707e3a8e46fd719a88cce418dd6bf1b4e3", kill_on_drop: false }` [INFO] [stdout] 043c6468e295d820a061b1923f32ab707e3a8e46fd719a88cce418dd6bf1b4e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1b991e836cedf1994a8bad99a93f00e148274bf6248460cf251ff1955dd99d8a [INFO] running `Command { std: "docker" "start" "-a" "1b991e836cedf1994a8bad99a93f00e148274bf6248460cf251ff1955dd99d8a", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/importer.rs:1288:9 [INFO] [stderr] | [INFO] [stderr] 1288 | let mut state = get_module_state(oxidized_importer)?; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:183:9 [INFO] [stderr] | [INFO] [stderr] 183 | let mut state = get_module_state(m)?; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:112:50 [INFO] [stderr] | [INFO] [stderr] 112 | let module = unsafe { pyffi::PyModule_Create(&mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stderr] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [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] = note: for more information, see [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 112 | let module = unsafe { pyffi::PyModule_Create(&raw mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/importer.rs:1210:1 [INFO] [stderr] | [INFO] [stderr] 1210 | #[pymethods] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | move the `impl` block outside of this method `__truediv__` and up 2 bodies [INFO] [stderr] 1211 | impl PyOxidizerTraversable { [INFO] [stderr] | --------------------- `PyOxidizerTraversable` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/package_metadata.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | fn discover_resolvers(py: Python) -> PyResult<&PyList> { [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] 20 | fn discover_resolvers(py: Python<'_>) -> PyResult<&PyList> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/python_resource_types.rs:31:20 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn new(py: Python, resource: RawPythonModuleSource) -> PyResult<&PyCell> { [INFO] [stderr] | ^^^^^^ the lifetime is hidden here ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 31 | pub fn new(py: Python<'_>, resource: RawPythonModuleSource) -> PyResult<&PyCell> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/python_resource_types.rs:40:25 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn get_resource(&self) -> Ref { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 40 | pub fn get_resource(&self) -> Ref<'_, RawPythonModuleSource> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/python_resource_types.rs:116:20 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn new(py: Python, resource: RawPythonModuleBytecode) -> PyResult<&PyCell> { [INFO] [stderr] | ^^^^^^ the lifetime is hidden here ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 116 | pub fn new(py: Python<'_>, resource: RawPythonModuleBytecode) -> PyResult<&PyCell> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/python_resource_types.rs:125:25 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn get_resource(&self) -> Ref { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 125 | pub fn get_resource(&self) -> Ref<'_, RawPythonModuleBytecode> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/python_resource_types.rs:221:20 [INFO] [stderr] | [INFO] [stderr] 221 | pub fn new(py: Python, resource: RawPythonPackageResource) -> PyResult<&PyCell> { [INFO] [stderr] | ^^^^^^ the lifetime is hidden here ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 221 | pub fn new(py: Python<'_>, resource: RawPythonPackageResource) -> PyResult<&PyCell> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/python_resource_types.rs:230:25 [INFO] [stderr] | [INFO] [stderr] 230 | pub fn get_resource(&self) -> Ref { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 230 | pub fn get_resource(&self) -> Ref<'_, RawPythonPackageResource> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/python_resource_types.rs:308:13 [INFO] [stderr] | [INFO] [stderr] 308 | py: Python, [INFO] [stderr] | ^^^^^^ the lifetime is hidden here [INFO] [stderr] 309 | resource: RawPythonPackageDistributionResource, [INFO] [stderr] 310 | ) -> PyResult<&PyCell> { [INFO] [stderr] | ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 308 | py: Python<'_>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/python_resource_types.rs:319:25 [INFO] [stderr] | [INFO] [stderr] 319 | pub fn get_resource(&self) -> Ref { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 319 | pub fn get_resource(&self) -> Ref<'_, RawPythonPackageDistributionResource> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/python_resource_types.rs:412:20 [INFO] [stderr] | [INFO] [stderr] 412 | pub fn new(py: Python, resource: RawPythonExtensionModule) -> PyResult<&PyCell> { [INFO] [stderr] | ^^^^^^ the lifetime is hidden here ^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 412 | pub fn new(py: Python<'_>, resource: RawPythonExtensionModule) -> PyResult<&PyCell> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/python_resource_types.rs:421:25 [INFO] [stderr] | [INFO] [stderr] 421 | pub fn get_resource(&self) -> Ref { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 421 | pub fn get_resource(&self) -> Ref<'_, RawPythonExtensionModule> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/python_resources.rs:636:9 [INFO] [stderr] | [INFO] [stderr] 636 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 639 | ) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 639 | ) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `python-oxidized-importer` (lib) generated 16 warnings (run `cargo fix --lib -p python-oxidized-importer` to apply 14 suggestions) [INFO] [stderr] warning: `python-oxidized-importer` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/oxidized_importer-2cde322c6dc2f690) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests oxidized_importer [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1b991e836cedf1994a8bad99a93f00e148274bf6248460cf251ff1955dd99d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b991e836cedf1994a8bad99a93f00e148274bf6248460cf251ff1955dd99d8a", kill_on_drop: false }` [INFO] [stdout] 1b991e836cedf1994a8bad99a93f00e148274bf6248460cf251ff1955dd99d8a