[INFO] cloning repository https://github.com/mmcardle/example-python-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmcardle/example-python-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmcardle%2Fexample-python-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmcardle%2Fexample-python-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 101a120d6274b4a4608e8938ef13731843c395c2 [INFO] building mmcardle/example-python-rust against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmcardle%2Fexample-python-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mmcardle/example-python-rust [INFO] finished tweaking git repo https://github.com/mmcardle/example-python-rust [INFO] tweaked toml for git repo https://github.com/mmcardle/example-python-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mmcardle/example-python-rust on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mmcardle/example-python-rust 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fc80fee89d195d4199c6cda1c759f481b40b9875cb0bef0d73c4d27adfe336c [INFO] running `Command { std: "docker" "start" "-a" "1fc80fee89d195d4199c6cda1c759f481b40b9875cb0bef0d73c4d27adfe336c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fc80fee89d195d4199c6cda1c759f481b40b9875cb0bef0d73c4d27adfe336c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fc80fee89d195d4199c6cda1c759f481b40b9875cb0bef0d73c4d27adfe336c", kill_on_drop: false }` [INFO] [stdout] 1fc80fee89d195d4199c6cda1c759f481b40b9875cb0bef0d73c4d27adfe336c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] fda5063b1f7064679a5e58184bdd8052c91304f45b643dfe2aef459ae3716685 [INFO] running `Command { std: "docker" "start" "-a" "fda5063b1f7064679a5e58184bdd8052c91304f45b643dfe2aef459ae3716685", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling cpython v0.7.1 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling python3-sys v0.7.1 [INFO] [stderr] Compiling mixed-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "PyInit_mixed_project" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libcpython-208e38f6fee5787f,libnum_traits-87d9806b9939f031,libpython3_sys-2eaae5f659e305d9,liblibc-6a3cf2bcee8c2f28}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/mixed_project.wasm" "--gc-sections" "--no-entry" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mixed_project.mixed_project.7f6f36a7313c0261-cgu.0.rcgu.o: undefined symbol: PyObject_SetAttr [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mixed_project.mixed_project.7f6f36a7313c0261-cgu.0.rcgu.o: undefined symbol: PyObject_SetAttr [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mixed_project.mixed_project.7f6f36a7313c0261-cgu.0.rcgu.o: undefined symbol: PyErr_Restore [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mixed_project.mixed_project.7f6f36a7313c0261-cgu.0.rcgu.o: undefined symbol: _Py_Dealloc [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mixed_project.mixed_project.7f6f36a7313c0261-cgu.0.rcgu.o: undefined symbol: _Py_Dealloc [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpython-208e38f6fee5787f.rlib(cpython-208e38f6fee5787f.cpython.c1a577fcaf5fb20c-cgu.0.rcgu.o): undefined symbol: PyEval_InitThreads [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpython-208e38f6fee5787f.rlib(cpython-208e38f6fee5787f.cpython.c1a577fcaf5fb20c-cgu.1.rcgu.o): undefined symbol: PyGILState_Release [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpython-208e38f6fee5787f.rlib(cpython-208e38f6fee5787f.cpython.c1a577fcaf5fb20c-cgu.1.rcgu.o): undefined symbol: PyErr_Fetch [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpython-208e38f6fee5787f.rlib(cpython-208e38f6fee5787f.cpython.c1a577fcaf5fb20c-cgu.1.rcgu.o): undefined symbol: PyErr_Print [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpython-208e38f6fee5787f.rlib(cpython-208e38f6fee5787f.cpython.c1a577fcaf5fb20c-cgu.1.rcgu.o): undefined symbol: Py_IsInitialized [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpython-208e38f6fee5787f.rlib(cpython-208e38f6fee5787f.cpython.c1a577fcaf5fb20c-cgu.1.rcgu.o): undefined symbol: Py_InitializeEx [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpython-208e38f6fee5787f.rlib(cpython-208e38f6fee5787f.cpython.c1a577fcaf5fb20c-cgu.1.rcgu.o): undefined symbol: PyEval_InitThreads [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpython-208e38f6fee5787f.rlib(cpython-208e38f6fee5787f.cpython.c1a577fcaf5fb20c-cgu.1.rcgu.o): undefined symbol: PyEval_SaveThread [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpython-208e38f6fee5787f.rlib(cpython-208e38f6fee5787f.cpython.c1a577fcaf5fb20c-cgu.1.rcgu.o): undefined symbol: PyEval_ThreadsInitialized [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpython-208e38f6fee5787f.rlib(cpython-208e38f6fee5787f.cpython.c1a577fcaf5fb20c-cgu.1.rcgu.o): undefined symbol: PyErr_Restore [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpython-208e38f6fee5787f.rlib(cpython-208e38f6fee5787f.cpython.c1a577fcaf5fb20c-cgu.1.rcgu.o): undefined symbol: PyGILState_Ensure [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpython-208e38f6fee5787f.rlib(cpython-208e38f6fee5787f.cpython.c1a577fcaf5fb20c-cgu.2.rcgu.o): undefined symbol: PyModule_Create2 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpython-208e38f6fee5787f.rlib(cpython-208e38f6fee5787f.cpython.c1a577fcaf5fb20c-cgu.2.rcgu.o): undefined symbol: PyCFunction_NewEx [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpython-208e38f6fee5787f.rlib(cpython-208e38f6fee5787f.cpython.c1a577fcaf5fb20c-cgu.2.rcgu.o): undefined symbol: PyExc_SystemError [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpython-208e38f6fee5787f.rlib(cpython-208e38f6fee5787f.cpython.c1a577fcaf5fb20c-cgu.2.rcgu.o): undefined symbol: PyExc_SystemError [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mixed-project` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "fda5063b1f7064679a5e58184bdd8052c91304f45b643dfe2aef459ae3716685", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fda5063b1f7064679a5e58184bdd8052c91304f45b643dfe2aef459ae3716685", kill_on_drop: false }` [INFO] [stdout] fda5063b1f7064679a5e58184bdd8052c91304f45b643dfe2aef459ae3716685