[INFO] cloning repository https://github.com/betterproto/python-betterproto2-rust-codec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/betterproto/python-betterproto2-rust-codec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbetterproto%2Fpython-betterproto2-rust-codec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbetterproto%2Fpython-betterproto2-rust-codec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75860762c076b50357388e37f00e04e496c9830e [INFO] building betterproto/python-betterproto2-rust-codec against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbetterproto%2Fpython-betterproto2-rust-codec" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/betterproto/python-betterproto2-rust-codec [INFO] finished tweaking git repo https://github.com/betterproto/python-betterproto2-rust-codec [INFO] tweaked toml for git repo https://github.com/betterproto/python-betterproto2-rust-codec written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/betterproto/python-betterproto2-rust-codec 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/betterproto/python-betterproto2-rust-codec 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 89fd44759309806356196473eb8d691407674f3b12ce1c765199aaac617f5828 [INFO] running `Command { std: "docker" "start" "-a" "89fd44759309806356196473eb8d691407674f3b12ce1c765199aaac617f5828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89fd44759309806356196473eb8d691407674f3b12ce1c765199aaac617f5828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89fd44759309806356196473eb8d691407674f3b12ce1c765199aaac617f5828", kill_on_drop: false }` [INFO] [stdout] 89fd44759309806356196473eb8d691407674f3b12ce1c765199aaac617f5828 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6bd2fcf5749f313c345579625c42881805701dd7f34178791c5fa24131b6b195 [INFO] running `Command { std: "docker" "start" "-a" "6bd2fcf5749f313c345579625c42881805701dd7f34178791c5fa24131b6b195", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling prost-derive v0.13.4 [INFO] [stderr] Compiling prost v0.13.4 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [INFO] [stderr] Compiling betterproto-rust-codec v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `default_gen` is never read [INFO] [stdout] --> src/betterproto_interop/message_meta.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BetterprotoMessageMeta<'py> { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub default_gen: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "PyInit_betterproto2_rust_codec" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<17 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libprost-f3179af4a1418f4f,libbytes-dcb4bf52e5082ced,libthiserror-5e5a9a89f7694742,libpyo3-9f4c63164b04f83e,libmemoffset-633f7fe4851d82f1,libparking_lot-39b6ac715683297b,libparking_lot_core-ab7e1e950bd46fa5,libcfg_if-50b02a9e3502ecf2,libsmallvec-dd22fcde2487057b,liblock_api-cb42334115fcba5d,libscopeguard-8bf53ae5771a3088,libpyo3_ffi-c23c8a4a99119a52,liblibc-26bb775845e6fd3d,libchrono-7c608c70e3ae599f,libnum_traits-6e7b9dacdf29ab7b,libunindent-c51be6c344bc15c2}.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/betterproto2_rust_codec.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/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.05.rcgu.o: undefined symbol: PyList_New [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.05.rcgu.o: undefined symbol: PyList_SetItem [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.08.rcgu.o: undefined symbol: PyType_GetFlags [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.08.rcgu.o: undefined symbol: PyType_IsSubtype [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.08.rcgu.o: undefined symbol: _Py_NoneStruct [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.08.rcgu.o: undefined symbol: PyLong_FromUnsignedLongLong [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.08.rcgu.o: undefined symbol: PyLong_FromLongLong [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.08.rcgu.o: undefined symbol: PyLong_FromLongLong [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.08.rcgu.o: undefined symbol: PyLong_FromUnsignedLongLong [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.09.rcgu.o: undefined symbol: _Py_TrueStruct [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.09.rcgu.o: undefined symbol: _Py_FalseStruct [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.12.rcgu.o: undefined symbol: PyDict_Next [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.12.rcgu.o: undefined symbol: PyType_GetSlot [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.12.rcgu.o: undefined symbol: PyDict_Next [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.13.rcgu.o: undefined symbol: PyObject_GC_UnTrack [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.13.rcgu.o: undefined symbol: PyBaseObject_Type [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.13.rcgu.o: undefined symbol: _Py_Dealloc [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.13.rcgu.o: undefined symbol: PyBaseObject_Type [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.13.rcgu.o: undefined symbol: PySequence_Size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/betterproto2_rust_codec.betterproto2_rust_codec.f9b3c0a2f2fc49c5-cgu.14.rcgu.o: undefined symbol: PySequence_Check [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 `betterproto-rust-codec` (lib) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6bd2fcf5749f313c345579625c42881805701dd7f34178791c5fa24131b6b195", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bd2fcf5749f313c345579625c42881805701dd7f34178791c5fa24131b6b195", kill_on_drop: false }` [INFO] [stdout] 6bd2fcf5749f313c345579625c42881805701dd7f34178791c5fa24131b6b195