[INFO] fetching crate jalali 0.1.0... [INFO] testing jalali-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate jalali 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate jalali 0.1.0 [INFO] finished tweaking crates.io crate jalali 0.1.0 [INFO] tweaked toml for crates.io crate jalali 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jalali 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76118f6a0042335862537a583fb48806f75f5b92ed1b2490cfb89ef7de138780 [INFO] running `Command { std: "docker" "start" "-a" "76118f6a0042335862537a583fb48806f75f5b92ed1b2490cfb89ef7de138780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76118f6a0042335862537a583fb48806f75f5b92ed1b2490cfb89ef7de138780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76118f6a0042335862537a583fb48806f75f5b92ed1b2490cfb89ef7de138780", kill_on_drop: false }` [INFO] [stdout] 76118f6a0042335862537a583fb48806f75f5b92ed1b2490cfb89ef7de138780 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c1c929cdf0a571e9ad84da10b8b606b8ce95247cde3f40649a4787d66aa7a8bc [INFO] running `Command { std: "docker" "start" "-a" "c1c929cdf0a571e9ad84da10b8b606b8ce95247cde3f40649a4787d66aa7a8bc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling jalali v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/jalali_bindings/mod.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn jlocaltime(timep: *const time_t) -> &mut JTM; [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static` [INFO] [stdout] | [INFO] [stdout] 23 | pub fn jlocaltime(timep: *const time_t) -> &'static mut JTM; [INFO] [stdout] | +++++++ [INFO] [stdout] help: instead, you are more likely to want to return an owned value [INFO] [stdout] | [INFO] [stdout] 23 - pub fn jlocaltime(timep: *const time_t) -> &mut JTM; [INFO] [stdout] 23 + pub fn jlocaltime(timep: *const time_t) -> mut JTM; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_long` [INFO] [stdout] --> src/jalali_bindings/mod.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::{c_int, c_char, c_long, time_t, size_t}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/jalali_bindings/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `size_t` and `time_t` [INFO] [stdout] --> src/data_structs/mod.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::{c_int, c_char, c_long, time_t, size_t}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char` and `c_long` [INFO] [stdout] --> src/wrappers/jtm.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::{c_int, c_char, c_long, time_t, size_t}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::time_t` [INFO] [stdout] --> src/wrappers/helpers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::time_t; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::ab_jtm::*` [INFO] [stdout] --> src/wrappers/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::ab_jtm::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::jy_info::*` [INFO] [stdout] --> src/wrappers/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::jy_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/jalali_bindings/mod.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::{c_int, c_char, c_long, time_t, size_t}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/jalali_bindings/mod.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn jalali_create_time_from_secs(time: time_t, ab_jtm: *mut AB_JTM); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/jalali_bindings/mod.rs:9:65 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn jalali_create_secs_from_time(ab_jtm: *const AB_JTM) -> time_t; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/jalali_bindings/mod.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn jctime(timep: *const time_t) -> *mut c_char; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/jalali_bindings/mod.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn jgmtime(timep: *const time_t) -> *mut JTM; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/jalali_bindings/mod.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn jlocaltime(timep: *const time_t) -> &mut JTM; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/jalali_bindings/mod.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn jmktime(jtm: *mut JTM) -> time_t; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/jalali_bindings/mod.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn jctime_r(timep: *const time_t, buf: *mut c_char) -> *mut c_char; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/jalali_bindings/mod.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn jgmtime_r(timep: *const time_t, result: *mut JTM) -> *mut JTM; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/jalali_bindings/mod.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn jlocaltime_r(timep: *const time_t, result: *mut JTM) -> *mut JTM; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/data_structs/mod.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::{c_int, c_char, c_long, time_t, size_t}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/wrappers/jtm.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::{c_int, c_char, c_long, time_t, size_t}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/wrappers/jtm.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | result = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/wrappers/jtm.rs:117:36 [INFO] [stdout] | [INFO] [stdout] 117 | jlocaltime_r(&secs as *const time_t, &mut result); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/wrappers/jtm.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | result = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/wrappers/jtm.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | result = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/wrappers/jtm.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | jgmtime_r(&secs as *const time_t, &mut result); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/wrappers/jtm.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | result = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/wrappers/ab_jtm.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::time_t; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/wrappers/ab_jtm.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | result = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/wrappers/ab_jtm.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | jalali_create_time_from_secs(secs as time_t, &mut result); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/wrappers/helpers.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::time_t; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wrappers/jtm.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let mut result: String; [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: variable does not need to be mutable [INFO] [stdout] --> src/wrappers/helpers.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | let mut result: String; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jalali` (lib) due to 1 previous error; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c1c929cdf0a571e9ad84da10b8b606b8ce95247cde3f40649a4787d66aa7a8bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c929cdf0a571e9ad84da10b8b606b8ce95247cde3f40649a4787d66aa7a8bc", kill_on_drop: false }` [INFO] [stdout] c1c929cdf0a571e9ad84da10b8b606b8ce95247cde3f40649a4787d66aa7a8bc