[INFO] cloning repository https://github.com/micahcc/shm-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/micahcc/shm-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmicahcc%2Fshm-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmicahcc%2Fshm-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5630f8e85d67c6ac75d79dfd3d1013b685003bff [INFO] testing micahcc/shm-rs 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%2Fmicahcc%2Fshm-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/micahcc/shm-rs [INFO] finished tweaking git repo https://github.com/micahcc/shm-rs [INFO] tweaked toml for git repo https://github.com/micahcc/shm-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/micahcc/shm-rs 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/micahcc/shm-rs 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 153e57018a292782d00a8b7cfeab0d9cc38d468b40d595f144a647b72e637a03 [INFO] running `Command { std: "docker" "start" "-a" "153e57018a292782d00a8b7cfeab0d9cc38d468b40d595f144a647b72e637a03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "153e57018a292782d00a8b7cfeab0d9cc38d468b40d595f144a647b72e637a03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "153e57018a292782d00a8b7cfeab0d9cc38d468b40d595f144a647b72e637a03", kill_on_drop: false }` [INFO] [stdout] 153e57018a292782d00a8b7cfeab0d9cc38d468b40d595f144a647b72e637a03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e3ceffd5e066f0b4d7a65391da2ca01119ca86958e4a33e8304a262e9c4b95b8 [INFO] running `Command { std: "docker" "start" "-a" "e3ceffd5e066f0b4d7a65391da2ca01119ca86958e4a33e8304a262e9c4b95b8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling io-lifetimes v1.0.9 [INFO] [stderr] Compiling rustix v0.37.6 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling linux-raw-sys v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling nix v0.26.2 [INFO] [stderr] Compiling sendfd v0.4.3 [INFO] [stderr] Compiling regex v1.7.3 [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 ctrlc v3.2.5 [INFO] [stderr] Compiling is-terminal v0.4.6 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling shm_broadcast v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `info` and `warn` [INFO] [stdout] --> src/shared_write_segment.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | use log::{error, info, warn}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/write_interface.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use log::{error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MESSAGE_HEADER_SIZE` [INFO] [stdout] --> src/write_segment.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | ABS_POS_N_MESSAGES, ABS_POS_SEGMENT_UID, MESSAGE_HEADER_SIZE, PRIMARY_HEADER_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::wire_message::WireMessage` [INFO] [stdout] --> src/write_segment.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::wire_message::WireMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, and `warn` [INFO] [stdout] --> src/write_segment.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use log::{error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/write_segment.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut shared_segment = self.shared_segment.lock().unwrap(); [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: struct `WireMessage` is never constructed [INFO] [stdout] --> src/wire_message.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct WireMessage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/rustccd9zBC/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libshm_broadcast-f9c1c7be62aa4da8.rlib,librand-8737667092ae32c0.rlib,librand_chacha-ed463f81938f9545.rlib,libppv_lite86-742ade976f63ace4.rlib,librand_core-9bc5b88a10694a05.rlib,libgetrandom-9dce6743e7e298b9.rlib,libcrc-b73741d1d2a5f766.rlib,libcrc_catalog-7e32d0230b0c8248.rlib,libsendfd-4a557bf053d2fecf.rlib,liblibc-8c6026cb9ab8c49f.rlib,liblog-85ece36e36b085b5.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/rustccd9zBC/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/example_subscriber-d94ef6e8320af30b" "-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/libshm_broadcast-f9c1c7be62aa4da8.rlib(shm_broadcast-f9c1c7be62aa4da8.shm_broadcast.21a16c4c2175bbd-cgu.1.rcgu.o): in function `shm_broadcast::mem_fd::MemFd::from_owned_fd': [INFO] [stdout] /opt/rustwide/workdir/src/mem_fd.rs:78:(.text._ZN13shm_broadcast6mem_fd5MemFd13from_owned_fd17hf341549f8d9307b1E+0xcc): undefined reference to `mmap64' [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 `shm_broadcast` (bin "example_subscriber") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/rustcwhYnrv/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libshm_broadcast-f9c1c7be62aa4da8.rlib,librand-8737667092ae32c0.rlib,librand_chacha-ed463f81938f9545.rlib,libppv_lite86-742ade976f63ace4.rlib,librand_core-9bc5b88a10694a05.rlib,libgetrandom-9dce6743e7e298b9.rlib,libcrc-b73741d1d2a5f766.rlib,libcrc_catalog-7e32d0230b0c8248.rlib,libsendfd-4a557bf053d2fecf.rlib,liblibc-8c6026cb9ab8c49f.rlib,liblog-85ece36e36b085b5.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/rustcwhYnrv/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/example_publisher-63d36aeed487f30a" "-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/libshm_broadcast-f9c1c7be62aa4da8.rlib(shm_broadcast-f9c1c7be62aa4da8.shm_broadcast.21a16c4c2175bbd-cgu.1.rcgu.o): in function `shm_broadcast::mem_fd::MemFd::new': [INFO] [stdout] /opt/rustwide/workdir/src/mem_fd.rs:122:(.text._ZN13shm_broadcast6mem_fd5MemFd3new17h50dfe2bfc9edf827E+0x224): undefined reference to `mmap64' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-9dce6743e7e298b9.rlib(getrandom-9dce6743e7e298b9.getrandom.636bd0d874aa4e4d-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_readonly17h886ac6017618bf2cE+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 `shm_broadcast` (bin "example_publisher") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "e3ceffd5e066f0b4d7a65391da2ca01119ca86958e4a33e8304a262e9c4b95b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3ceffd5e066f0b4d7a65391da2ca01119ca86958e4a33e8304a262e9c4b95b8", kill_on_drop: false }` [INFO] [stdout] e3ceffd5e066f0b4d7a65391da2ca01119ca86958e4a33e8304a262e9c4b95b8