[INFO] cloning repository https://github.com/ktthai/mabi-pack2-cn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ktthai/mabi-pack2-cn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fktthai%2Fmabi-pack2-cn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fktthai%2Fmabi-pack2-cn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35dcdff4c5ae9ea331a266f766c7760994f37f61 [INFO] building ktthai/mabi-pack2-cn against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fktthai%2Fmabi-pack2-cn" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ktthai/mabi-pack2-cn [INFO] finished tweaking git repo https://github.com/ktthai/mabi-pack2-cn [INFO] tweaked toml for git repo https://github.com/ktthai/mabi-pack2-cn written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ktthai/mabi-pack2-cn 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/ktthai/mabi-pack2-cn 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e411320f8f9cf200b07da573107ee6d0e251463abbc31a8a8b637cc006e2cf17 [INFO] running `Command { std: "docker" "start" "-a" "e411320f8f9cf200b07da573107ee6d0e251463abbc31a8a8b637cc006e2cf17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e411320f8f9cf200b07da573107ee6d0e251463abbc31a8a8b637cc006e2cf17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e411320f8f9cf200b07da573107ee6d0e251463abbc31a8a8b637cc006e2cf17", kill_on_drop: false }` [INFO] [stdout] e411320f8f9cf200b07da573107ee6d0e251463abbc31a8a8b637cc006e2cf17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 09f6dffb43fac188b0980baf0f6d67d250ac8d86d766b85cd578af75f011e7d0 [INFO] running `Command { std: "docker" "start" "-a" "09f6dffb43fac188b0980baf0f6d67d250ac8d86d766b85cd578af75f011e7d0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling wasi v0.11.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling mabi-pack2 v1.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling byte-slice-cast v1.2.1 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/metadata.rs:162:7 [INFO] [stdout] | [INFO] [stdout] 162 | if(ent.raw_size == 0) { [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] 162 - if(ent.raw_size == 0) { [INFO] [stdout] 162 + if ent.raw_size == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/extract.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | let (header, entries, _used_key) = match skey { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/list.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | let (header, entries, _used_key) = match skey { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/metadata.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | let (header, entries, used_key) = match key { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [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" "<10 object files omitted>" "-l" "c_snow2" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libserde_json-773d57a7796ff8a1,libitoa-c00a5eb83387cdca,libryu-bcb26aa50f65bbc8,libtwox_hash-09a4e9dd0bdf3eaa,librand-5e1d38f2c9280451,librand_chacha-931864bda08c971e,libppv_lite86-00dd8543ac82f0a0,libzerocopy-2fd216f17f9bd989,librand_core-614393d9fd58ca1a,libgetrandom-9c1205168be1b4c9,libwasi-b9c6bfbff0bef49f,libstatic_assertions-5a320074c6765347,libsha2-9e1a243efefdea52,libcfg_if-50b02a9e3502ecf2,libdigest-8ff171da308432ee,libblock_buffer-560d4e062081421e,libcrypto_common-da0ab7ac5d1cd69d,libgeneric_array-8902a99a8971d46a,libtypenum-4da84aea010a8886,libmd5-318488e0abcbaea1,libbase64-7b14680fd3f3a6df,libserde-8ee8f6b6b99fdc95,libwalkdir-e16523cfab32a1c0,libsame_file-d90975b76a214118,libregex-4b6ab8e7da492767,libaho_corasick-baddd0b3557f6bb6,libregex_syntax-8d711ceefe044bbe,libminiz_oxide-b659e6b8885535c4,libadler-5d585fd5ceaaf370,libbyteorder-f00db367bf6f80f8,libbyte_slice_cast-ebdc3dbb7b74f471,libanyhow-9aaf61d586456dca,libclap-e8ca66ee856b6f16,libstrsim-39ec6cd5a47c2372,libatty-3242e974e54baef7,libtermcolor-8d7030a2f5e002ea,libtextwrap-bd870ef01292318d,libindexmap-2d03887afbd4c0df,libhashbrown-ece374be44553230,libos_str_bytes-6456826375474987,libmemchr-545e7d17a9c608e3,libbitflags-15e3d67e03629ffa}.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/mabi-pack2-acd2fb86643c40e7/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/mabi_pack2-f27c588ea33675b2.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/build/mabi-pack2-acd2fb86643c40e7/out/libc_snow2.a: archive member 'snow2_fast.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mabi_pack2-f27c588ea33675b2.mabi_pack2.b80f9b0775893032-cgu.2.rcgu.o: undefined symbol: c_snow2_loadkey [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mabi_pack2-f27c588ea33675b2.mabi_pack2.b80f9b0775893032-cgu.2.rcgu.o: undefined symbol: c_snow2_generate_keystream [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mabi_pack2-f27c588ea33675b2.mabi_pack2.b80f9b0775893032-cgu.2.rcgu.o: undefined symbol: c_snow2_loadkey [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mabi_pack2-f27c588ea33675b2.mabi_pack2.b80f9b0775893032-cgu.2.rcgu.o: undefined symbol: c_snow2_generate_keystream [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mabi_pack2-f27c588ea33675b2.mabi_pack2.b80f9b0775893032-cgu.2.rcgu.o: undefined symbol: c_snow2_loadkey [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mabi_pack2-f27c588ea33675b2.mabi_pack2.b80f9b0775893032-cgu.2.rcgu.o: undefined symbol: c_snow2_generate_keystream [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mabi_pack2-f27c588ea33675b2.mabi_pack2.b80f9b0775893032-cgu.2.rcgu.o: undefined symbol: c_snow2_loadkey [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mabi_pack2-f27c588ea33675b2.mabi_pack2.b80f9b0775893032-cgu.2.rcgu.o: undefined symbol: c_snow2_generate_keystream [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mabi-pack2` (bin "mabi-pack2") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "09f6dffb43fac188b0980baf0f6d67d250ac8d86d766b85cd578af75f011e7d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09f6dffb43fac188b0980baf0f6d67d250ac8d86d766b85cd578af75f011e7d0", kill_on_drop: false }` [INFO] [stdout] 09f6dffb43fac188b0980baf0f6d67d250ac8d86d766b85cd578af75f011e7d0