[INFO] cloning repository https://github.com/hugues-aff/import-parser-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hugues-aff/import-parser-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhugues-aff%2Fimport-parser-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhugues-aff%2Fimport-parser-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5db5b84ab5a3beb551ad8561798692916ade786 [INFO] building hugues-aff/import-parser-rs against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhugues-aff%2Fimport-parser-rs" "/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/hugues-aff/import-parser-rs [INFO] finished tweaking git repo https://github.com/hugues-aff/import-parser-rs [INFO] tweaked toml for git repo https://github.com/hugues-aff/import-parser-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hugues-aff/import-parser-rs 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/hugues-aff/import-parser-rs 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] eb209a4514f29646762155b116dc9ad26204499238fcefd45265206093cb7017 [INFO] running `Command { std: "docker" "start" "-a" "eb209a4514f29646762155b116dc9ad26204499238fcefd45265206093cb7017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb209a4514f29646762155b116dc9ad26204499238fcefd45265206093cb7017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb209a4514f29646762155b116dc9ad26204499238fcefd45265206093cb7017", kill_on_drop: false }` [INFO] [stdout] eb209a4514f29646762155b116dc9ad26204499238fcefd45265206093cb7017 [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] 72e0eefa055512d6b665bd72ee8f4b105ac85dd6b25a6d394d4260cec0fd37fe [INFO] running `Command { std: "docker" "start" "-a" "72e0eefa055512d6b665bd72ee8f4b105ac85dd6b25a6d394d4260cec0fd37fe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling pyo3-build-config v0.22.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling ruff_text_size v0.0.0 (https://github.com/astral-sh/ruff.git?tag=0.7.4#ed7b98cf) [INFO] [stderr] Compiling ruff_source_file v0.0.0 (https://github.com/astral-sh/ruff.git?tag=0.7.4#ed7b98cf) [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling compact_str v0.8.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling rustc-hash v2.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling pyo3-ffi v0.22.6 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.6 [INFO] [stderr] Compiling pyo3 v0.22.6 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ruff_python_trivia v0.0.0 (https://github.com/astral-sh/ruff.git?tag=0.7.4#ed7b98cf) [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling yaml-rust2 v0.9.0 (https://github.com/hugues-aff/yaml-rust2.git?rev=7c236b8#7c236b8d) [INFO] [stderr] Compiling bstr v1.10.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling is-macro v0.3.6 [INFO] [stderr] Compiling ruff_python_ast v0.0.0 (https://github.com/astral-sh/ruff.git?tag=0.7.4#ed7b98cf) [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pyo3-macros v0.22.6 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling unicode_names2_generator v1.3.0 [INFO] [stderr] Compiling unicode_names2 v1.3.0 [INFO] [stderr] Compiling ruff_python_parser v0.0.0 (https://github.com/astral-sh/ruff.git?tag=0.7.4#ed7b98cf) [INFO] [stderr] Compiling import-parser-rs v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | create_exception!(import_parser_rs, MismatchedOverrideComments, PyValueError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gil-refs` [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | create_exception!(import_parser_rs, MismatchedOverrideComments, PyValueError); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::impl_exception_boilerplate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::impl_exception_boilerplate` may come from an old version of the `pyo3` crate, try updating your dependency with `cargo update -p pyo3` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/imports.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | |e| ( [INFO] [stdout] | _________________^ [INFO] [stdout] 159 | | !(e.file_name().to_str().unwrap().starts_with(".") [INFO] [stdout] | |________________^ [INFO] [stdout] 160 | || (e.file_type().is_dir() && !ignore.is_empty() && [INFO] [stdout] 161 | is_ignored(e.path().to_str().unwrap(), ignore))) [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 162 | | )) { [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 158 ~ |e| !(e.file_name().to_str().unwrap().starts_with(".") [INFO] [stdout] 159 | || (e.file_type().is_dir() && !ignore.is_empty() && [INFO] [stdout] 160 ~ is_ignored(e.path().to_str().unwrap(), ignore))) ) { [INFO] [stdout] | [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_import_parser_rs" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<9 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libregex-dbf8e4c7b6bf088c,libignore-477796e9547113eb,libcrossbeam_deque-2988d69c5b62aa8f,libcrossbeam_epoch-410b95cf7d35ddf3,libglobset-1cded2dba9856d43,liblog-b98f2dc96346a89c,libyaml_rust2-b708ce0c83bbfd26,libencoding_rs-17db87c5e4a9f0af,libarraydeque-2955342e9b4e3861,libhashlink-3f70e3f6b3ea36bc,libwalkdir-9a905762863fc6e6,libsame_file-d90975b76a214118,libruff_python_parser-56e5a5cefb96e18e,libunicode_names2-a643448f3d8bf375,libphf-0424556a4dd1f685,libphf_shared-ee93d756e83d96df,libsiphasher-bcaed8f5af22bf9c,libbstr-99d52ba2752f1e03,libregex_automata-5827a3da9e081350,libregex_syntax-b44ef8663a4740f2,libunicode_normalization-88eb793ebb9046fc,libtinyvec-d88dba153338e87f,libtinyvec_macros-dddcb2da28b34270,libruff_python_ast-d6e14fa28afdc577,libcompact_str-89e2e37290b97a51,libryu-f1913757cc38f137,libitoa-323c19d08fbe6984,libstatic_assertions-5a320074c6765347,libcastaway-6777e7a55e196ef1,libaho_corasick-027ffe1d036ccae9,libbitflags-282cfc8d4cec6943,libruff_python_trivia-24c85d5f70c4fee3,libunicode_ident-703ecb34dbe8118b,libruff_source_file-cffd66bc0e9de052,libmemchr-9a2f103f6d32a3e4,libitertools-51fa43eb8757bf2a,libeither-91a7b0a25f550a75,librustc_hash-3a858c77b00be828,libruff_text_size-978cf0a83ba5968a,libdashmap-85ceebe9481392fa,liblock_api-cb42334115fcba5d,libscopeguard-8bf53ae5771a3088,libhashbrown-d10ac5ffb7b1c8fb,libahash-1396a1c4fbaf0733,libzerocopy-700d58819e876f4a,libcrossbeam_utils-035f5f10b2b695d9,libparking_lot_core-ab7e1e950bd46fa5,libsmallvec-dd22fcde2487057b,libpyo3-bcf15cf4c86c32c0,libcfg_if-50b02a9e3502ecf2,libmemoffset-633f7fe4851d82f1,libonce_cell-ce8c35e2bf3be270,libpyo3_ffi-71a8df5be59d451b,liblibc-c21b740e497f6f16,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/import_parser_rs.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/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.1.rcgu.o: undefined symbol: Py_DecRef [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.1.rcgu.o: undefined symbol: Py_DecRef [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.1.rcgu.o: undefined symbol: PyObject_GC_UnTrack [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.1.rcgu.o: undefined symbol: Py_IncRef [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.1.rcgu.o: undefined symbol: PyBaseObject_Type [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.1.rcgu.o: undefined symbol: PyObject_IsInstance [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.1.rcgu.o: undefined symbol: PySet_Size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.1.rcgu.o: undefined symbol: PySequence_Size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.2.rcgu.o: undefined symbol: PyTuple_New [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.2.rcgu.o: undefined symbol: PyTuple_SetItem [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.2.rcgu.o: undefined symbol: PyErr_WriteUnraisable [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.2.rcgu.o: undefined symbol: PyDict_Next [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.3.rcgu.o: undefined symbol: PyType_GetSlot [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.4.rcgu.o: undefined symbol: PySequence_Check [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.5.rcgu.o: undefined symbol: PyBaseObject_Type [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.5.rcgu.o: undefined symbol: PyExc_Exception [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.5.rcgu.o: undefined symbol: PyExc_Exception [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.7.rcgu.o: undefined symbol: PyType_GetFlags [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.7.rcgu.o: undefined symbol: PyType_IsSubtype [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/import_parser_rs.import_parser_rs.d63025342a5fb937-cgu.7.rcgu.o: undefined symbol: _Py_NoneStruct [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 `import-parser-rs` (lib) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "72e0eefa055512d6b665bd72ee8f4b105ac85dd6b25a6d394d4260cec0fd37fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72e0eefa055512d6b665bd72ee8f4b105ac85dd6b25a6d394d4260cec0fd37fe", kill_on_drop: false }` [INFO] [stdout] 72e0eefa055512d6b665bd72ee8f4b105ac85dd6b25a6d394d4260cec0fd37fe