[INFO] cloning repository https://github.com/veer66/zstd_read_line [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/veer66/zstd_read_line" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveer66%2Fzstd_read_line", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveer66%2Fzstd_read_line'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c55b27a6b0e17b78744330eee732bc65a51abd49 [INFO] building veer66/zstd_read_line against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveer66%2Fzstd_read_line" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/veer66/zstd_read_line [INFO] finished tweaking git repo https://github.com/veer66/zstd_read_line [INFO] tweaked toml for git repo https://github.com/veer66/zstd_read_line written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/veer66/zstd_read_line 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/veer66/zstd_read_line 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f887b5118344a348b577d6140fbd2aac48f5537ccd6b6cd145b5d497b6f9afe4 [INFO] running `Command { std: "docker" "start" "-a" "f887b5118344a348b577d6140fbd2aac48f5537ccd6b6cd145b5d497b6f9afe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f887b5118344a348b577d6140fbd2aac48f5537ccd6b6cd145b5d497b6f9afe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f887b5118344a348b577d6140fbd2aac48f5537ccd6b6cd145b5d497b6f9afe4", kill_on_drop: false }` [INFO] [stdout] f887b5118344a348b577d6140fbd2aac48f5537ccd6b6cd145b5d497b6f9afe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] bcdf7dfa57c82caff46336ec6ab17c9f11e4dbc71994cd074411d804fe7e0798 [INFO] running `Command { std: "docker" "start" "-a" "bcdf7dfa57c82caff46336ec6ab17c9f11e4dbc71994cd074411d804fe7e0798", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Compiling zstd v0.9.2+zstd.1.5.1 [INFO] [stderr] Compiling zstd_read_line v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/lib.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | CString::from_raw(line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = CString::from_raw(line); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | Box::from_raw(wrapper); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 117 | let _ = Box::from_raw(wrapper); [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" "zstd_line_read" "--export" "zstd_line_read_delete" "--export" "zstd_line_read_delete_line" "--export" "zstd_line_read_new" "-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/{libmemchr-2258901e25efd8eb,libzstd-735c8774887972c9,libzstd_safe-006aec26e4b4f230,libzstd_sys-398c3dd7c28c19cc}.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" "/opt/rustwide/target/wasm32-wasip1/debug/build/zstd-sys-8dbce52492a42fec/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/zstd_read_line.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: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'fse_decompress.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'entropy_common.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'debug.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'pool.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'threading.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'error_private.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_common.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_double_fast.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'huf_compress.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_compress_literals.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_lazy.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstdmt_compress.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'hist.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_ldm.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_compress_sequences.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'fse_compress.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_fast.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_compress_superblock.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_compress.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_opt.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_decompress_block.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_decompress.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_ddict.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'huf_decompress.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'cover.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'fastcover.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zdict.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'divsufsort.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_v03.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_v07.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_v01.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_v04.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_v05.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_v02.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'zstd_v06.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_sys-398c3dd7c28c19cc.rlib: archive member 'huf_decompress_amd64.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/zstd_read_line.zstd_read_line.f8b65d8090cdd86e-cgu.0.rcgu.o: undefined symbol: ZSTD_decompressStream [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_safe-006aec26e4b4f230.rlib(zstd_safe-006aec26e4b4f230.zstd_safe.6eae894f333568fe-cgu.0.rcgu.o): undefined symbol: ZSTD_isError [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_safe-006aec26e4b4f230.rlib(zstd_safe-006aec26e4b4f230.zstd_safe.6eae894f333568fe-cgu.0.rcgu.o): undefined symbol: ZSTD_createDCtx [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_safe-006aec26e4b4f230.rlib(zstd_safe-006aec26e4b4f230.zstd_safe.6eae894f333568fe-cgu.0.rcgu.o): undefined symbol: ZSTD_initDStream [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_safe-006aec26e4b4f230.rlib(zstd_safe-006aec26e4b4f230.zstd_safe.6eae894f333568fe-cgu.0.rcgu.o): undefined symbol: ZSTD_getErrorName [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_safe-006aec26e4b4f230.rlib(zstd_safe-006aec26e4b4f230.zstd_safe.6eae894f333568fe-cgu.0.rcgu.o): undefined symbol: ZSTD_DStreamInSize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_safe-006aec26e4b4f230.rlib(zstd_safe-006aec26e4b4f230.zstd_safe.6eae894f333568fe-cgu.0.rcgu.o): undefined symbol: ZSTD_DCtx_loadDictionary [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_safe-006aec26e4b4f230.rlib(zstd_safe-006aec26e4b4f230.zstd_safe.6eae894f333568fe-cgu.0.rcgu.o): undefined symbol: ZSTD_DCtx_reset [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libzstd_safe-006aec26e4b4f230.rlib(zstd_safe-006aec26e4b4f230.zstd_safe.6eae894f333568fe-cgu.0.rcgu.o): undefined symbol: ZSTD_freeDCtx [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zstd_read_line` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bcdf7dfa57c82caff46336ec6ab17c9f11e4dbc71994cd074411d804fe7e0798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcdf7dfa57c82caff46336ec6ab17c9f11e4dbc71994cd074411d804fe7e0798", kill_on_drop: false }` [INFO] [stdout] bcdf7dfa57c82caff46336ec6ab17c9f11e4dbc71994cd074411d804fe7e0798