[INFO] fetching crate jalali 0.1.0... [INFO] checking jalali-0.1.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate jalali 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate jalali 0.1.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a3f159899d22f81a6b3ae831f3fe09d3ef805c7f4220d93df9f1ce9983673a3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1a3f159899d22f81a6b3ae831f3fe09d3ef805c7f4220d93df9f1ce9983673a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a3f159899d22f81a6b3ae831f3fe09d3ef805c7f4220d93df9f1ce9983673a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a3f159899d22f81a6b3ae831f3fe09d3ef805c7f4220d93df9f1ce9983673a3", kill_on_drop: false }` [INFO] [stdout] 1a3f159899d22f81a6b3ae831f3fe09d3ef805c7f4220d93df9f1ce9983673a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ca243784f4c0d3da7aa54f37d954df9ea4cf78c802ce3209e554fee60dcb0e98 [INFO] running `Command { std: "docker" "start" "-a" "ca243784f4c0d3da7aa54f37d954df9ea4cf78c802ce3209e554fee60dcb0e98", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling jalali v0.1.0 (/opt/rustwide/workdir) [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: unused imports: `size_t`, `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`, `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] 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 with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 23 | pub fn jlocaltime(timep: *const time_t) -> &'static mut JTM; [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:16 [INFO] [stdout] | [INFO] [stdout] 116 | result = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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:16 [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:16 [INFO] [stdout] | [INFO] [stdout] 134 | 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:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | 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/ab_jtm.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | result = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jalali` [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] [stderr] [INFO] [stdout] warning: unused imports: `size_t`, `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] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] warning: unused imports: `c_char`, `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] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: aborting due to previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [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 with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 23 | pub fn jlocaltime(timep: *const time_t) -> &'static mut JTM; [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:16 [INFO] [stdout] | [INFO] [stdout] 116 | result = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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:16 [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:16 [INFO] [stdout] | [INFO] [stdout] 134 | 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:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | 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/ab_jtm.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | result = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ca243784f4c0d3da7aa54f37d954df9ea4cf78c802ce3209e554fee60dcb0e98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca243784f4c0d3da7aa54f37d954df9ea4cf78c802ce3209e554fee60dcb0e98", kill_on_drop: false }` [INFO] [stdout] ca243784f4c0d3da7aa54f37d954df9ea4cf78c802ce3209e554fee60dcb0e98