[INFO] cloning repository https://github.com/cloudybyte/drinklogger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cloudybyte/drinklogger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcloudybyte%2Fdrinklogger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcloudybyte%2Fdrinklogger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94a1d240abf76e733bf7dce9f343dec80b9ae7d5 [INFO] testing cloudybyte/drinklogger 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%2Fcloudybyte%2Fdrinklogger" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/cloudybyte/drinklogger [INFO] finished tweaking git repo https://github.com/cloudybyte/drinklogger [INFO] tweaked toml for git repo https://github.com/cloudybyte/drinklogger written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cloudybyte/drinklogger 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/cloudybyte/drinklogger 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] 14e57ced0c10a945b8eef4cb2a20ad010717338572a227bbe4dc2042cf7c1d6d [INFO] running `Command { std: "docker" "start" "-a" "14e57ced0c10a945b8eef4cb2a20ad010717338572a227bbe4dc2042cf7c1d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14e57ced0c10a945b8eef4cb2a20ad010717338572a227bbe4dc2042cf7c1d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14e57ced0c10a945b8eef4cb2a20ad010717338572a227bbe4dc2042cf7c1d6d", kill_on_drop: false }` [INFO] [stdout] 14e57ced0c10a945b8eef4cb2a20ad010717338572a227bbe4dc2042cf7c1d6d [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] 5e636d0b88335d2c64da5b0f76b4ff88a93645ff8385642c0890b824b582cb59 [INFO] running `Command { std: "docker" "start" "-a" "5e636d0b88335d2c64da5b0f76b4ff88a93645ff8385642c0890b824b582cb59", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling rppal v0.2.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling spidev v0.4.1 [INFO] [stderr] Compiling rfid-rs v0.1.3 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling skeptic v0.13.6 [INFO] [stderr] Compiling i2cdev v0.3.2 [INFO] [stderr] Compiling pwr-hd44780 v0.1.3 [INFO] [stderr] Compiling drinklogger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/main.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{env, io::Read, thread, time::Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 90 | / match reader.mifare_write(block, &buffer) { [INFO] [stdout] 91 | | Ok(_) => { [INFO] [stdout] 92 | | println!("Wrote block {} successfully", block); [INFO] [stdout] 93 | | return buffer; [INFO] [stdout] ... | [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 100 | [INFO] [stdout] 101 | reader.halt_a().expect("Could not halt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | if let Some(name) = args.get(2) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let mut block = 1; [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] 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/rustcwICfJN/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librfid_rs-22b40614194653b8.rlib,libspidev-a1b7b4a28977e45f.rlib,libnix-722edd5cfae3be10.rlib,librand-82119d3630abced2.rlib,librand_chacha-bf7e97b7a2e36b75.rlib,libppv_lite86-7955ccdf208dacd3.rlib,librand_core-db2e58ded7e1eae5.rlib,libgetrandom-61d51b4384cce2c6.rlib,libcfg_if-66d55f6b302e88c8.rlib,libpwr_hd44780-be3d323ae4fe037f.rlib,librppal-0416626beb0f2306.rlib,libquick_error-022321fe562bcedb.rlib,libenum_primitive-c44594c73ae6feed.rlib,libnum_traits-3be44a6eef49d2d9.rlib,libnum-dd112d79574a24df.rlib,libnum_iter-02fc938f1251c955.rlib,libnum_integer-03aef02c008bead9.rlib,libnum_traits-e187c9543899d750.rlib,libi2cdev-8cfa0c2e7a9a3987.rlib,libnix-56c5ce1686a0795b.rlib,libvoid-93586161032aa49a.rlib,libcfg_if-2d17986ae484e939.rlib,libbytes-e66bbe7744372dd6.rlib,libiovec-acb9ebef55c1ac11.rlib,libbitflags-e274cd04b58a060d.rlib,libbyteorder-c7092f68299ac016.rlib,liblibc-2e5e8532064393b9.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/rustcwICfJN/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/drinklogger-55084427c2011a9f" "-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-61d51b4384cce2c6.rlib(getrandom-61d51b4384cce2c6.getrandom.952dd81301ecce0-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.3/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17h6046831dfbbc6d16E+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 `drinklogger` (bin "drinklogger") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5e636d0b88335d2c64da5b0f76b4ff88a93645ff8385642c0890b824b582cb59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e636d0b88335d2c64da5b0f76b4ff88a93645ff8385642c0890b824b582cb59", kill_on_drop: false }` [INFO] [stdout] 5e636d0b88335d2c64da5b0f76b4ff88a93645ff8385642c0890b824b582cb59