Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: linking with `x86_64-w64-mingw32-gcc #1624

Closed
jdaruja opened this issue May 22, 2021 · 4 comments
Closed

Error: linking with `x86_64-w64-mingw32-gcc #1624

jdaruja opened this issue May 22, 2021 · 4 comments
Labels

Comments

@jdaruja
Copy link

jdaruja commented May 22, 2021

🐛 Bug Reports

When reporting a bug, please provide the following information. If this is not a bug report you can just discard this template.

🌍 Environment

Your operating system and version: Unbuntu 20.4
Your python version: 3.8
How did you install python (e.g. apt or pyenv)? Did you use a virtualenv?: apt / virtualenv- yes
Your Rust version (rustc --version):1.51.0
Your PyO3 version: 0.13.2
Have you tried using latest PyO3 main (replace version = "0.x.y" with git = "https://github.com/PyO3/pyo3")?: yes

💥 Reproducing

Please provide a minimal working example. This means both the Rust code and the Python.
lib.rs

use pyo3::prelude::;
use pyo3::wrap_pyfunction;
use std::fs::File;
use std::io::prelude::;
use std::path::Path;

#[allow(unused_parens)]
#[pyfunction]
/// Returns the file
fn return_file(a: String) -> PyResult {
let mut f = File::open(a)?;
let mut contents = String::new();
f.read_to_string(&mut contents)?;
Ok((contents))
}

/// This module is a python module implemented in Rust.
///
#[pymodule]
fn cross_compile(py: Python, m: &PyModule) -> PyResult<()> {
m.add_wrapped(wrap_pyfunction!(return_file))?;
Ok(())
}

[target.x86_64-pc-windows-gnu]
linker = "x86_64-w64-mingw32-gcc"
ar = "x86_64-w64-mingw32-gcc-ar"

Please also write what exact flags are required to reproduce your results.

When I cross build using - cross-rs/cross#556 instructions (Embedded/Rust)
from Ubuntu to windows
using command
cross build --target x86_64-pc-windows-gnu

get error

error: linking with x86_64-w64-mingw32-gcc failed: exit code: 1

note: /usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpython3.8
collect2: error: ld returned 1 exit status

error: aborting due to previous error;

Please help

@davidhewitt
Copy link
Member

Hi @jdaruja, cross runs builds inside a docker image. I don't know if the default windows image for cross contains the Python shared library; you probably need to provide a custom docker image to use.

@jdaruja
Copy link
Author

jdaruja commented May 23, 2021

Thank you for the reply.
I download image from - https://hub.docker.com/_/microsoft-windows-base-os-images
Now I am getting this errors

  • undefined reference to PyType_IsSubtype', undefined reference to PyImport_ExecCodeModuleEx'

/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x858): undefined reference to Py_CompileStringExFlags' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x86b): undefined reference to PyImport_ExecCodeModuleEx'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x886): undefined reference to __imp_PyModule_Type' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x88f): undefined reference to __imp_PyModule_Type'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x894): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x9f6): undefined reference to PyModule_GetDict'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xaa4): undefined reference to __imp_PyExc_AttributeError' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xb42): undefined reference to __imp_PyExc_AttributeError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xb53): undefined reference to PyErr_GivenExceptionMatches' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xb5e): undefined reference to PyList_New'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xc05): undefined reference to __imp_PyExc_AttributeError' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xd75): undefined reference to __imp_PyExc_TypeError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xe3c): undefined reference to PyModule_GetName' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xe6c): undefined reference to PyModule_GetFilename'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xf70): undefined reference to PyModule_GetName' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1010): undefined reference to PyUnicode_FromStringAndSize'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1033): undefined reference to PyList_Append' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1098): undefined reference to _Py_Dealloc'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x120d): undefined reference to PyUnicode_AsUTF8AndSize' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x12cd): undefined reference to PyUnicode_FromStringAndSize'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x12f1): undefined reference to PyList_Append' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1340): undefined reference to _Py_Dealloc'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x18bd): undefined reference to PyObject_Repr' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x199d): undefined reference to PyObject_Str'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1a7b): undefined reference to __imp_PyModule_Type' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1a84): undefined reference to __imp_PyModule_Type'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1a89): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1ab3): undefined reference to __imp_PyModule_Type'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1abc): undefined reference to __imp_PyModule_Type' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.9.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1ac1): undefined reference to PyType_IsSubtype'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x16): undefined reference to PyException_GetCause' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x2e0): undefined reference to PyUnicodeDecodeError_Create'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x3b3): undefined reference to PyUnicodeDecodeError_Create' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x467): undefined reference to __imp_PyExc_OSError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x487): undefined reference to __imp_PyExc_InterruptedError' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x4a7): undefined reference to __imp_PyExc_StopAsyncIteration'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x4c7): undefined reference to __imp_PyExc_RuntimeError' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x4e7): undefined reference to __imp_PyExc_StopIteration'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x507): undefined reference to __imp_PyExc_SystemError' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x527): undefined reference to __imp_PyExc_TimeoutError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x547): undefined reference to __imp_PyExc_UnicodeDecodeError' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x567): undefined reference to __imp_PyExc_ConnectionRefusedError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x587): undefined reference to __imp_PyExc_ConnectionAbortedError' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x5a7): undefined reference to __imp_PyExc_AttributeError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x5c7): undefined reference to __imp_PyExc_FileNotFoundError' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x5e7): undefined reference to __imp_PyExc_BaseException'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x607): undefined reference to __imp_PyExc_BrokenPipeError' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x627): undefined reference to __imp_PyExc_BlockingIOError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x647): undefined reference to __imp_PyExc_OverflowError' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x667): undefined reference to __imp_PyExc_ConnectionResetError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x687): undefined reference to __imp_PyExc_TypeError' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x6a7): undefined reference to __imp_PyExc_ValueError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x6c7): undefined reference to __imp_PyExc_BufferError' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x6ef): undefined reference to __imp_PyExc_BaseException'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x700): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x77f): undefined reference to __imp_PyExc_Exception'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x790): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x82f): undefined reference to __imp_PyExc_StopAsyncIteration'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x840): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x8df): undefined reference to __imp_PyExc_StopIteration'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x8f0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x96f): undefined reference to __imp_PyExc_GeneratorExit'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x980): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x9ff): undefined reference to __imp_PyExc_ArithmeticError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xa10): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xa8f): undefined reference to __imp_PyExc_LookupError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xaa0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xb1f): undefined reference to __imp_PyExc_AssertionError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xb30): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xbaf): undefined reference to __imp_PyExc_AttributeError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xbc0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xc5f): undefined reference to __imp_PyExc_BufferError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xc70): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xcef): undefined reference to __imp_PyExc_EOFError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xd00): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xd7f): undefined reference to __imp_PyExc_FloatingPointError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xd90): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xe2f): undefined reference to __imp_PyExc_OSError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xe40): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xebf): undefined reference to __imp_PyExc_ImportError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xed0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xf4f): undefined reference to __imp_PyExc_ModuleNotFoundError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xf60): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xfdf): undefined reference to __imp_PyExc_IndexError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0xff0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x106f): undefined reference to __imp_PyExc_KeyError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1080): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x10ff): undefined reference to __imp_PyExc_KeyboardInterrupt'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1110): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x118f): undefined reference to __imp_PyExc_MemoryError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x11a0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x121f): undefined reference to __imp_PyExc_NameError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1230): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x12df): undefined reference to __imp_PyExc_OverflowError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x12f0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x139f): undefined reference to __imp_PyExc_RuntimeError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x13b0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x142f): undefined reference to __imp_PyExc_RecursionError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1440): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x14bf): undefined reference to __imp_PyExc_NotImplementedError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x14d0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x154f): undefined reference to __imp_PyExc_SyntaxError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1560): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x15df): undefined reference to __imp_PyExc_ReferenceError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x15f0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x168f): undefined reference to __imp_PyExc_SystemError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x16a0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x171f): undefined reference to __imp_PyExc_SystemExit'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1730): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x17ff): undefined reference to __imp_PyExc_TypeError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1810): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x188f): undefined reference to __imp_PyExc_UnboundLocalError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x18a0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x191f): undefined reference to __imp_PyExc_UnicodeError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1930): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1a7f): undefined reference to __imp_PyExc_UnicodeDecodeError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1a90): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1b0f): undefined reference to __imp_PyExc_UnicodeEncodeError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1b20): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1b9f): undefined reference to __imp_PyExc_UnicodeTranslateError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1bb0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1d6f): undefined reference to __imp_PyExc_ValueError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1d80): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1dff): undefined reference to __imp_PyExc_ZeroDivisionError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1e10): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1eaf): undefined reference to __imp_PyExc_BlockingIOError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1ec0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1f5f): undefined reference to __imp_PyExc_BrokenPipeError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1f70): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x1fef): undefined reference to __imp_PyExc_ChildProcessError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x2000): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x207f): undefined reference to __imp_PyExc_ConnectionError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x2090): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x212f): undefined reference to __imp_PyExc_ConnectionAbortedError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x2140): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x21df): undefined reference to __imp_PyExc_ConnectionRefusedError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x21f0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x228f): undefined reference to __imp_PyExc_ConnectionResetError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x22a0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x231f): undefined reference to __imp_PyExc_FileExistsError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x2330): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x23cf): undefined reference to __imp_PyExc_FileNotFoundError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x23e0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x247f): undefined reference to __imp_PyExc_InterruptedError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x2490): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x250f): undefined reference to __imp_PyExc_IsADirectoryError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x2520): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x259f): undefined reference to __imp_PyExc_NotADirectoryError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x25b0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x262f): undefined reference to __imp_PyExc_PermissionError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x2640): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x26bf): undefined reference to __imp_PyExc_ProcessLookupError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x26d0): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x276f): undefined reference to __imp_PyExc_TimeoutError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x2780): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x27ff): undefined reference to __imp_PyExc_EnvironmentError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x2810): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x288d): undefined reference to PyObject_Repr'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x296d): undefined reference to PyObject_Str' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x2a4f): undefined reference to __imp_PyExc_IOError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x2a60): undefined reference to PyType_IsSubtype' /usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x2adf): undefined reference to __imp_PyExc_WindowsError'
/usr/bin/x86_64-w64-mingw32-ld: /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib(pyo3-c9b07f3a6e14168d.pyo3.azeiam2y-cgu.0.rcgu.o):pyo3.azeiam2y-cgu.:(.text+0x2af0): undefined reference to `PyType_IsSubtype'
collect2: error: ld returned 1 exit status

      collect2: error: ld returned 1 exit status

error: aborting due to previous error; 2 warnings emitted

error: could not compile cross_compile

Caused by:
process didn't exit successfully: rustc --crate-name cross_compile --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type cdylib --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C metadata=d74a3139cee01594 --out-dir /home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps --target x86_64-pc-windows-gnu -C linker=x86_64-w64-mingw32-gcc -L dependency=/home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps -L dependency=/home/justin/Justin/Project/Rust/Test/cross_compile/target/release/deps --extern pyo3=/home/justin/Justin/Project/Rust/Test/cross_compile/target/x86_64-pc-windows-gnu/release/deps/libpyo3-c9b07f3a6e14168d.rlib -L native=/usr/lib/x86_64-linux-gnu/ -L native=/home/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-x86_64-pc-windows-gnu-0.4.0/lib (exit code: 1)

@davidhewitt
Copy link
Member

-L native=/usr/lib/x86_64-linux-gnu/

this doesn't look quite right. That looks like a path on your host OS, rather than inside the Dockerfile. Can you double-check that you're invoking cross correctly?

@davidhewitt
Copy link
Member

I suspect this might have been fixed in #1759.

Please report and we can reopen if there are still issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants