[INFO] cloning repository https://github.com/cholcombe973/RustRados [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cholcombe973/RustRados" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcholcombe973%2FRustRados", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcholcombe973%2FRustRados'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52a390de6ddd43dfa948a7de047b6917a5b062e1 [INFO] checking cholcombe973/RustRados against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcholcombe973%2FRustRados" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cholcombe973/RustRados on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cholcombe973/RustRados [INFO] finished tweaking git repo https://github.com/cholcombe973/RustRados [INFO] tweaked toml for git repo https://github.com/cholcombe973/RustRados written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/cholcombe973/RustRados already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-8/source/src/rust_rados.rs` was erroneously implicitly accepted for binary `rust_rados`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-8/source/src/rust_rados.rs` was erroneously implicitly accepted for binary `rust_rados`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8121c0c329f9b2590c0a4f21c541bed5912811bc28ad7d6c8cb85afeee057265 [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" "8121c0c329f9b2590c0a4f21c541bed5912811bc28ad7d6c8cb85afeee057265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8121c0c329f9b2590c0a4f21c541bed5912811bc28ad7d6c8cb85afeee057265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8121c0c329f9b2590c0a4f21c541bed5912811bc28ad7d6c8cb85afeee057265", kill_on_drop: false }` [INFO] [stdout] 8121c0c329f9b2590c0a4f21c541bed5912811bc28ad7d6c8cb85afeee057265 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c89957b12ac99ccaaf8609e0565e749132514416d0268f3dcaf8a3a51a78bff3 [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" "c89957b12ac99ccaaf8609e0565e749132514416d0268f3dcaf8a3a51a78bff3", kill_on_drop: false }` [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/rust_rados.rs` was erroneously implicitly accepted for binary `rust_rados`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking rust_rados v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/rust_rados.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | kb_used: uint64_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::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/rust_rados.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | kb_avail: uint64_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/rust_rados.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | num_objects: uint64_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/rust_rados.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | let mut cluster_handle: *mut RadosT = std::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/rust_rados.rs:38:55 [INFO] [stdout] | [INFO] [stdout] 38 | let cluster_stat: *mut rados_cluster_stat_t = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/rust_rados.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | kb_used: uint64_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::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/rust_rados.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | kb_avail: uint64_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/rust_rados.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | num_objects: uint64_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/rust_rados.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | let mut cluster_handle: *mut RadosT = std::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/rust_rados.rs:38:55 [INFO] [stdout] | [INFO] [stdout] 38 | let cluster_stat: *mut rados_cluster_stat_t = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `radost_context`, which is not FFI-safe [INFO] [stdout] --> src/rust_rados.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | fn rados_create(cluster: *mut *mut RadosT, id: *const c_char) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/rust_rados.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct radost_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `radost_context`, which is not FFI-safe [INFO] [stdout] --> src/rust_rados.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | fn rados_conf_read_file(cluster: *mut RadosT, path: *const c_char) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/rust_rados.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct radost_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `radost_context`, which is not FFI-safe [INFO] [stdout] --> src/rust_rados.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | fn rados_connect(cluster: *mut RadosT) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/rust_rados.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct radost_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `radost_context`, which is not FFI-safe [INFO] [stdout] --> src/rust_rados.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | fn rados_cluster_stat(cluster: *mut RadosT, [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/rust_rados.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct radost_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `radost_context`, which is not FFI-safe [INFO] [stdout] --> src/rust_rados.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn rados_shutdown(cluster: *mut RadosT) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/rust_rados.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct radost_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `radost_context`, which is not FFI-safe [INFO] [stdout] --> src/rust_rados.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | fn rados_create(cluster: *mut *mut RadosT, id: *const c_char) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/rust_rados.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct radost_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `radost_context`, which is not FFI-safe [INFO] [stdout] --> src/rust_rados.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | fn rados_conf_read_file(cluster: *mut RadosT, path: *const c_char) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/rust_rados.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct radost_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `radost_context`, which is not FFI-safe [INFO] [stdout] --> src/rust_rados.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | fn rados_connect(cluster: *mut RadosT) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/rust_rados.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct radost_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `radost_context`, which is not FFI-safe [INFO] [stdout] --> src/rust_rados.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | fn rados_cluster_stat(cluster: *mut RadosT, [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/rust_rados.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct radost_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `radost_context`, which is not FFI-safe [INFO] [stdout] --> src/rust_rados.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn rados_shutdown(cluster: *mut RadosT) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/rust_rados.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct radost_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.63s [INFO] running `Command { std: "docker" "inspect" "c89957b12ac99ccaaf8609e0565e749132514416d0268f3dcaf8a3a51a78bff3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89957b12ac99ccaaf8609e0565e749132514416d0268f3dcaf8a3a51a78bff3", kill_on_drop: false }` [INFO] [stdout] c89957b12ac99ccaaf8609e0565e749132514416d0268f3dcaf8a3a51a78bff3