[INFO] cloning repository https://github.com/jeff2857/pcre2-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeff2857/pcre2-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeff2857%2Fpcre2-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeff2857%2Fpcre2-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3966fb12991a9346d1a4e328c350f46a011beb0 [INFO] building jeff2857/pcre2-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%2Fjeff2857%2Fpcre2-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jeff2857/pcre2-rs [INFO] finished tweaking git repo https://github.com/jeff2857/pcre2-rs [INFO] tweaked toml for git repo https://github.com/jeff2857/pcre2-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jeff2857/pcre2-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/jeff2857/pcre2-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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3b1543cc8d09ba37d70f2b0dc4e784620f0603cb802f0a1611f1a6042a6060d1 [INFO] running `Command { std: "docker" "start" "-a" "3b1543cc8d09ba37d70f2b0dc4e784620f0603cb802f0a1611f1a6042a6060d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b1543cc8d09ba37d70f2b0dc4e784620f0603cb802f0a1611f1a6042a6060d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b1543cc8d09ba37d70f2b0dc4e784620f0603cb802f0a1611f1a6042a6060d1", kill_on_drop: false }` [INFO] [stdout] 3b1543cc8d09ba37d70f2b0dc4e784620f0603cb802f0a1611f1a6042a6060d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 09516f578c4a22dafae7456a0c5d288645c7765df13be9d3571ffea21d0a37d5 [INFO] running `Command { std: "docker" "start" "-a" "09516f578c4a22dafae7456a0c5d288645c7765df13be9d3571ffea21d0a37d5", kill_on_drop: false }` [INFO] [stderr] Compiling pcre2-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let (begin, mut end) = match_next(pattern, target, &mut startoffset); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (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" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.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" "./pcre2" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/pcre2_rs-799a098ac27257ce.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_auto_possess.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_chartables.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_compile.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_config.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_context.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_convert.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_dfa_match.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_error.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_extuni.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_find_bracket.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_jit_compile.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_maketables.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_match.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_match_data.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_newline.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_ord2utf.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_pattern_info.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_script_run.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_serialize.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_string_utils.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_study.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_substitute.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_substring.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_tables.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_ucd.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_valid_utf.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib: archive member 'pcre2_xclass.c.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib(pcre2_rs-c1a3dcc1d63e16e7.pcre2_rs.14ee6473fd51837d-cgu.0.rcgu.o): undefined symbol: pcre2_compile_8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib(pcre2_rs-c1a3dcc1d63e16e7.pcre2_rs.14ee6473fd51837d-cgu.0.rcgu.o): undefined symbol: pcre2_match_data_create_from_pattern_8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib(pcre2_rs-c1a3dcc1d63e16e7.pcre2_rs.14ee6473fd51837d-cgu.0.rcgu.o): undefined symbol: pcre2_get_ovector_pointer_8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libpcre2_rs-c1a3dcc1d63e16e7.rlib(pcre2_rs-c1a3dcc1d63e16e7.pcre2_rs.14ee6473fd51837d-cgu.0.rcgu.o): undefined symbol: pcre2_match_8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pcre2-rs` (bin "pcre2-rs") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "09516f578c4a22dafae7456a0c5d288645c7765df13be9d3571ffea21d0a37d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09516f578c4a22dafae7456a0c5d288645c7765df13be9d3571ffea21d0a37d5", kill_on_drop: false }` [INFO] [stdout] 09516f578c4a22dafae7456a0c5d288645c7765df13be9d3571ffea21d0a37d5