[INFO] cloning repository https://github.com/Conflux-Chain/rust-dilithium2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Conflux-Chain/rust-dilithium2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConflux-Chain%2Frust-dilithium2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConflux-Chain%2Frust-dilithium2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97967ccbf3803534bc0a0be1b03555faebcaa50e [INFO] building Conflux-Chain/rust-dilithium2 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConflux-Chain%2Frust-dilithium2" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Conflux-Chain/rust-dilithium2 [INFO] finished tweaking git repo https://github.com/Conflux-Chain/rust-dilithium2 [INFO] tweaked toml for git repo https://github.com/Conflux-Chain/rust-dilithium2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Conflux-Chain/rust-dilithium2 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/Conflux-Chain/rust-dilithium2 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 6ba9b06829b8825fd58af94b1bd87ba26eaf3f4d26c3c245d6ce7988741cc2ce [INFO] running `Command { std: "docker" "start" "-a" "6ba9b06829b8825fd58af94b1bd87ba26eaf3f4d26c3c245d6ce7988741cc2ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ba9b06829b8825fd58af94b1bd87ba26eaf3f4d26c3c245d6ce7988741cc2ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ba9b06829b8825fd58af94b1bd87ba26eaf3f4d26c3c245d6ce7988741cc2ce", kill_on_drop: false }` [INFO] [stdout] 6ba9b06829b8825fd58af94b1bd87ba26eaf3f4d26c3c245d6ce7988741cc2ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 23091bc1769efbfef703c4136fe50a85350bb92192c55085b7ccd29127961fab [INFO] running `Command { std: "docker" "start" "-a" "23091bc1769efbfef703c4136fe50a85350bb92192c55085b7ccd29127961fab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling rust-dilithium2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: rust-dilithium2@0.1.0: In file included from depends/dilithium2/params.h:4, [INFO] [stderr] warning: rust-dilithium2@0.1.0: from depends/dilithium2/polyvec.c:2: [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/polyvec.c: In function 'pqcrystals_dilithium2_ref_polyvecl_uniform_gamma1': [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/config.h:7:32: warning: 'pqcrystals_dilithium2_ref_poly_uniform_gamma1' reading 48 bytes from a region of size 32 [-Wstringop-overread] [INFO] [stderr] warning: rust-dilithium2@0.1.0: 7 | #define DILITHIUM_NAMESPACE(s) pqcrystals_dilithium2_ref##s [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/poly.h:51:29: note: in expansion of macro 'DILITHIUM_NAMESPACE' [INFO] [stderr] warning: rust-dilithium2@0.1.0: 51 | #define poly_uniform_gamma1 DILITHIUM_NAMESPACE(_poly_uniform_gamma1) [INFO] [stderr] warning: rust-dilithium2@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/polyvec.c:47:5: note: in expansion of macro 'poly_uniform_gamma1' [INFO] [stderr] warning: rust-dilithium2@0.1.0: 47 | poly_uniform_gamma1(&v->vec[i], seed, L*nonce + i); [INFO] [stderr] warning: rust-dilithium2@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/config.h:7:32: note: referencing argument 2 of type 'const uint8_t[48]' {aka 'const unsigned char[48]'} [INFO] [stderr] warning: rust-dilithium2@0.1.0: 7 | #define DILITHIUM_NAMESPACE(s) pqcrystals_dilithium2_ref##s [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/poly.h:51:29: note: in expansion of macro 'DILITHIUM_NAMESPACE' [INFO] [stderr] warning: rust-dilithium2@0.1.0: 51 | #define poly_uniform_gamma1 DILITHIUM_NAMESPACE(_poly_uniform_gamma1) [INFO] [stderr] warning: rust-dilithium2@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/polyvec.c:47:5: note: in expansion of macro 'poly_uniform_gamma1' [INFO] [stderr] warning: rust-dilithium2@0.1.0: 47 | poly_uniform_gamma1(&v->vec[i], seed, L*nonce + i); [INFO] [stderr] warning: rust-dilithium2@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/config.h:7:32: note: in a call to function 'pqcrystals_dilithium2_ref_poly_uniform_gamma1' [INFO] [stderr] warning: rust-dilithium2@0.1.0: 7 | #define DILITHIUM_NAMESPACE(s) pqcrystals_dilithium2_ref##s [INFO] [stderr] warning: rust-dilithium2@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/poly.h:51:29: note: in expansion of macro 'DILITHIUM_NAMESPACE' [INFO] [stderr] warning: rust-dilithium2@0.1.0: 51 | #define poly_uniform_gamma1 DILITHIUM_NAMESPACE(_poly_uniform_gamma1) [INFO] [stderr] warning: rust-dilithium2@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/poly.h:52:6: note: in expansion of macro 'poly_uniform_gamma1' [INFO] [stderr] warning: rust-dilithium2@0.1.0: 52 | void poly_uniform_gamma1(poly *a, [INFO] [stderr] warning: rust-dilithium2@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [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/{librust_dilithium2-362f839f86e3988b,liblibc-5abfd0da628c8e2f}.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/rust-dilithium2-da6ae22edd251043/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/example-8a1f8a1ab3cd876f.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/librust_dilithium2-362f839f86e3988b.rlib: archive member 'sign.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/librust_dilithium2-362f839f86e3988b.rlib: archive member 'packing.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/librust_dilithium2-362f839f86e3988b.rlib: archive member 'polyvec.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/librust_dilithium2-362f839f86e3988b.rlib: archive member 'poly.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/librust_dilithium2-362f839f86e3988b.rlib: archive member 'ntt.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/librust_dilithium2-362f839f86e3988b.rlib: archive member 'reduce.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/librust_dilithium2-362f839f86e3988b.rlib: archive member 'rounding.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/librust_dilithium2-362f839f86e3988b.rlib: archive member 'fips202.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/librust_dilithium2-362f839f86e3988b.rlib: archive member 'symmetric-shake.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/librust_dilithium2-362f839f86e3988b.rlib: archive member 'randombytes.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librust_dilithium2-362f839f86e3988b.rlib(rust_dilithium2-362f839f86e3988b.rust_dilithium2.4453a0072ae074b7-cgu.0.rcgu.o): undefined symbol: pqcrystals_dilithium2_ref_open [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librust_dilithium2-362f839f86e3988b.rlib(rust_dilithium2-362f839f86e3988b.rust_dilithium2.4453a0072ae074b7-cgu.0.rcgu.o): undefined symbol: pqcrystals_dilithium2_ref_keypair [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librust_dilithium2-362f839f86e3988b.rlib(rust_dilithium2-362f839f86e3988b.rust_dilithium2.4453a0072ae074b7-cgu.0.rcgu.o): undefined symbol: randombytes [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librust_dilithium2-362f839f86e3988b.rlib(rust_dilithium2-362f839f86e3988b.rust_dilithium2.4453a0072ae074b7-cgu.0.rcgu.o): undefined symbol: pqcrystals_dilithium2_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: rust-dilithium2@0.1.0: In file included from depends/dilithium2/params.h:4, [INFO] [stderr] warning: rust-dilithium2@0.1.0: from depends/dilithium2/polyvec.c:2: [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/polyvec.c: In function 'pqcrystals_dilithium2_ref_polyvecl_uniform_gamma1': [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/config.h:7:32: warning: 'pqcrystals_dilithium2_ref_poly_uniform_gamma1' reading 48 bytes from a region of size 32 [-Wstringop-overread] [INFO] [stderr] warning: rust-dilithium2@0.1.0: 7 | #define DILITHIUM_NAMESPACE(s) pqcrystals_dilithium2_ref##s [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/poly.h:51:29: note: in expansion of macro 'DILITHIUM_NAMESPACE' [INFO] [stderr] warning: rust-dilithium2@0.1.0: 51 | #define poly_uniform_gamma1 DILITHIUM_NAMESPACE(_poly_uniform_gamma1) [INFO] [stderr] warning: rust-dilithium2@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/polyvec.c:47:5: note: in expansion of macro 'poly_uniform_gamma1' [INFO] [stderr] warning: rust-dilithium2@0.1.0: 47 | poly_uniform_gamma1(&v->vec[i], seed, L*nonce + i); [INFO] [stderr] warning: rust-dilithium2@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/config.h:7:32: note: referencing argument 2 of type 'const uint8_t[48]' {aka 'const unsigned char[48]'} [INFO] [stderr] warning: rust-dilithium2@0.1.0: 7 | #define DILITHIUM_NAMESPACE(s) pqcrystals_dilithium2_ref##s [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/poly.h:51:29: note: in expansion of macro 'DILITHIUM_NAMESPACE' [INFO] [stderr] warning: rust-dilithium2@0.1.0: 51 | #define poly_uniform_gamma1 DILITHIUM_NAMESPACE(_poly_uniform_gamma1) [INFO] [stderr] warning: rust-dilithium2@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/polyvec.c:47:5: note: in expansion of macro 'poly_uniform_gamma1' [INFO] [stderr] warning: rust-dilithium2@0.1.0: 47 | poly_uniform_gamma1(&v->vec[i], seed, L*nonce + i); [INFO] [stderr] warning: rust-dilithium2@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/config.h:7:32: note: in a call to function 'pqcrystals_dilithium2_ref_poly_uniform_gamma1' [INFO] [stderr] warning: rust-dilithium2@0.1.0: 7 | #define DILITHIUM_NAMESPACE(s) pqcrystals_dilithium2_ref##s [INFO] [stderr] warning: rust-dilithium2@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/poly.h:51:29: note: in expansion of macro 'DILITHIUM_NAMESPACE' [INFO] [stderr] warning: rust-dilithium2@0.1.0: 51 | #define poly_uniform_gamma1 DILITHIUM_NAMESPACE(_poly_uniform_gamma1) [INFO] [stderr] warning: rust-dilithium2@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rust-dilithium2@0.1.0: depends/dilithium2/poly.h:52:6: note: in expansion of macro 'poly_uniform_gamma1' [INFO] [stderr] warning: rust-dilithium2@0.1.0: 52 | void poly_uniform_gamma1(poly *a, [INFO] [stderr] warning: rust-dilithium2@0.1.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] error: could not compile `rust-dilithium2` (bin "example") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "23091bc1769efbfef703c4136fe50a85350bb92192c55085b7ccd29127961fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23091bc1769efbfef703c4136fe50a85350bb92192c55085b7ccd29127961fab", kill_on_drop: false }` [INFO] [stdout] 23091bc1769efbfef703c4136fe50a85350bb92192c55085b7ccd29127961fab