[INFO] fetching crate cpython 0.7.2... [INFO] testing cpython-0.7.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cpython 0.7.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate cpython 0.7.2 [INFO] finished tweaking crates.io crate cpython 0.7.2 [INFO] tweaked toml for crates.io crate cpython 0.7.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cpython 0.7.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cpython 0.7.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded python27-sys v0.7.0 [INFO] [stderr] Downloaded python3-sys v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b54483cd402ba95aa0e93fac116ad11a38042f8648943d7d6c0e5ad8aceb106 [INFO] running `Command { std: "docker" "start" "-a" "9b54483cd402ba95aa0e93fac116ad11a38042f8648943d7d6c0e5ad8aceb106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b54483cd402ba95aa0e93fac116ad11a38042f8648943d7d6c0e5ad8aceb106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b54483cd402ba95aa0e93fac116ad11a38042f8648943d7d6c0e5ad8aceb106", kill_on_drop: false }` [INFO] [stdout] 9b54483cd402ba95aa0e93fac116ad11a38042f8648943d7d6c0e5ad8aceb106 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 72cd976d18597d50d3e43ec58f4895f2d3eb7ef55640c1d106754ab398fa7247 [INFO] running `Command { std: "docker" "start" "-a" "72cd976d18597d50d3e43ec58f4895f2d3eb7ef55640c1d106754ab398fa7247", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cpython v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling python3-sys v0.7.2 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/boolobject.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pyobject_newtype!(PyBool, PyBool_Check, PyBool_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/capsule.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | pyobject_newtype!(PyCapsule, PyCapsule_CheckExact, PyCapsule_Type); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/dict.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pyobject_newtype!(PyDict, PyDict_Check, PyDict_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/list.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pyobject_newtype!(PyList, PyList_Check, PyList_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/module.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pyobject_newtype!(PyModule, PyModule_Check, PyModule_Type); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/num.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pyobject_newtype!(PyLong, PyLong_Check, PyLong_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/num.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pyobject_newtype!(PyFloat, PyFloat_Check, PyFloat_Type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/object.rs:113:44 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { PyType::from_type_ptr(py, &mut ffi::PyBaseObject_Type) } [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { PyType::from_type_ptr(py, &raw mut ffi::PyBaseObject_Type) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/set.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pyobject_newtype!(PySet, PySet_Check, PySet_Type); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/string.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pyobject_newtype!(PyString, PyUnicode_Check, PyUnicode_Type); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/string.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pyobject_newtype!(PyBytes, PyBytes_Check, PyBytes_Type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/objects/string.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn data(&self, py: Python) -> PyStringData { [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] 270 | pub fn data(&self, py: Python) -> PyStringData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/objects/string.rs:286:18 [INFO] [stdout] | [INFO] [stdout] 286 | fn data_impl(&self, _py: Python) -> PyStringData { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 286 | fn data_impl(&self, _py: Python) -> PyStringData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/objects/string.rs:321:22 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn to_string(&self, py: Python) -> PyResult> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 321 | pub fn to_string(&self, py: Python) -> PyResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/objects/string.rs:351:28 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn to_string_lossy(&self, py: Python) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 351 | pub fn to_string_lossy(&self, py: Python) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/tuple.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pyobject_newtype!(PyTuple, PyTuple_Check, PyTuple_Type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/objects/tuple.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn iter(&self, py: Python) -> slice::Iter { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 91 | pub fn iter(&self, py: Python) -> slice::Iter<'_, PyObject> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/typeobject.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pyobject_newtype!(PyType, PyType_Check, PyType_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.30s [INFO] running `Command { std: "docker" "inspect" "72cd976d18597d50d3e43ec58f4895f2d3eb7ef55640c1d106754ab398fa7247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72cd976d18597d50d3e43ec58f4895f2d3eb7ef55640c1d106754ab398fa7247", kill_on_drop: false }` [INFO] [stdout] 72cd976d18597d50d3e43ec58f4895f2d3eb7ef55640c1d106754ab398fa7247 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 56758d313fb8a4d5fe48ac6876cf02bffbe15dd6a658c248de55521de35a21ba [INFO] running `Command { std: "docker" "start" "-a" "56758d313fb8a4d5fe48ac6876cf02bffbe15dd6a658c248de55521de35a21ba", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/boolobject.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pyobject_newtype!(PyBool, PyBool_Check, PyBool_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/capsule.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | pyobject_newtype!(PyCapsule, PyCapsule_CheckExact, PyCapsule_Type); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/dict.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pyobject_newtype!(PyDict, PyDict_Check, PyDict_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/list.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pyobject_newtype!(PyList, PyList_Check, PyList_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/module.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pyobject_newtype!(PyModule, PyModule_Check, PyModule_Type); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/num.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pyobject_newtype!(PyLong, PyLong_Check, PyLong_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/num.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pyobject_newtype!(PyFloat, PyFloat_Check, PyFloat_Type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/object.rs:113:44 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { PyType::from_type_ptr(py, &mut ffi::PyBaseObject_Type) } [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { PyType::from_type_ptr(py, &raw mut ffi::PyBaseObject_Type) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/set.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pyobject_newtype!(PySet, PySet_Check, PySet_Type); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/string.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pyobject_newtype!(PyString, PyUnicode_Check, PyUnicode_Type); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/string.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pyobject_newtype!(PyBytes, PyBytes_Check, PyBytes_Type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/objects/string.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn data(&self, py: Python) -> PyStringData { [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] 270 | pub fn data(&self, py: Python) -> PyStringData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/objects/string.rs:286:18 [INFO] [stdout] | [INFO] [stdout] 286 | fn data_impl(&self, _py: Python) -> PyStringData { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 286 | fn data_impl(&self, _py: Python) -> PyStringData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/objects/string.rs:321:22 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn to_string(&self, py: Python) -> PyResult> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 321 | pub fn to_string(&self, py: Python) -> PyResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/objects/string.rs:351:28 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn to_string_lossy(&self, py: Python) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 351 | pub fn to_string_lossy(&self, py: Python) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/tuple.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pyobject_newtype!(PyTuple, PyTuple_Check, PyTuple_Type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/objects/tuple.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn iter(&self, py: Python) -> slice::Iter { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 91 | pub fn iter(&self, py: Python) -> slice::Iter<'_, PyObject> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/typeobject.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pyobject_newtype!(PyType, PyType_Check, PyType_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling cpython v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> tests/test_function.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | drop(py); // avoid unused variable warning [INFO] [stdout] | ^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `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] 114 - drop(py); // avoid unused variable warning [INFO] [stdout] 114 + let _ = py; // avoid unused variable warning [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> tests/test_function.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | drop(py); [INFO] [stdout] | ^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Python<'_>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 133 - drop(py); [INFO] [stdout] 133 + let _ = py; [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] --> tests/test_sharedref.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / py_class!(class Owner |py| { [INFO] [stdout] 4 | | @shared data string: String; [INFO] [stdout] 5 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Owner` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_sharedref.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / py_class!(class Owner |py| { [INFO] [stdout] 4 | | @shared data string: String; [INFO] [stdout] 5 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Owner` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/boolobject.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pyobject_newtype!(PyBool, PyBool_Check, PyBool_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/capsule.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | pyobject_newtype!(PyCapsule, PyCapsule_CheckExact, PyCapsule_Type); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/dict.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pyobject_newtype!(PyDict, PyDict_Check, PyDict_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/list.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pyobject_newtype!(PyList, PyList_Check, PyList_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/module.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pyobject_newtype!(PyModule, PyModule_Check, PyModule_Type); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/num.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pyobject_newtype!(PyLong, PyLong_Check, PyLong_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/num.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pyobject_newtype!(PyFloat, PyFloat_Check, PyFloat_Type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/object.rs:113:44 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { PyType::from_type_ptr(py, &mut ffi::PyBaseObject_Type) } [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { PyType::from_type_ptr(py, &raw mut ffi::PyBaseObject_Type) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/set.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pyobject_newtype!(PySet, PySet_Check, PySet_Type); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/string.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pyobject_newtype!(PyString, PyUnicode_Check, PyUnicode_Type); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/string.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pyobject_newtype!(PyBytes, PyBytes_Check, PyBytes_Type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/objects/string.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn data(&self, py: Python) -> PyStringData { [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] 270 | pub fn data(&self, py: Python) -> PyStringData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/objects/string.rs:286:18 [INFO] [stdout] | [INFO] [stdout] 286 | fn data_impl(&self, _py: Python) -> PyStringData { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 286 | fn data_impl(&self, _py: Python) -> PyStringData<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/objects/string.rs:321:22 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn to_string(&self, py: Python) -> PyResult> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 321 | pub fn to_string(&self, py: Python) -> PyResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/objects/string.rs:351:28 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn to_string_lossy(&self, py: Python) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 351 | pub fn to_string_lossy(&self, py: Python) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/tuple.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pyobject_newtype!(PyTuple, PyTuple_Check, PyTuple_Type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/objects/tuple.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn iter(&self, py: Python) -> slice::Iter { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 91 | pub fn iter(&self, py: Python) -> slice::Iter<'_, PyObject> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/objects/mod.rs:119:85 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/typeobject.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pyobject_newtype!(PyType, PyType_Check, PyType_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | py_class!(class EmptyClass |py| { }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `EmptyClass` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | py_class!(class EmptyClass |py| { }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `EmptyClass` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | py_class!(class EmptyClassInModule |py| { }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `EmptyClassInModule` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | py_class!(class EmptyClassInModule |py| { }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `EmptyClassInModule` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / py_class!(class EmptyClassWithNew |py| { [INFO] [stdout] 76 | | def __new__(_cls) -> PyResult { [INFO] [stdout] 77 | | EmptyClassWithNew::create_instance(py) [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `EmptyClassWithNew` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / py_class!(class EmptyClassWithNew |py| { [INFO] [stdout] 76 | | def __new__(_cls) -> PyResult { [INFO] [stdout] 77 | | EmptyClassWithNew::create_instance(py) [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `EmptyClassWithNew` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / py_class!(class NewWithOneArg |py| { [INFO] [stdout] 94 | | data _data: i32; [INFO] [stdout] 95 | | def __new__(_cls, arg: i32) -> PyResult { [INFO] [stdout] 96 | | NewWithOneArg::create_instance(py, arg) [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `NewWithOneArg` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / py_class!(class NewWithOneArg |py| { [INFO] [stdout] 94 | | data _data: i32; [INFO] [stdout] 95 | | def __new__(_cls, arg: i32) -> PyResult { [INFO] [stdout] 96 | | NewWithOneArg::create_instance(py, arg) [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `NewWithOneArg` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | / py_class!(class NewWithTwoArgs |py| { [INFO] [stdout] 114 | | data _data1: i32; [INFO] [stdout] 115 | | data _data2: i32; [INFO] [stdout] 116 | | def __new__(_cls, arg1: i32, arg2: i32) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 119 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `NewWithTwoArgs` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | / py_class!(class NewWithTwoArgs |py| { [INFO] [stdout] 114 | | data _data1: i32; [INFO] [stdout] 115 | | data _data2: i32; [INFO] [stdout] 116 | | def __new__(_cls, arg1: i32, arg2: i32) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 119 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `NewWithTwoArgs` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | / py_class!(class DataIsDropped |py| { [INFO] [stdout] 145 | | data member1: TestDropCall; [INFO] [stdout] 146 | | data member2: TestDropCall; [INFO] [stdout] 147 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `DataIsDropped` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | / py_class!(class DataIsDropped |py| { [INFO] [stdout] 145 | | data member1: TestDropCall; [INFO] [stdout] 146 | | data member2: TestDropCall; [INFO] [stdout] 147 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `DataIsDropped` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustccGDVKl/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libcpython-b923b9deed1ca0c0.rlib,libnum_traits-e187c9543899d750.rlib,libpython3_sys-6ce42d1c8e77fda2.rlib}.rlib" "-lpython3.12" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblibc-4a728b23bbe1b5f2.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustccGDVKl/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/test_function-19d01b178a34fc06" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(dynload_shlib.o): in function `_PyImport_FindSharedFuncptr': [INFO] [stdout] (.text+0x88): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrall': [INFO] [stdout] (.text.unlikely+0x482): warning: Using 'getgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x464): warning: Using 'setgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x4ae): warning: Using 'endgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrgid': [INFO] [stdout] (.text+0xe9): warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrnam': [INFO] [stdout] (.text.unlikely+0x389): warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): in function `os_getgrouplist': [INFO] [stdout] (.text.unlikely+0x7104): warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): in function `os_initgroups': [INFO] [stdout] (.text.unlikely+0x73ab): warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `setipaddr': [INFO] [stdout] (.text+0x43ec): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_gethostbyaddr': [INFO] [stdout] (.text.unlikely+0x2a1a): warning: Using 'gethostbyaddr_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_gethostbyname_ex': [INFO] [stdout] (.text.unlikely+0x2ff7): warning: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getprotobyname': [INFO] [stdout] (.text.unlikely+0x3c89): warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwall': [INFO] [stdout] (.text.unlikely+0x26a): warning: Using 'getpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x24c): warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x28e): warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwnam': [INFO] [stdout] (.text.unlikely+0x3b1): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwuid': [INFO] [stdout] (.text+0x77): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getservbyname': [INFO] [stdout] (.text.unlikely+0x3dd9): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getservbyport': [INFO] [stdout] (.text.unlikely+0x3d44): warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): in function `spwd_getspall': [INFO] [stdout] (.text.unlikely+0x335): warning: Using 'getspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x317): warning: Using 'setspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x359): warning: Using 'endspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): in function `spwd_getspnam': [INFO] [stdout] (.text.unlikely+0xd4): warning: Using 'getspnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE [INFO] [stdout] /usr/bin/ld: failed to set dynamic section sizes: bad value [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(dynload_shlib.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [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] --> tests/test_class.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | / py_class!(class InstanceMethod |py| { [INFO] [stdout] 173 | | data member: i32; [INFO] [stdout] 174 | | [INFO] [stdout] 175 | | def method(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 178 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `InstanceMethod` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | / py_class!(class InstanceMethod |py| { [INFO] [stdout] 173 | | data member: i32; [INFO] [stdout] 174 | | [INFO] [stdout] 175 | | def method(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 178 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `InstanceMethod` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | / py_class!(class InstanceMethodReturnsNone |py| { [INFO] [stdout] 193 | | data member: AtomicUsize; [INFO] [stdout] 194 | | [INFO] [stdout] 195 | | def value(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 203 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `InstanceMethodReturnsNone` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | / py_class!(class InstanceMethodReturnsNone |py| { [INFO] [stdout] 193 | | data member: AtomicUsize; [INFO] [stdout] 194 | | [INFO] [stdout] 195 | | def value(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 203 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `InstanceMethodReturnsNone` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / py_class!(class InstanceMethodWithArgs |py| { [INFO] [stdout] 221 | | data member: i32; [INFO] [stdout] 222 | | [INFO] [stdout] 223 | | def method(&self, multiplier: i32) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 230 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `InstanceMethodWithArgs` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / py_class!(class InstanceMethodWithArgs |py| { [INFO] [stdout] 221 | | data member: i32; [INFO] [stdout] 222 | | [INFO] [stdout] 223 | | def method(&self, multiplier: i32) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 230 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `InstanceMethodWithArgs` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | / py_class!(class ClassMethod |py| { [INFO] [stdout] 250 | | def __new__(cls) -> PyResult { [INFO] [stdout] 251 | | ClassMethod::create_instance(py) [INFO] [stdout] ... | [INFO] [stdout] 258 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `ClassMethod` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | / py_class!(class ClassMethod |py| { [INFO] [stdout] 250 | | def __new__(cls) -> PyResult { [INFO] [stdout] 251 | | ClassMethod::create_instance(py) [INFO] [stdout] ... | [INFO] [stdout] 258 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `ClassMethod` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:281:1 [INFO] [stdout] | [INFO] [stdout] 281 | / py_class!(class ClassMethodWithArgs |py| { [INFO] [stdout] 282 | | @classmethod [INFO] [stdout] 283 | | def method(cls, input: &str) -> PyResult { [INFO] [stdout] 284 | | Ok(format!("{}.method({})", cls.name(py), input)) [INFO] [stdout] 285 | | } [INFO] [stdout] 286 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `ClassMethodWithArgs` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:281:1 [INFO] [stdout] | [INFO] [stdout] 281 | / py_class!(class ClassMethodWithArgs |py| { [INFO] [stdout] 282 | | @classmethod [INFO] [stdout] 283 | | def method(cls, input: &str) -> PyResult { [INFO] [stdout] 284 | | Ok(format!("{}.method({})", cls.name(py), input)) [INFO] [stdout] 285 | | } [INFO] [stdout] 286 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `ClassMethodWithArgs` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | / py_class!(class StaticMethod |py| { [INFO] [stdout] 305 | | def __new__(cls) -> PyResult { [INFO] [stdout] 306 | | StaticMethod::create_instance(py) [INFO] [stdout] ... | [INFO] [stdout] 313 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `StaticMethod` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | / py_class!(class StaticMethod |py| { [INFO] [stdout] 305 | | def __new__(cls) -> PyResult { [INFO] [stdout] 306 | | StaticMethod::create_instance(py) [INFO] [stdout] ... | [INFO] [stdout] 313 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `StaticMethod` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpython` (test "test_function") due to 1 previous error; 2 warnings emitted [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/test_class.rs:337:1 [INFO] [stdout] | [INFO] [stdout] 337 | / py_class!(class StaticMethodWithArgs |py| { [INFO] [stdout] 338 | | @staticmethod [INFO] [stdout] 339 | | def method(input: i32) -> PyResult { [INFO] [stdout] 340 | | Ok(format!("0x{:x}", input)) [INFO] [stdout] 341 | | } [INFO] [stdout] 342 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `StaticMethodWithArgs` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/test_class.rs:337:1 [INFO] [stdout] | [INFO] [stdout] 337 | / py_class!(class StaticMethodWithArgs |py| { [INFO] [stdout] 338 | | @staticmethod [INFO] [stdout] 339 | | def method(input: i32) -> PyResult { [INFO] [stdout] 340 | | Ok(format!("0x{:x}", input)) [INFO] [stdout] 341 | | } [INFO] [stdout] 342 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `StaticMethodWithArgs` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | / py_class!(class StaticData |py| { [INFO] [stdout] 358 | | static VAL1 = 123; [INFO] [stdout] 359 | | static VAL2 = py.None(); [INFO] [stdout] 360 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `StaticData` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | / py_class!(class StaticData |py| { [INFO] [stdout] 358 | | static VAL1 = 123; [INFO] [stdout] 359 | | static VAL2 = py.None(); [INFO] [stdout] 360 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `StaticData` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:374:1 [INFO] [stdout] | [INFO] [stdout] 374 | / py_class!(class GCIntegration |py| { [INFO] [stdout] 375 | | data self_ref: RefCell; [INFO] [stdout] 376 | | data dropped: TestDropCall; [INFO] [stdout] ... | [INFO] [stdout] 387 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `GCIntegration` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:374:1 [INFO] [stdout] | [INFO] [stdout] 374 | / py_class!(class GCIntegration |py| { [INFO] [stdout] 375 | | data self_ref: RefCell; [INFO] [stdout] 376 | | data dropped: TestDropCall; [INFO] [stdout] ... | [INFO] [stdout] 387 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `GCIntegration` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | / py_class!(class Len |py| { [INFO] [stdout] 411 | | data l: usize; [INFO] [stdout] 412 | | [INFO] [stdout] 413 | | def __len__(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 416 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Len` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | / py_class!(class Len |py| { [INFO] [stdout] 411 | | data l: usize; [INFO] [stdout] 412 | | [INFO] [stdout] 413 | | def __len__(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 416 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Len` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:434:1 [INFO] [stdout] | [INFO] [stdout] 434 | / py_class!(class Iterator |py| { [INFO] [stdout] 435 | | data iter: RefCell + Send>>; [INFO] [stdout] 436 | | [INFO] [stdout] 437 | | def __iter__(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 444 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Iterator` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:434:1 [INFO] [stdout] | [INFO] [stdout] 434 | / py_class!(class Iterator |py| { [INFO] [stdout] 435 | | data iter: RefCell + Send>>; [INFO] [stdout] 436 | | [INFO] [stdout] 437 | | def __iter__(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 444 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Iterator` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | / py_class!(class StringMethods |py| { [INFO] [stdout] 457 | | def __str__(&self) -> PyResult<&'static str> { [INFO] [stdout] 458 | | Ok("str") [INFO] [stdout] ... | [INFO] [stdout] 476 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `StringMethods` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | / py_class!(class StringMethods |py| { [INFO] [stdout] 457 | | def __str__(&self) -> PyResult<&'static str> { [INFO] [stdout] 458 | | Ok("str") [INFO] [stdout] ... | [INFO] [stdout] 476 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `StringMethods` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:509:1 [INFO] [stdout] | [INFO] [stdout] 509 | / py_class!(class Comparisons |py| { [INFO] [stdout] 510 | | data val: i32; [INFO] [stdout] 511 | | [INFO] [stdout] 512 | | def __hash__(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 519 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Comparisons` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:509:1 [INFO] [stdout] | [INFO] [stdout] 509 | / py_class!(class Comparisons |py| { [INFO] [stdout] 510 | | data val: i32; [INFO] [stdout] 511 | | [INFO] [stdout] 512 | | def __hash__(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 519 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Comparisons` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:538:1 [INFO] [stdout] | [INFO] [stdout] 538 | / py_class!(class Sequence |py| { [INFO] [stdout] 539 | | def __len__(&self) -> PyResult { [INFO] [stdout] 540 | | Ok(5) [INFO] [stdout] ... | [INFO] [stdout] 551 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Sequence` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:538:1 [INFO] [stdout] | [INFO] [stdout] 538 | / py_class!(class Sequence |py| { [INFO] [stdout] 539 | | def __len__(&self) -> PyResult { [INFO] [stdout] 540 | | Ok(5) [INFO] [stdout] ... | [INFO] [stdout] 551 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Sequence` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:563:1 [INFO] [stdout] | [INFO] [stdout] 563 | / py_class!(class SequenceRef |py| { [INFO] [stdout] 564 | | def __getitem__(&self, key: &str) -> PyResult { [INFO] [stdout] 565 | | if key.is_empty() { [INFO] [stdout] 566 | | return Err(PyErr::new::(py, NoArgs)); [INFO] [stdout] ... | [INFO] [stdout] 577 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `SequenceRef` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:563:1 [INFO] [stdout] | [INFO] [stdout] 563 | / py_class!(class SequenceRef |py| { [INFO] [stdout] 564 | | def __getitem__(&self, key: &str) -> PyResult { [INFO] [stdout] 565 | | if key.is_empty() { [INFO] [stdout] 566 | | return Err(PyErr::new::(py, NoArgs)); [INFO] [stdout] ... | [INFO] [stdout] 577 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `SequenceRef` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:592:1 [INFO] [stdout] | [INFO] [stdout] 592 | / py_class!(class Callable |py| { [INFO] [stdout] 593 | | def __call__(&self, arg: i32) -> PyResult { [INFO] [stdout] 594 | | Ok(arg * 6) [INFO] [stdout] 595 | | } [INFO] [stdout] 596 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Callable` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:592:1 [INFO] [stdout] | [INFO] [stdout] 592 | / py_class!(class Callable |py| { [INFO] [stdout] 593 | | def __call__(&self, arg: i32) -> PyResult { [INFO] [stdout] 594 | | Ok(arg * 6) [INFO] [stdout] 595 | | } [INFO] [stdout] 596 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Callable` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:611:1 [INFO] [stdout] | [INFO] [stdout] 611 | / py_class!(class SetItem |py| { [INFO] [stdout] 612 | | data key: Cell; [INFO] [stdout] 613 | | data val: Cell; [INFO] [stdout] ... | [INFO] [stdout] 620 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `SetItem` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:611:1 [INFO] [stdout] | [INFO] [stdout] 611 | / py_class!(class SetItem |py| { [INFO] [stdout] 612 | | data key: Cell; [INFO] [stdout] 613 | | data val: Cell; [INFO] [stdout] ... | [INFO] [stdout] 620 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `SetItem` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:634:1 [INFO] [stdout] | [INFO] [stdout] 634 | / py_class!(class SetItemRef |py| { [INFO] [stdout] 635 | | data key: RefCell; [INFO] [stdout] 636 | | data val: Cell; [INFO] [stdout] ... | [INFO] [stdout] 643 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `SetItemRef` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:634:1 [INFO] [stdout] | [INFO] [stdout] 634 | / py_class!(class SetItemRef |py| { [INFO] [stdout] 635 | | data key: RefCell; [INFO] [stdout] 636 | | data val: Cell; [INFO] [stdout] ... | [INFO] [stdout] 643 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `SetItemRef` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | / py_class!(class SetItemOptRef |py| { [INFO] [stdout] 658 | | data key: RefCell; [INFO] [stdout] 659 | | data val: Cell; [INFO] [stdout] ... | [INFO] [stdout] 670 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `SetItemOptRef` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | / py_class!(class SetItemOptRef |py| { [INFO] [stdout] 658 | | data key: RefCell; [INFO] [stdout] 659 | | data val: Cell; [INFO] [stdout] ... | [INFO] [stdout] 670 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `SetItemOptRef` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:684:1 [INFO] [stdout] | [INFO] [stdout] 684 | / py_class!(class DelItem |py| { [INFO] [stdout] 685 | | data key: Cell; [INFO] [stdout] 686 | | [INFO] [stdout] 687 | | def __delitem__(&self, key: i32) -> PyResult<()> { [INFO] [stdout] ... | [INFO] [stdout] 691 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `DelItem` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:684:1 [INFO] [stdout] | [INFO] [stdout] 684 | / py_class!(class DelItem |py| { [INFO] [stdout] 685 | | data key: Cell; [INFO] [stdout] 686 | | [INFO] [stdout] 687 | | def __delitem__(&self, key: i32) -> PyResult<()> { [INFO] [stdout] ... | [INFO] [stdout] 691 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `DelItem` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:704:1 [INFO] [stdout] | [INFO] [stdout] 704 | / py_class!(class SetDelItem |py| { [INFO] [stdout] 705 | | data val: Cell>; [INFO] [stdout] 706 | | [INFO] [stdout] 707 | | def __setitem__(&self, key: i32, val: i32) -> PyResult<()> { [INFO] [stdout] ... | [INFO] [stdout] 716 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `SetDelItem` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:704:1 [INFO] [stdout] | [INFO] [stdout] 704 | / py_class!(class SetDelItem |py| { [INFO] [stdout] 705 | | data val: Cell>; [INFO] [stdout] 706 | | [INFO] [stdout] 707 | | def __setitem__(&self, key: i32, val: i32) -> PyResult<()> { [INFO] [stdout] ... | [INFO] [stdout] 716 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `SetDelItem` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:730:1 [INFO] [stdout] | [INFO] [stdout] 730 | / py_class!(class Reversed |py| { [INFO] [stdout] 731 | | def __reversed__(&self) -> PyResult<&'static str> { [INFO] [stdout] 732 | | Ok("I am reversed") [INFO] [stdout] 733 | | } [INFO] [stdout] 734 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Reversed` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:730:1 [INFO] [stdout] | [INFO] [stdout] 730 | / py_class!(class Reversed |py| { [INFO] [stdout] 731 | | def __reversed__(&self) -> PyResult<&'static str> { [INFO] [stdout] 732 | | Ok("I am reversed") [INFO] [stdout] 733 | | } [INFO] [stdout] 734 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Reversed` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | / py_class!(class Contains |py| { [INFO] [stdout] 746 | | def __contains__(&self, item: i32) -> PyResult { [INFO] [stdout] 747 | | Ok(item >= 0) [INFO] [stdout] 748 | | } [INFO] [stdout] 749 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Contains` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | / py_class!(class Contains |py| { [INFO] [stdout] 746 | | def __contains__(&self, item: i32) -> PyResult { [INFO] [stdout] 747 | | Ok(item >= 0) [INFO] [stdout] 748 | | } [INFO] [stdout] 749 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Contains` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / py_class!(class ContainsRef |py| { [INFO] [stdout] 763 | | def __contains__(&self, item: &str) -> PyResult { [INFO] [stdout] 764 | | Ok(item.is_empty()) [INFO] [stdout] 765 | | } [INFO] [stdout] 766 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `ContainsRef` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | / py_class!(class ContainsRef |py| { [INFO] [stdout] 763 | | def __contains__(&self, item: &str) -> PyResult { [INFO] [stdout] 764 | | Ok(item.is_empty()) [INFO] [stdout] 765 | | } [INFO] [stdout] 766 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `ContainsRef` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:779:1 [INFO] [stdout] | [INFO] [stdout] 779 | / py_class!(class ContainsOptRef |py| { [INFO] [stdout] 780 | | def __contains__(&self, item: Option<&str>) -> PyResult { [INFO] [stdout] 781 | | Ok(item.map_or(false, str::is_empty)) [INFO] [stdout] 782 | | } [INFO] [stdout] 783 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `ContainsOptRef` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:779:1 [INFO] [stdout] | [INFO] [stdout] 779 | / py_class!(class ContainsOptRef |py| { [INFO] [stdout] 780 | | def __contains__(&self, item: Option<&str>) -> PyResult { [INFO] [stdout] 781 | | Ok(item.map_or(false, str::is_empty)) [INFO] [stdout] 782 | | } [INFO] [stdout] 783 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `ContainsOptRef` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:797:1 [INFO] [stdout] | [INFO] [stdout] 797 | / py_class!(class UnaryArithmetic |py| { [INFO] [stdout] 798 | | def __neg__(&self) -> PyResult<&'static str> { [INFO] [stdout] 799 | | Ok("neg") [INFO] [stdout] ... | [INFO] [stdout] 813 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `UnaryArithmetic` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:797:1 [INFO] [stdout] | [INFO] [stdout] 797 | / py_class!(class UnaryArithmetic |py| { [INFO] [stdout] 798 | | def __neg__(&self) -> PyResult<&'static str> { [INFO] [stdout] 799 | | Ok("neg") [INFO] [stdout] ... | [INFO] [stdout] 813 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `UnaryArithmetic` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:827:1 [INFO] [stdout] | [INFO] [stdout] 827 | / py_class!(class BinaryArithmetic |py| { [INFO] [stdout] 828 | | def __repr__(&self) -> PyResult<&'static str> { [INFO] [stdout] 829 | | Ok("BA") [INFO] [stdout] ... | [INFO] [stdout] 863 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `BinaryArithmetic` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:827:1 [INFO] [stdout] | [INFO] [stdout] 827 | / py_class!(class BinaryArithmetic |py| { [INFO] [stdout] 828 | | def __repr__(&self) -> PyResult<&'static str> { [INFO] [stdout] 829 | | Ok("BA") [INFO] [stdout] ... | [INFO] [stdout] 863 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `BinaryArithmetic` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / py_class!(class RichComparisons |py| { [INFO] [stdout] 892 | | def __repr__(&self) -> PyResult<&'static str> { [INFO] [stdout] 893 | | Ok("RC") [INFO] [stdout] ... | [INFO] [stdout] 906 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `RichComparisons` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / py_class!(class RichComparisons |py| { [INFO] [stdout] 892 | | def __repr__(&self) -> PyResult<&'static str> { [INFO] [stdout] 893 | | Ok("RC") [INFO] [stdout] ... | [INFO] [stdout] 906 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `RichComparisons` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:908:1 [INFO] [stdout] | [INFO] [stdout] 908 | / py_class!(class RichComparisons2 |py| { [INFO] [stdout] 909 | | def __repr__(&self) -> PyResult<&'static str> { [INFO] [stdout] 910 | | Ok("RC2") [INFO] [stdout] ... | [INFO] [stdout] 920 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `RichComparisons2` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:908:1 [INFO] [stdout] | [INFO] [stdout] 908 | / py_class!(class RichComparisons2 |py| { [INFO] [stdout] 909 | | def __repr__(&self) -> PyResult<&'static str> { [INFO] [stdout] 910 | | Ok("RC2") [INFO] [stdout] ... | [INFO] [stdout] 920 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `RichComparisons2` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:975:1 [INFO] [stdout] | [INFO] [stdout] 975 | / py_class!(class RichComparisonsRef |py| { [INFO] [stdout] 976 | | def __repr__(&self) -> PyResult<&'static str> { [INFO] [stdout] 977 | | Ok("RCR") [INFO] [stdout] ... | [INFO] [stdout] 990 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `RichComparisonsRef` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:975:1 [INFO] [stdout] | [INFO] [stdout] 975 | / py_class!(class RichComparisonsRef |py| { [INFO] [stdout] 976 | | def __repr__(&self) -> PyResult<&'static str> { [INFO] [stdout] 977 | | Ok("RCR") [INFO] [stdout] ... | [INFO] [stdout] 990 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `RichComparisonsRef` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1008:1 [INFO] [stdout] | [INFO] [stdout] 1008 | / py_class!(class RichComparisonsOptRef |py| { [INFO] [stdout] 1009 | | def __repr__(&self) -> PyResult<&'static str> { [INFO] [stdout] 1010 | | Ok("RCR") [INFO] [stdout] ... | [INFO] [stdout] 1029 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `RichComparisonsOptRef` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1008:1 [INFO] [stdout] | [INFO] [stdout] 1008 | / py_class!(class RichComparisonsOptRef |py| { [INFO] [stdout] 1009 | | def __repr__(&self) -> PyResult<&'static str> { [INFO] [stdout] 1010 | | Ok("RCR") [INFO] [stdout] ... | [INFO] [stdout] 1029 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `RichComparisonsOptRef` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1043:1 [INFO] [stdout] | [INFO] [stdout] 1043 | / py_class!(class InPlaceOperations |py| { [INFO] [stdout] 1044 | | data value: Cell; [INFO] [stdout] 1045 | | [INFO] [stdout] 1046 | | def __repr__(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 1089 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `InPlaceOperations` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1043:1 [INFO] [stdout] | [INFO] [stdout] 1043 | / py_class!(class InPlaceOperations |py| { [INFO] [stdout] 1044 | | data value: Cell; [INFO] [stdout] 1045 | | [INFO] [stdout] 1046 | | def __repr__(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 1089 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `InPlaceOperations` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1153:1 [INFO] [stdout] | [INFO] [stdout] 1153 | / py_class!(class InPlaceOperationsRef |py| { [INFO] [stdout] 1154 | | data value: RefCell; [INFO] [stdout] 1155 | | [INFO] [stdout] 1156 | | def __repr__(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 1165 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `InPlaceOperationsRef` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1153:1 [INFO] [stdout] | [INFO] [stdout] 1153 | / py_class!(class InPlaceOperationsRef |py| { [INFO] [stdout] 1154 | | data value: RefCell; [INFO] [stdout] 1155 | | [INFO] [stdout] 1156 | | def __repr__(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 1165 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `InPlaceOperationsRef` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1180:1 [INFO] [stdout] | [INFO] [stdout] 1180 | / py_class!(class ContextManager |py| { [INFO] [stdout] 1181 | | data exit_called : Cell; [INFO] [stdout] 1182 | | [INFO] [stdout] 1183 | | def __enter__(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 1195 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `ContextManager` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1180:1 [INFO] [stdout] | [INFO] [stdout] 1180 | / py_class!(class ContextManager |py| { [INFO] [stdout] 1181 | | data exit_called : Cell; [INFO] [stdout] 1182 | | [INFO] [stdout] 1183 | | def __enter__(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 1195 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `ContextManager` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1220:1 [INFO] [stdout] | [INFO] [stdout] 1220 | / py_class!(class Properties |py| { [INFO] [stdout] 1221 | | data value: Cell; [INFO] [stdout] 1222 | | data value_by_ref: RefCell; [INFO] [stdout] 1223 | | data value_by_opt_ref: RefCell; [INFO] [stdout] ... | [INFO] [stdout] 1264 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Properties` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1220:1 [INFO] [stdout] | [INFO] [stdout] 1220 | / py_class!(class Properties |py| { [INFO] [stdout] 1221 | | data value: Cell; [INFO] [stdout] 1222 | | data value_by_ref: RefCell; [INFO] [stdout] 1223 | | data value_by_opt_ref: RefCell; [INFO] [stdout] ... | [INFO] [stdout] 1264 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Properties` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1308:1 [INFO] [stdout] | [INFO] [stdout] 1308 | / py_class!(pub(crate) class ClassWithVisibility |py| { [INFO] [stdout] 1309 | | pub(crate) def __new__(_cls) -> PyResult { [INFO] [stdout] 1310 | | Self::create_instance(py) [INFO] [stdout] ... | [INFO] [stdout] 1326 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `ClassWithVisibility` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1308:1 [INFO] [stdout] | [INFO] [stdout] 1308 | / py_class!(pub(crate) class ClassWithVisibility |py| { [INFO] [stdout] 1309 | | pub(crate) def __new__(_cls) -> PyResult { [INFO] [stdout] 1310 | | Self::create_instance(py) [INFO] [stdout] ... | [INFO] [stdout] 1326 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `ClassWithVisibility` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1383:1 [INFO] [stdout] | [INFO] [stdout] 1383 | / py_class!(class NumberExt |py| { [INFO] [stdout] 1384 | | def __repr__(&self) -> PyResult<&'static str> { [INFO] [stdout] 1385 | | Ok("BA") [INFO] [stdout] ... | [INFO] [stdout] 1403 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `NumberExt` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1383:1 [INFO] [stdout] | [INFO] [stdout] 1383 | / py_class!(class NumberExt |py| { [INFO] [stdout] 1384 | | def __repr__(&self) -> PyResult<&'static str> { [INFO] [stdout] 1385 | | Ok("BA") [INFO] [stdout] ... | [INFO] [stdout] 1403 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `NumberExt` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1427:1 [INFO] [stdout] | [INFO] [stdout] 1427 | / py_class!(class Py3Number |py| { [INFO] [stdout] 1428 | | def __repr__(&self) -> PyResult<&'static str> { [INFO] [stdout] 1429 | | Ok("BA") [INFO] [stdout] ... | [INFO] [stdout] 1443 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Py3Number` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1427:1 [INFO] [stdout] | [INFO] [stdout] 1427 | / py_class!(class Py3Number |py| { [INFO] [stdout] 1428 | | def __repr__(&self) -> PyResult<&'static str> { [INFO] [stdout] 1429 | | Ok("BA") [INFO] [stdout] ... | [INFO] [stdout] 1443 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Py3Number` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1464:1 [INFO] [stdout] | [INFO] [stdout] 1464 | / py_class!(class DummyMatMul |py| { [INFO] [stdout] 1465 | | data number: i32; [INFO] [stdout] 1466 | | def __new__(_cls, arg: i32) -> PyResult { [INFO] [stdout] 1467 | | DummyMatMul::create_instance(py, arg) [INFO] [stdout] ... | [INFO] [stdout] 1477 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `DummyMatMul` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/test_class.rs:1464:1 [INFO] [stdout] | [INFO] [stdout] 1464 | / py_class!(class DummyMatMul |py| { [INFO] [stdout] 1465 | | data number: i32; [INFO] [stdout] 1466 | | def __new__(_cls, arg: i32) -> PyResult { [INFO] [stdout] 1467 | | DummyMatMul::create_instance(py, arg) [INFO] [stdout] ... | [INFO] [stdout] 1477 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `DummyMatMul` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc46xyRj/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libcpython-b923b9deed1ca0c0.rlib,libnum_traits-e187c9543899d750.rlib,libpython3_sys-6ce42d1c8e77fda2.rlib}.rlib" "-lpython3.12" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblibc-4a728b23bbe1b5f2.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc46xyRj/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/test_thread_exit-ec9a02766b1a25fa" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.rlib(std-6552f92f1a5eadae.std.ac8d423ff4d2d0a4-cgu.0.rcgu.o): in function `>::try_from::{{closure}}': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/net/connection/socket.rs:319:(.text._ZN117_$LT$std..sys..net..connection..socket..LookupHost$u20$as$u20$core..convert..TryFrom$LT$$LP$$RF$str$C$u16$RP$$GT$$GT$8try_from28_$u7b$$u7b$closure$u7d$$u7d$17hf58eb60cc1c9f331E+0x57): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.rlib(std-6552f92f1a5eadae.std.ac8d423ff4d2d0a4-cgu.0.rcgu.o): in function `std::sys::pal::unix::os::home_dir::fallback': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/os.rs:671:(.text._ZN3std3env8home_dir17h7b909c53ac52fbe9E+0xc5): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /tmp/ccyz5fJq.ltrans0.ltrans.o: relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIE [INFO] [stdout] /usr/bin/ld: failed to set dynamic section sizes: bad value [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] /usr/bin/ld: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.rlib(std-6552f92f1a5eadae.std.ac8d423ff4d2d0a4-cgu.0.rcgu.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.rlib(std-6552f92f1a5eadae.std.ac8d423ff4d2d0a4-cgu.0.rcgu.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpython` (test "test_thread_exit") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcGu0pn3/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libcpython-b923b9deed1ca0c0.rlib,libnum_traits-e187c9543899d750.rlib,libpython3_sys-6ce42d1c8e77fda2.rlib}.rlib" "-lpython3.12" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblibc-4a728b23bbe1b5f2.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcGu0pn3/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/hello-44527f4a1a69205f" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(dynload_shlib.o): in function `_PyImport_FindSharedFuncptr': [INFO] [stdout] (.text+0x88): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrall': [INFO] [stdout] (.text.unlikely+0x482): warning: Using 'getgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x464): warning: Using 'setgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x4ae): warning: Using 'endgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrgid': [INFO] [stdout] (.text+0xe9): warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrnam': [INFO] [stdout] (.text.unlikely+0x389): warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): in function `os_getgrouplist': [INFO] [stdout] (.text.unlikely+0x7104): warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): in function `os_initgroups': [INFO] [stdout] (.text.unlikely+0x73ab): warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `setipaddr': [INFO] [stdout] (.text+0x43ec): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_gethostbyaddr': [INFO] [stdout] (.text.unlikely+0x2a1a): warning: Using 'gethostbyaddr_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_gethostbyname_ex': [INFO] [stdout] (.text.unlikely+0x2ff7): warning: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getprotobyname': [INFO] [stdout] (.text.unlikely+0x3c89): warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwall': [INFO] [stdout] (.text.unlikely+0x26a): warning: Using 'getpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x24c): warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x28e): warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwnam': [INFO] [stdout] (.text.unlikely+0x3b1): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwuid': [INFO] [stdout] (.text+0x77): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getservbyname': [INFO] [stdout] (.text.unlikely+0x3dd9): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getservbyport': [INFO] [stdout] (.text.unlikely+0x3d44): warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): in function `spwd_getspall': [INFO] [stdout] (.text.unlikely+0x335): warning: Using 'getspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x317): warning: Using 'setspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x359): warning: Using 'endspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): in function `spwd_getspnam': [INFO] [stdout] (.text.unlikely+0xd4): warning: Using 'getspnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE [INFO] [stdout] /usr/bin/ld: failed to set dynamic section sizes: bad value [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(dynload_shlib.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpython` (example "hello") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcUQoTlj/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libcpython-b923b9deed1ca0c0.rlib,libnum_traits-e187c9543899d750.rlib,libpython3_sys-6ce42d1c8e77fda2.rlib}.rlib" "-lpython3.12" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblibc-4a728b23bbe1b5f2.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcUQoTlj/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/test_sharedref-c5f6cb32f75b257d" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(dynload_shlib.o): in function `_PyImport_FindSharedFuncptr': [INFO] [stdout] (.text+0x88): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrall': [INFO] [stdout] (.text.unlikely+0x482): warning: Using 'getgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x464): warning: Using 'setgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x4ae): warning: Using 'endgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrgid': [INFO] [stdout] (.text+0xe9): warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrnam': [INFO] [stdout] (.text.unlikely+0x389): warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): in function `os_getgrouplist': [INFO] [stdout] (.text.unlikely+0x7104): warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): in function `os_initgroups': [INFO] [stdout] (.text.unlikely+0x73ab): warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `setipaddr': [INFO] [stdout] (.text+0x43ec): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_gethostbyaddr': [INFO] [stdout] (.text.unlikely+0x2a1a): warning: Using 'gethostbyaddr_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_gethostbyname_ex': [INFO] [stdout] (.text.unlikely+0x2ff7): warning: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getprotobyname': [INFO] [stdout] (.text.unlikely+0x3c89): warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwall': [INFO] [stdout] (.text.unlikely+0x26a): warning: Using 'getpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x24c): warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x28e): warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwnam': [INFO] [stdout] (.text.unlikely+0x3b1): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwuid': [INFO] [stdout] (.text+0x77): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getservbyname': [INFO] [stdout] (.text.unlikely+0x3dd9): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getservbyport': [INFO] [stdout] (.text.unlikely+0x3d44): warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): in function `spwd_getspall': [INFO] [stdout] (.text.unlikely+0x335): warning: Using 'getspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x317): warning: Using 'setspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x359): warning: Using 'endspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): in function `spwd_getspnam': [INFO] [stdout] (.text.unlikely+0xd4): warning: Using 'getspnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE [INFO] [stdout] /usr/bin/ld: failed to set dynamic section sizes: bad value [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(dynload_shlib.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpython` (test "test_sharedref") due to 1 previous error; 2 warnings emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustclRchUS/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libnum_traits-e187c9543899d750.rlib,libpython3_sys-6ce42d1c8e77fda2.rlib}.rlib" "-lpython3.12" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblibc-4a728b23bbe1b5f2.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustclRchUS/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cpython-729234c8f6872cf2" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(dynload_shlib.o): in function `_PyImport_FindSharedFuncptr': [INFO] [stdout] (.text+0x88): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrall': [INFO] [stdout] (.text.unlikely+0x482): warning: Using 'getgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x464): warning: Using 'setgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x4ae): warning: Using 'endgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrgid': [INFO] [stdout] (.text+0xe9): warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrnam': [INFO] [stdout] (.text.unlikely+0x389): warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): in function `os_getgrouplist': [INFO] [stdout] (.text.unlikely+0x7104): warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): in function `os_initgroups': [INFO] [stdout] (.text.unlikely+0x73ab): warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `setipaddr': [INFO] [stdout] (.text+0x43ec): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_gethostbyaddr': [INFO] [stdout] (.text.unlikely+0x2a1a): warning: Using 'gethostbyaddr_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_gethostbyname_ex': [INFO] [stdout] (.text.unlikely+0x2ff7): warning: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getprotobyname': [INFO] [stdout] (.text.unlikely+0x3c89): warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwall': [INFO] [stdout] (.text.unlikely+0x26a): warning: Using 'getpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x24c): warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x28e): warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwnam': [INFO] [stdout] (.text.unlikely+0x3b1): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwuid': [INFO] [stdout] (.text+0x77): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getservbyname': [INFO] [stdout] (.text.unlikely+0x3dd9): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getservbyport': [INFO] [stdout] (.text.unlikely+0x3d44): warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): in function `spwd_getspall': [INFO] [stdout] (.text.unlikely+0x335): warning: Using 'getspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x317): warning: Using 'setspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x359): warning: Using 'endspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): in function `spwd_getspnam': [INFO] [stdout] (.text.unlikely+0xd4): warning: Using 'getspnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE [INFO] [stdout] /usr/bin/ld: failed to set dynamic section sizes: bad value [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(dynload_shlib.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpython` (lib test) due to 1 previous error; 18 warnings emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcfOybjg/symbols.o" "<8 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libcpython-b923b9deed1ca0c0.rlib,libnum_traits-e187c9543899d750.rlib,libpython3_sys-6ce42d1c8e77fda2.rlib}.rlib" "-lpython3.12" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblibc-4a728b23bbe1b5f2.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcfOybjg/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/test_class-3be323dad8b4f64a" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(dynload_shlib.o): in function `_PyImport_FindSharedFuncptr': [INFO] [stdout] (.text+0x88): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrall': [INFO] [stdout] (.text.unlikely+0x482): warning: Using 'getgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x464): warning: Using 'setgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x4ae): warning: Using 'endgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrgid': [INFO] [stdout] (.text+0xe9): warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrnam': [INFO] [stdout] (.text.unlikely+0x389): warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): in function `os_getgrouplist': [INFO] [stdout] (.text.unlikely+0x7104): warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): in function `os_initgroups': [INFO] [stdout] (.text.unlikely+0x73ab): warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `setipaddr': [INFO] [stdout] (.text+0x43ec): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_gethostbyaddr': [INFO] [stdout] (.text.unlikely+0x2a1a): warning: Using 'gethostbyaddr_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_gethostbyname_ex': [INFO] [stdout] (.text.unlikely+0x2ff7): warning: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getprotobyname': [INFO] [stdout] (.text.unlikely+0x3c89): warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwall': [INFO] [stdout] (.text.unlikely+0x26a): warning: Using 'getpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x24c): warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x28e): warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwnam': [INFO] [stdout] (.text.unlikely+0x3b1): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwuid': [INFO] [stdout] (.text+0x77): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getservbyname': [INFO] [stdout] (.text.unlikely+0x3dd9): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getservbyport': [INFO] [stdout] (.text.unlikely+0x3d44): warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): in function `spwd_getspall': [INFO] [stdout] (.text.unlikely+0x335): warning: Using 'getspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x317): warning: Using 'setspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x359): warning: Using 'endspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): in function `spwd_getspnam': [INFO] [stdout] (.text.unlikely+0xd4): warning: Using 'getspnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE [INFO] [stdout] /usr/bin/ld: failed to set dynamic section sizes: bad value [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(dynload_shlib.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpython` (test "test_class") due to 1 previous error; 90 warnings emitted [INFO] running `Command { std: "docker" "inspect" "56758d313fb8a4d5fe48ac6876cf02bffbe15dd6a658c248de55521de35a21ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56758d313fb8a4d5fe48ac6876cf02bffbe15dd6a658c248de55521de35a21ba", kill_on_drop: false }` [INFO] [stdout] 56758d313fb8a4d5fe48ac6876cf02bffbe15dd6a658c248de55521de35a21ba