[INFO] cloning repository https://github.com/hegde-atri/rust_practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hegde-atri/rust_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhegde-atri%2Frust_practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhegde-atri%2Frust_practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db9291cba66d96216e22386e399989cf6c036636 [INFO] testing hegde-atri/rust_practice against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhegde-atri%2Frust_practice" "/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/hegde-atri/rust_practice [INFO] finished tweaking git repo https://github.com/hegde-atri/rust_practice [INFO] tweaked toml for git repo https://github.com/hegde-atri/rust_practice written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hegde-atri/rust_practice on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hegde-atri/rust_practice 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff327316e7fe69a1f6641c5ecb2b9eaf0c802617d59c3aaf569d976903bc339b [INFO] running `Command { std: "docker" "start" "-a" "ff327316e7fe69a1f6641c5ecb2b9eaf0c802617d59c3aaf569d976903bc339b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff327316e7fe69a1f6641c5ecb2b9eaf0c802617d59c3aaf569d976903bc339b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff327316e7fe69a1f6641c5ecb2b9eaf0c802617d59c3aaf569d976903bc339b", kill_on_drop: false }` [INFO] [stdout] ff327316e7fe69a1f6641c5ecb2b9eaf0c802617d59c3aaf569d976903bc339b [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c44c713832d53ef1cee805b97d8b243d31e45d750c7a84fe4e7f42aa48510d3e [INFO] running `Command { std: "docker" "start" "-a" "c44c713832d53ef1cee805b97d8b243d31e45d750c7a84fe4e7f42aa48510d3e", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling longest_unique_substring v0.1.0 (/opt/rustwide/workdir/leetcode/longest_unique_substring) [INFO] [stderr] Compiling pow v0.1.0 (/opt/rustwide/workdir/leetcode/pow) [INFO] [stderr] Compiling two_sum v0.1.0 (/opt/rustwide/workdir/leetcode/two_sum) [INFO] [stderr] Compiling container_with_most_water v0.1.0 (/opt/rustwide/workdir/leetcode/container_with_most_water) [INFO] [stderr] Compiling longest_common_prefix v0.1.0 (/opt/rustwide/workdir/leetcode/longest_common_prefix) [INFO] [stderr] Compiling palindrome_number v0.1.0 (/opt/rustwide/workdir/leetcode/palindrome_number) [INFO] [stderr] Compiling atoi v0.1.0 (/opt/rustwide/workdir/leetcode/atoi) [INFO] [stderr] Compiling sorting v0.1.0 (/opt/rustwide/workdir/general/sorting) [INFO] [stderr] Compiling valid_parentheses v0.1.0 (/opt/rustwide/workdir/leetcode/valid_parentheses) [INFO] [stderr] Compiling reverse_integer v0.1.0 (/opt/rustwide/workdir/leetcode/reverse_integer) [INFO] [stderr] Compiling jug_search_com1005 v0.1.0 (/opt/rustwide/workdir/general/jug_search_com1005) [INFO] [stderr] Compiling merge_k_sorted_lists_23 v0.1.0 (/opt/rustwide/workdir/leetcode/merge_k_sorted_lists_23) [INFO] [stderr] Compiling median_two_sorted_arrays v0.1.0 (/opt/rustwide/workdir/leetcode/median_two_sorted_arrays) [INFO] [stdout] warning: unused variable: `least` [INFO] [stdout] --> leetcode/merge_k_sorted_lists_23/src/main.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut least: i32; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_least` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lists` [INFO] [stdout] --> leetcode/merge_k_sorted_lists_23/src/main.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn merge_k_lists(lists: Vec>>) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lists` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> leetcode/merge_k_sorted_lists_23/src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 10 | #[inline] [INFO] [stdout] 11 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `helper` is never used [INFO] [stdout] --> leetcode/merge_k_sorted_lists_23/src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | fn helper() -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling merge_two_sorted_lists_22 v0.1.0 (/opt/rustwide/workdir/leetcode/merge_two_sorted_lists_22) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> leetcode/merge_two_sorted_lists_22/src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 10 | #[inline] [INFO] [stdout] 11 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling add_two_numbers v0.1.0 (/opt/rustwide/workdir/leetcode/add_two_numbers) [INFO] [stderr] Compiling generate_parentheses_22 v0.1.0 (/opt/rustwide/workdir/leetcode/generate_parentheses_22) [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling calculate_pi v0.1.0 (/opt/rustwide/workdir/general/calculate_pi) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcKJHuhb/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-bff7d8317cf08aa0.rlib,librand_chacha-612027a3597e9138.rlib,libppv_lite86-742ade976f63ace4.rlib,librand_core-be9c132a0f2b7897.rlib,libgetrandom-dc7f0d82f4cb384d.rlib,liblibc-abed7616303a3e0d.rlib,libcfg_if-66d55f6b302e88c8.rlib,libnum_format-37798cdc5bd4e8d4.rlib,libitoa-aa5242e9af7e8ff4.rlib,libarrayvec-e5711182016c64f3.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcKJHuhb/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/calculate_pi-bec59d4d1f5fab69" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-dc7f0d82f4cb384d.rlib(getrandom-dc7f0d82f4cb384d.getrandom.828c5c30a8428cf4-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.8/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17hdc55d6ead142a889E+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `calculate_pi` (bin "calculate_pi") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c44c713832d53ef1cee805b97d8b243d31e45d750c7a84fe4e7f42aa48510d3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c44c713832d53ef1cee805b97d8b243d31e45d750c7a84fe4e7f42aa48510d3e", kill_on_drop: false }` [INFO] [stdout] c44c713832d53ef1cee805b97d8b243d31e45d750c7a84fe4e7f42aa48510d3e