[INFO] cloning repository https://github.com/sanjeevkaushik90/random_number_guessing_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sanjeevkaushik90/random_number_guessing_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanjeevkaushik90%2Frandom_number_guessing_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanjeevkaushik90%2Frandom_number_guessing_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdd7fc8a0649c4c2571d5a9bef85bcf272b85e93 [INFO] building sanjeevkaushik90/random_number_guessing_game against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanjeevkaushik90%2Frandom_number_guessing_game" "/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/sanjeevkaushik90/random_number_guessing_game [INFO] finished tweaking git repo https://github.com/sanjeevkaushik90/random_number_guessing_game [INFO] tweaked toml for git repo https://github.com/sanjeevkaushik90/random_number_guessing_game written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sanjeevkaushik90/random_number_guessing_game 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/sanjeevkaushik90/random_number_guessing_game 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] 9456b09bb8b9db43d5f9324b9da3da10d57e2ea57af9e80d6e6158a3d246460e [INFO] running `Command { std: "docker" "start" "-a" "9456b09bb8b9db43d5f9324b9da3da10d57e2ea57af9e80d6e6158a3d246460e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9456b09bb8b9db43d5f9324b9da3da10d57e2ea57af9e80d6e6158a3d246460e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9456b09bb8b9db43d5f9324b9da3da10d57e2ea57af9e80d6e6158a3d246460e", kill_on_drop: false }` [INFO] [stdout] 9456b09bb8b9db43d5f9324b9da3da10d57e2ea57af9e80d6e6158a3d246460e [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] d0081fc0f051530131111d51006087c76b63a3cae0abb2b36faacfbcd2bab867 [INFO] running `Command { std: "docker" "start" "-a" "d0081fc0f051530131111d51006087c76b63a3cae0abb2b36faacfbcd2bab867", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling derive_more-impl v2.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling scale-type-resolver v0.2.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling enum-iterator-derive v1.5.0 [INFO] [stderr] Compiling gear-stack-buffer v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling gear-dlmalloc v0.2.0 [INFO] [stderr] Compiling gear-ss58 v1.10.0 [INFO] [stderr] Compiling gcore v1.10.0 [INFO] [stderr] Compiling str-buf v3.0.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling galloc v1.10.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling gsys v1.10.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling scale-decode-derive v0.16.2 [INFO] [stderr] Compiling scale-encode-derive v0.10.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling derive_more v2.1.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling scale-bits v0.7.0 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling scale-decode v0.16.2 [INFO] [stderr] Compiling scale-encode v0.10.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling gmeta v1.7.1 [INFO] [stderr] Compiling gprimitives v1.10.0 [INFO] [stderr] Compiling gear-core-errors v1.10.0 [INFO] [stderr] Compiling gstd-codegen v1.10.0 [INFO] [stderr] Compiling gstd v1.10.0 [INFO] [stderr] Compiling io v0.0.2 [INFO] [stderr] Compiling random_number_guessing_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/main.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | let random_number: i32 = rand::thread_rng().gen_range(1..100); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/main.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | let random_number: i32 = rand::thread_rng().gen_range(1..100); [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" "__main_void" "--export" "__gcore_pull_in_symbol" "-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/{libio-9936fee088d43c38,libgstd-cda4172f7623fbca,libwaker_fn-16875821f76d03a6,libgcore-e8c506919c9118e5,libgear_stack_buffer-0800f47b0d4e8d63,libgsys-5cba736fb861712e,libgprimitives-a8086b7fb34ac762,libderive_more-0b183787db3dbd17,libprimitive_types-9dabb89f6fa042c3,libimpl_codec-61a61725f6a2d5e4,libuint-8bf2ef5c68882c75,libgear_ss58-371bc9b583b4620c,libbs58-6cf44240e724dc8b,libbytemuck-f991f69baafbc6f1,libgear_core_errors-93e2cf3fa2f262e2,libscale_encode-8ceedfddadd3fe86,libscale_decode-39a2f96a375faa49,libthiserror-d91617a8657d55bf,libscale_bits-72e5f2af50cefd6b,libscale_type_resolver-fd41d5f22cff37dd,libsmallvec-e66260ff59480183,libprimitive_types-cb58bbbaa2d6adbb,libuint-e3337b8c65c60fca,libcrunchy-4b5a1623ce071555,libbyteorder-724208724ef3bd1b,libfixed_hash-4c8c4e7ce0368081,librustc_hex-17e71de51d436285,libenum_iterator-20beb0a8a09084cc,libhashbrown-0da872b70538ebfa,libahash-f65d6c385dae5430,libonce_cell-904453684a9de20a,liballocator_api2-8e8748a307852ab5,libfutures-346c1ce5306454b9,libfutures_channel-5a4e49e78fdbda0a,libfutures_util-8d462c5192fdc9db,libpin_project_lite-19621c2fa8381040,libfutures_sink-21692452a2dca5e9,libfutures_task-e3ff4340f46fd4a0,libpin_utils-14025d01bce6a479,libfutures_core-44544f0394af9d1e,libgalloc-0a8a3fb650346160,libgear_dlmalloc-19ed966402da449e,libstr_buf-ba8fbf03e1eec4e3,libstatic_assertions-5a320074c6765347,libgmeta-86bae7e5e903d5c2,libhex-515790ed2476f981,libblake2-d9de12ab8e0107e2,libdigest-322350fa6fde8282,libsubtle-5c0660ad43943a6b,libblock_buffer-0c1bbe590847e9b4,libcrypto_common-caccfadcc2202687,libgeneric_array-ee3750c71148e174,libtypenum-4ac17e86544286c1,libscale_info-6f4be1202312018d,libderive_more-67df8c06661ce659,libparity_scale_codec-2ff279666b5dea56,libarrayvec-e1eaf3377f1d004d,libbyte_slice_cast-487bc7e7335348d2,libconst_format-9cb10cf8dc89ba2f,librand-acc5a36ce1dcd8dd,librand_chacha-22cb61966c400793,libppv_lite86-b3e00d4cdbb06f1a,libzerocopy-cc9047fa1778c3ef,librand_core-263dabbf143f871c,libgetrandom-1da3c5c87a243e8e,libcfg_if-d6bc76d3bc4619c0}.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/random_number_guessing_game-62f10e2d6200c0fb.wasm" "--gc-sections" "-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/libgear_dlmalloc-19ed966402da449e.rlib(gear_dlmalloc-19ed966402da449e.gear_dlmalloc.9d5c868fdd6d8e51-cgu.1.rcgu.o): undefined symbol: free_range [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libgear_dlmalloc-19ed966402da449e.rlib(gear_dlmalloc-19ed966402da449e.gear_dlmalloc.9d5c868fdd6d8e51-cgu.1.rcgu.o): undefined symbol: alloc [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libgear_dlmalloc-19ed966402da449e.rlib(gear_dlmalloc-19ed966402da449e.gear_dlmalloc.9d5c868fdd6d8e51-cgu.1.rcgu.o): undefined symbol: gr_debug [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libgcore-e8c506919c9118e5.rlib(gcore-e8c506919c9118e5.gcore.327f7dd1c5e0ac60-cgu.0.rcgu.o): undefined symbol: __gcore_set_fns [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `random_number_guessing_game` (bin "random_number_guessing_game") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d0081fc0f051530131111d51006087c76b63a3cae0abb2b36faacfbcd2bab867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0081fc0f051530131111d51006087c76b63a3cae0abb2b36faacfbcd2bab867", kill_on_drop: false }` [INFO] [stdout] d0081fc0f051530131111d51006087c76b63a3cae0abb2b36faacfbcd2bab867