[INFO] cloning repository https://github.com/klimatt/serial_tester [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/klimatt/serial_tester" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fklimatt%2Fserial_tester", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fklimatt%2Fserial_tester'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b90ac0246521f35a4b5b218458767f845eb02aa [INFO] testing klimatt/serial_tester 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%2Fklimatt%2Fserial_tester" "/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/klimatt/serial_tester [INFO] finished tweaking git repo https://github.com/klimatt/serial_tester [INFO] tweaked toml for git repo https://github.com/klimatt/serial_tester written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/klimatt/serial_tester 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/klimatt/serial_tester 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-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] 46165b2d4cf693d10ea3fbf3fa2cc6d89ee42a1657a384a9ac99fd6da4dd28b1 [INFO] running `Command { std: "docker" "start" "-a" "46165b2d4cf693d10ea3fbf3fa2cc6d89ee42a1657a384a9ac99fd6da4dd28b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46165b2d4cf693d10ea3fbf3fa2cc6d89ee42a1657a384a9ac99fd6da4dd28b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46165b2d4cf693d10ea3fbf3fa2cc6d89ee42a1657a384a9ac99fd6da4dd28b1", kill_on_drop: false }` [INFO] [stdout] 46165b2d4cf693d10ea3fbf3fa2cc6d89ee42a1657a384a9ac99fd6da4dd28b1 [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] 233fbafc446fe896be965f0b6ae360ce839b697ab4ced5889cc1413063a3bd9f [INFO] running `Command { std: "docker" "start" "-a" "233fbafc446fe896be965f0b6ae360ce839b697ab4ced5889cc1413063a3bd9f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling os_str_bytes v2.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling serialport v3.3.0 [INFO] [stderr] Compiling mio-serial v3.3.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-serial v4.3.3 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling clap v3.0.0-beta.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling serial_tester v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, io, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `clap::Arg::<'help>::help`: Please use `about` method instead [INFO] [stdout] --> src/main.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | .help("Serial port to connect")) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `clap::Arg::<'help>::help`: Please use `about` method instead [INFO] [stdout] --> src/main.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | .help("Serial baudrate")) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut settings = tokio_serial::SerialPortSettings::default(); [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:71:60 [INFO] [stdout] | [INFO] [stdout] 71 | let mut port = tokio_serial::Serial::from_path(tty_path.clone(), &settings).unwrap(); [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] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | port.set_baud_rate(baud.parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = port.set_baud_rate(baud.parse().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | tx.send(random_array.clone()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = tx.send(random_array.clone()).await; [INFO] [stdout] | +++++++ [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/rustcrwgFjv/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libclap-99f8dbbc34df706b.rlib,libstrsim-7a71560e0c2955e4.rlib,libatty-3ac8371413ccad4d.rlib,libtextwrap-8f512d08ba4810ae.rlib,libtermcolor-2ea4a539468aa6b0.rlib,libvec_map-f5624d319d58cb9d.rlib,libos_str_bytes-7aacd3e48f0bbf1b.rlib,libindexmap-26cb6cde39a1cad6.rlib,libunicode_width-a8c49d31449f9404.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libtokio_serial-e89b625f35137590.rlib,libmio_serial-aacbcdc7ef9a14b2.rlib,libserialport-18d510aac8b79b69.rlib,libnix-efe0aabdd6af5abe.rlib,libvoid-93586161032aa49a.rlib,libbitflags-561a4f1321538a32.rlib,librand-fa47982368aa956e.rlib,librand_chacha-6dba7492e9d44f77.rlib,libppv_lite86-ef53971f935c91f9.rlib,librand_core-ab3083ac51d2f5ba.rlib,libgetrandom-4fc2fcfddfd57d5b.rlib,libfutures-0aea0afc9b42139c.rlib,libfutures_executor-db5a368a97747d6f.rlib,libfutures_util-b6b7ee288b165af0.rlib,libmemchr-66f21ea766679294.rlib,libproc_macro_nested-2e4002de4910557b.rlib,libfutures_io-03acb20cab29e44e.rlib,libfutures_channel-88a582a6a67dec5e.rlib,libpin_project-0ba647658ba176d1.rlib,libfutures_task-a090238293355c73.rlib,libonce_cell-89be73b5fd0211ba.rlib,libpin_utils-b08f1197f0cdae19.rlib,libtokio_util-7d055fabb7930eea.rlib,libfutures_sink-fb942baf8af709d2.rlib,libfutures_core-1fa6d914b49bd78d.rlib,libtokio-5ce7bb3dd6e0e572.rlib,libmio-3af0fdfec1c15d99.rlib,liblog-0458da19e351a080.rlib,libslab-7c577fd9ceb1ab41.rlib,libiovec-c842fd16972185e2.rlib,libnet2-821f8a25db10909c.rlib,libcfg_if-2d17986ae484e939.rlib,liblibc-a9765cffea811887.rlib,libpin_project_lite-9425618866ebf4ff.rlib,libbytes-5b209c7771abec46.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/rustcrwgFjv/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/serial_tester-95c6295bf9b6a3b2" "-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-4fc2fcfddfd57d5b.rlib(getrandom-4fc2fcfddfd57d5b.getrandom.b583ab661384a71e-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.1.14/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17hfd59f5055f1a27e2E+0x79): 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 `serial_tester` (bin "serial_tester") due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "233fbafc446fe896be965f0b6ae360ce839b697ab4ced5889cc1413063a3bd9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "233fbafc446fe896be965f0b6ae360ce839b697ab4ced5889cc1413063a3bd9f", kill_on_drop: false }` [INFO] [stdout] 233fbafc446fe896be965f0b6ae360ce839b697ab4ced5889cc1413063a3bd9f