[INFO] cloning repository https://github.com/youssefhabri/pngcrypt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/youssefhabri/pngcrypt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoussefhabri%2Fpngcrypt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoussefhabri%2Fpngcrypt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e9eeb8ff63f7437446f31d8736a35f608095ed6 [INFO] testing youssefhabri/pngcrypt 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%2Fyoussefhabri%2Fpngcrypt" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/youssefhabri/pngcrypt [INFO] finished tweaking git repo https://github.com/youssefhabri/pngcrypt [INFO] tweaked toml for git repo https://github.com/youssefhabri/pngcrypt written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/youssefhabri/pngcrypt 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/youssefhabri/pngcrypt 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] efeeece6867c3572e236c05aa103b581de1f6556aeaf7d42b8917dfe6c38f555 [INFO] running `Command { std: "docker" "start" "-a" "efeeece6867c3572e236c05aa103b581de1f6556aeaf7d42b8917dfe6c38f555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efeeece6867c3572e236c05aa103b581de1f6556aeaf7d42b8917dfe6c38f555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efeeece6867c3572e236c05aa103b581de1f6556aeaf7d42b8917dfe6c38f555", kill_on_drop: false }` [INFO] [stdout] efeeece6867c3572e236c05aa103b581de1f6556aeaf7d42b8917dfe6c38f555 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 77714d2ba00d2ac4b71f93751b57247541553a2818d94bc312bc6deaf3d9770b [INFO] running `Command { std: "docker" "start" "-a" "77714d2ba00d2ac4b71f93751b57247541553a2818d94bc312bc6deaf3d9770b", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling stream-cipher v0.3.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling cfb-mode v0.3.2 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling pngcrypt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:17:84 [INFO] [stdout] | [INFO] [stdout] 17 | ($expr).map_err(|err| format!("line {}: {}", line!(), err.to_string())); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 50 | map_err!(file.read_exact(&mut header))?; [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `map_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:17:84 [INFO] [stdout] | [INFO] [stdout] 17 | ($expr).map_err(|err| format!("line {}: {}", line!(), err.to_string())); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 61 | map_err!(file.read_exact(&mut length_raw))?; [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:17:84 [INFO] [stdout] | [INFO] [stdout] 17 | ($expr).map_err(|err| format!("line {}: {}", line!(), err.to_string())); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 66 | map_err!(file.read_exact(&mut c_type_raw))?; [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:17:84 [INFO] [stdout] | [INFO] [stdout] 17 | ($expr).map_err(|err| format!("line {}: {}", line!(), err.to_string())); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 67 | let c_type = map_err!(String::from_utf8(c_type_raw.to_vec()))?; [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:17:84 [INFO] [stdout] | [INFO] [stdout] 17 | ($expr).map_err(|err| format!("line {}: {}", line!(), err.to_string())); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 70 | map_err!(file.read_exact(data.as_mut_slice()))?; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:17:84 [INFO] [stdout] | [INFO] [stdout] 17 | ($expr).map_err(|err| format!("line {}: {}", line!(), err.to_string())); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 73 | map_err!(file.read_exact(&mut crc_raw))?; [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:17:84 [INFO] [stdout] | [INFO] [stdout] 17 | ($expr).map_err(|err| format!("line {}: {}", line!(), err.to_string())); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 105 | let _ = map_err!(io::stdin().read_line(&mut password))?; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:17:84 [INFO] [stdout] | [INFO] [stdout] 17 | ($expr).map_err(|err| format!("line {}: {}", line!(), err.to_string())); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 134 | let mut cipher = map_err!(AesCfb::new_var(key, &iv))?; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:17:84 [INFO] [stdout] | [INFO] [stdout] 17 | ($expr).map_err(|err| format!("line {}: {}", line!(), err.to_string())); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 146 | let mut cipher = map_err!(AesCfb::new_var(key, &iv))?; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:17:84 [INFO] [stdout] | [INFO] [stdout] 17 | ($expr).map_err(|err| format!("line {}: {}", line!(), err.to_string())); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 149 | let value = map_err!(base64::decode(&buffer))?; [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/decrypt.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `self` [INFO] [stdout] --> src/bin/decrypt.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/bin/decrypt.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let header = validate_png(&mut input)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `self` [INFO] [stdout] --> src/bin/encrypt.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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/rustc1hdPR4/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libpngcrypt-94b2f41052419dd1.rlib,libbase64-1fc67f92c03a1f86.rlib,libcrc-9d7c555413a3970d.rlib,libsha2-d144b791cecd22e1.rlib,libdigest-5f78703e9ac51891.rlib,libfake_simd-a91f2f775e698a8f.rlib,libblock_buffer-2d9fdf84294c1973.rlib,libblock_padding-5934d35e69a00a24.rlib,libbyte_tools-bed8c652a5ea9f13.rlib,librand-80aeeaa8980a0727.rlib,librand_chacha-9227b11758550dcb.rlib,libc2_chacha-9e049181c203be6d.rlib,libppv_lite86-3db1eddbb11ee7cb.rlib,librand_core-0d599cdcb5104bc6.rlib,libgetrandom-2f9521d2c8de6121.rlib,liblibc-5f0a38b72422c5a5.rlib,libcfg_if-2d17986ae484e939.rlib,libcfb_mode-00cf2ee2f8fc4485.rlib,libstream_cipher-175f0feb3b8693e4.rlib,libaes-c5bb48c88db93507.rlib,libaes_soft-f95c4dac03b80cd2.rlib,libopaque_debug-a7962e22a4dc4c30.rlib,libbyteorder-a193d5963f4626bb.rlib,libblock_cipher_trait-abf06aef52728042.rlib,libgeneric_array-c51409444f4147ff.rlib,libtypenum-94c12ce366bf9ba8.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/rustc1hdPR4/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/encrypt-376ddacf477eab15" "-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-2f9521d2c8de6121.rlib(getrandom-2f9521d2c8de6121.getrandom.a078a8da6cd894b2-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_readonly17h555172bb3adb5586E+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 `pngcrypt` (bin "encrypt") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "77714d2ba00d2ac4b71f93751b57247541553a2818d94bc312bc6deaf3d9770b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77714d2ba00d2ac4b71f93751b57247541553a2818d94bc312bc6deaf3d9770b", kill_on_drop: false }` [INFO] [stdout] 77714d2ba00d2ac4b71f93751b57247541553a2818d94bc312bc6deaf3d9770b