[INFO] cloning repository https://github.com/MellowYarker/RustX [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MellowYarker/RustX" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMellowYarker%2FRustX", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMellowYarker%2FRustX'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36ff2b87c74734c7952cde720c90be9771ee1957 [INFO] testing MellowYarker/RustX 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%2FMellowYarker%2FRustX" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MellowYarker/RustX [INFO] finished tweaking git repo https://github.com/MellowYarker/RustX [INFO] tweaked toml for git repo https://github.com/MellowYarker/RustX written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MellowYarker/RustX 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/MellowYarker/RustX 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] 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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 124f51f897d7ee12dc800de184fba3721c24b6af32878e393ad6e481b0a4be99 [INFO] running `Command { std: "docker" "start" "-a" "124f51f897d7ee12dc800de184fba3721c24b6af32878e393ad6e481b0a4be99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "124f51f897d7ee12dc800de184fba3721c24b6af32878e393ad6e481b0a4be99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "124f51f897d7ee12dc800de184fba3721c24b6af32878e393ad6e481b0a4be99", kill_on_drop: false }` [INFO] [stdout] 124f51f897d7ee12dc800de184fba3721c24b6af32878e393ad6e481b0a4be99 [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: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] 7b1df784cfafe90fdd9429d29165450d75c24e5f71338e5359c81db7d5d51f2b [INFO] running `Command { std: "docker" "start" "-a" "7b1df784cfafe90fdd9429d29165450d75c24e5f71338e5359c81db7d5d51f2b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling combine v4.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling crossterm v0.19.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling colour v0.6.0 [INFO] [stderr] Compiling postgres-protocol v0.6.1 [INFO] [stderr] Compiling postgres-types v0.2.1 [INFO] [stderr] Compiling ctrlc v3.1.9 [INFO] [stderr] Compiling random-number-macro-impl v0.1.5 [INFO] [stderr] Compiling random-number v0.1.6 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling redis v0.20.2 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-postgres v0.7.2 [INFO] [stderr] Compiling postgres v0.19.1 [INFO] [stderr] Compiling exchange v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/exchange/market.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | let mut lowest_offer = &mut (self.sell_orders.peek_mut().unwrap().0); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_price` is never read [INFO] [stdout] --> src/exchange.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | let mut new_price = None; // new price if trade occurs [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser.rs:262:37 [INFO] [stdout] | [INFO] [stdout] 262 | ... &exchange.show_market(&order.symbol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 262 | let _ = &exchange.show_market(&order.symbol); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser.rs:360:21 [INFO] [stdout] | [INFO] [stdout] 360 | &exchange.simulate_market(&req, users, buffers, conn, redis_conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 360 | let _ = &exchange.simulate_market(&req, users, buffers, conn, redis_conn); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/parser.rs:381:29 [INFO] [stdout] | [INFO] [stdout] 381 | ... &acc.print_user(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 381 | let _ = &acc.print_user(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/account.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | self.pending.entry(symbol.clone().to_string()).or_insert(HashMap::new()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [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/rustcpIyAfd/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libpostgres-48fd28c15775370d.rlib,libtokio_postgres-060cf378e8d4eb28.rlib,libphf-24f8188bdfb792cc.rlib,libphf_shared-9a0e4c520cac37f7.rlib,libsiphasher-340ef969b14d0bbf.rlib,libsocket2-0ed87ca5fdcb5aa6.rlib,libtokio_util-d322f78f98c699c8.rlib,libtokio-016e7b295800e588.rlib,libpostgres_types-9fdea6b8bc16c614.rlib,libpostgres_protocol-543bf69141d4cf0e.rlib,libbase64-1447dfff012d42f8.rlib,libstringprep-a3000a4cbb00732d.rlib,libsha2-df2aa8243de3d46c.rlib,libcpufeatures-22d8f1dedb653ca1.rlib,libhmac-535751d8024b1ec5.rlib,libcrypto_mac-8ed2614cf479c33c.rlib,libsubtle-b30874e4b7c2301d.rlib,libmd5-5f6624ce44fe575a.rlib,libopaque_debug-bfd86111b0908dde.rlib,libblock_buffer-bb73cade331d8c0a.rlib,libdigest-392b0119d713202e.rlib,libgeneric_array-b8f324177b2c2b8f.rlib,libtypenum-b0ea879750aa85fb.rlib,libfutures-75bd48037dc74fd8.rlib,libfutures_executor-ff80a32767ed9374.rlib,libfutures_util-8aff4d2184029d58.rlib,libfutures_io-d2e168d7a38f858c.rlib,libslab-77a18d92df1fb8de.rlib,libfutures_channel-d7d2b5a1fab2fed0.rlib,libpin_project_lite-4390088538166d84.rlib,libfutures_sink-a45f562d8650455c.rlib,libfutures_task-745d6cc0eb00d6e5.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-891d760f6cde94e5.rlib,libbyteorder-c7092f68299ac016.rlib,libfallible_iterator-da18290346318e11.rlib,libcolour-02bd3efc56f9aac4.rlib,libcrossterm-04b21418da53c360.rlib,libsignal_hook-e14179357506590e.rlib,libsignal_hook_registry-05d1ba3b4b4feb51.rlib,libmio-a528998d6b7666a2.rlib,liblog-2fa663e3959e676f.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libparking_lot-973efd3f834231e1.rlib,libparking_lot_core-5bdcf8ccd6915f36.rlib,libsmallvec-a0b9fe2bb61c7c93.rlib,liblock_api-8a3a9ae637979500.rlib,libscopeguard-73056285f12cb829.rlib,libinstant-96e83b871cb6a3bd.rlib,libredis-959b0e5f28ad7da7.rlib,libdtoa-f882113df419a609.rlib,liburl-ee1c7992248a381e.rlib,libidna-42369471594e6f7b.rlib,libunicode_normalization-28bea95e7b716c18.rlib,libtinyvec-f85e4e0caa5b9d82.rlib,libtinyvec_macros-c54c30cfa88e68f0.rlib,libunicode_bidi-fba63ab404db077b.rlib,libform_urlencoded-c7ca260acdafb077.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libmatches-d7125afe50072f5c.rlib,libitoa-99e7082793cfaa64.rlib,libsha1-e1207977455020fb.rlib,libcombine-cc81ec77cb147c03.rlib,libmemchr-957e86e3927603bf.rlib,libbytes-f5f6908afbf67346.rlib,libctrlc-d33cae88963d955c.rlib,libnix-7d3abee9d8706ef6.rlib,libbitflags-561a4f1321538a32.rlib,libchrono-97502595dd1a2d98.rlib,libnum_integer-776fc74e87f61fcf.rlib,libnum_traits-e5050f906ed56291.rlib,libtime-f6a64f22ef253db7.rlib,librandom_number-4016df26a0fb5e3d.rlib,librand-c653f4eb27989d68.rlib,librand_chacha-e28f47f58fc480cb.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-28821c088d71cdbf.rlib,libgetrandom-8019553e631f9b63.rlib,liblibc-84390c4d0115a707.rlib,libcfg_if-66d55f6b302e88c8.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/rustcpIyAfd/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/exchange-708b474f64d3f23e" "-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-8019553e631f9b63.rlib(getrandom-8019553e631f9b63.getrandom.c339064872a25926-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.2/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17h7e18aa0536b79539E+0xb6): 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 `exchange` (bin "exchange") due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7b1df784cfafe90fdd9429d29165450d75c24e5f71338e5359c81db7d5d51f2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b1df784cfafe90fdd9429d29165450d75c24e5f71338e5359c81db7d5d51f2b", kill_on_drop: false }` [INFO] [stdout] 7b1df784cfafe90fdd9429d29165450d75c24e5f71338e5359c81db7d5d51f2b