[INFO] fetching crate libsweep 1.0.1...
[INFO] testing libsweep-1.0.1 against 1.76.0 for beta-1.77-1
[INFO] extracting crate libsweep 1.0.1 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate libsweep 1.0.1 on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libsweep 1.0.1
[INFO] finished tweaking crates.io crate libsweep 1.0.1
[INFO] tweaked toml for crates.io crate libsweep 1.0.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 92b42ffad699ee232dd64f3e1e132312ea1bad03dda668414c8c3349f109ef06
[INFO] running `Command { std: "docker" "start" "-a" "92b42ffad699ee232dd64f3e1e132312ea1bad03dda668414c8c3349f109ef06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "92b42ffad699ee232dd64f3e1e132312ea1bad03dda668414c8c3349f109ef06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92b42ffad699ee232dd64f3e1e132312ea1bad03dda668414c8c3349f109ef06", kill_on_drop: false }`
[INFO] [stdout] 92b42ffad699ee232dd64f3e1e132312ea1bad03dda668414c8c3349f109ef06
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3373e014b900b8c8579380d9d0c0a6f70dd72f8c9a0cd4109802fd91b966e126
[INFO] running `Command { std: "docker" "start" "-a" "3373e014b900b8c8579380d9d0c0a6f70dd72f8c9a0cd4109802fd91b966e126", kill_on_drop: false }`
[INFO] [stderr]    Compiling libsweep v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libc::{int32_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::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:64:29
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn get_version() -> int32_t {
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:76:48
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn set_motor_speed(&self, speed_hertz: int32_t) -> Result<(), String> {
[INFO] [stdout]    |                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:88:45
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn get_motor_speed(&self) -> Result<int32_t, String> {
[INFO] [stdout]    |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]    --> src/lib.rs:100:45
[INFO] [stdout]     |
[INFO] [stdout] 100 |     pub fn get_sample_rate(&self) -> Result<int32_t, String> {
[INFO] [stdout]     |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:21:31
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn sweep_get_version() -> int32_t;
[INFO] [stdout]    |                               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:26:69
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn sweep_device_set_motor_speed(device: *const SweepDevice, hz: int32_t, error: *const *mut SweepError);
[INFO] [stdout]    |                                                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:27:99
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn sweep_device_get_motor_speed(device: *const SweepDevice, error: *const *mut SweepError) -> int32_t;
[INFO] [stdout]    |                                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:28:99
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn sweep_device_get_sample_rate(device: *const SweepDevice, error: *const *mut SweepError) -> int32_t;
[INFO] [stdout]    |                                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:30:68
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn sweep_scan_get_number_of_samples(scan: *const SweepScan) -> int32_t;
[INFO] [stdout]    |                                                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:31:61
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn sweep_scan_get_angle(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:31:73
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn sweep_scan_get_angle(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:32:64
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn sweep_scan_get_distance(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:32:76
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn sweep_scan_get_distance(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:33:71
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn sweep_scan_get_signal_strength(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:33:83
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn sweep_scan_get_signal_strength(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/lib.rs:55:86
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let device = sweep_device_construct_simple(CString::new(device).unwrap().as_ptr(), &err);
[INFO] [stdout]    |                                                        ----------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.20s
[INFO] running `Command { std: "docker" "inspect" "3373e014b900b8c8579380d9d0c0a6f70dd72f8c9a0cd4109802fd91b966e126", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3373e014b900b8c8579380d9d0c0a6f70dd72f8c9a0cd4109802fd91b966e126", kill_on_drop: false }`
[INFO] [stdout] 3373e014b900b8c8579380d9d0c0a6f70dd72f8c9a0cd4109802fd91b966e126
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2057e305372ab78f635cbf9d83755d4b4bd49fb296c40245ec0c15a86c8b2f77
[INFO] running `Command { std: "docker" "start" "-a" "2057e305372ab78f635cbf9d83755d4b4bd49fb296c40245ec0c15a86c8b2f77", kill_on_drop: false }`
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libc::{int32_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::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:64:29
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn get_version() -> int32_t {
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:76:48
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn set_motor_speed(&self, speed_hertz: int32_t) -> Result<(), String> {
[INFO] [stdout]    |                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:88:45
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn get_motor_speed(&self) -> Result<int32_t, String> {
[INFO] [stdout]    |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]    --> src/lib.rs:100:45
[INFO] [stdout]     |
[INFO] [stdout] 100 |     pub fn get_sample_rate(&self) -> Result<int32_t, String> {
[INFO] [stdout]     |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:21:31
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn sweep_get_version() -> int32_t;
[INFO] [stdout]    |                               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:26:69
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn sweep_device_set_motor_speed(device: *const SweepDevice, hz: int32_t, error: *const *mut SweepError);
[INFO] [stdout]    |                                                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:27:99
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn sweep_device_get_motor_speed(device: *const SweepDevice, error: *const *mut SweepError) -> int32_t;
[INFO] [stdout]    |                                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:28:99
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn sweep_device_get_sample_rate(device: *const SweepDevice, error: *const *mut SweepError) -> int32_t;
[INFO] [stdout]    |                                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:30:68
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn sweep_scan_get_number_of_samples(scan: *const SweepScan) -> int32_t;
[INFO] [stdout]    |                                                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:31:61
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn sweep_scan_get_angle(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:31:73
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn sweep_scan_get_angle(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:32:64
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn sweep_scan_get_distance(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:32:76
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn sweep_scan_get_distance(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:33:71
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn sweep_scan_get_signal_strength(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:33:83
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn sweep_scan_get_signal_strength(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling libsweep v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/lib.rs:55:86
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let device = sweep_device_construct_simple(CString::new(device).unwrap().as_ptr(), &err);
[INFO] [stdout]    |                                                        ----------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libc::{int32_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::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:64:29
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn get_version() -> int32_t {
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:76:48
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn set_motor_speed(&self, speed_hertz: int32_t) -> Result<(), String> {
[INFO] [stdout]    |                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:88:45
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn get_motor_speed(&self) -> Result<int32_t, String> {
[INFO] [stdout]    |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]    --> src/lib.rs:100:45
[INFO] [stdout]     |
[INFO] [stdout] 100 |     pub fn get_sample_rate(&self) -> Result<int32_t, String> {
[INFO] [stdout]     |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:21:31
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn sweep_get_version() -> int32_t;
[INFO] [stdout]    |                               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:26:69
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn sweep_device_set_motor_speed(device: *const SweepDevice, hz: int32_t, error: *const *mut SweepError);
[INFO] [stdout]    |                                                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:27:99
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn sweep_device_get_motor_speed(device: *const SweepDevice, error: *const *mut SweepError) -> int32_t;
[INFO] [stdout]    |                                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:28:99
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn sweep_device_get_sample_rate(device: *const SweepDevice, error: *const *mut SweepError) -> int32_t;
[INFO] [stdout]    |                                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:30:68
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn sweep_scan_get_number_of_samples(scan: *const SweepScan) -> int32_t;
[INFO] [stdout]    |                                                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:31:61
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn sweep_scan_get_angle(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:31:73
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn sweep_scan_get_angle(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:32:64
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn sweep_scan_get_distance(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:32:76
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn sweep_scan_get_distance(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:33:71
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn sweep_scan_get_signal_strength(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:33:83
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn sweep_scan_get_signal_strength(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/lib.rs:55:86
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let device = sweep_device_construct_simple(CString::new(device).unwrap().as_ptr(), &err);
[INFO] [stdout]    |                                                        ----------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcoGtQ7G/symbols.o" "/opt/rustwide/target/debug/examples/scan-a2b7f2998d1c6ef5.scan.83833a5b31700ff6-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/scan-a2b7f2998d1c6ef5.4cby3qk2hixek98f.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblibsweep-89dff4a8ee669cf0.rlib" "/opt/rustwide/target/debug/deps/liblibc-50cf0445600f9cae.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-66d8041607d2929b.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a57e2388c0aea9b1.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-dcd9be90ae2cb505.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-516789932d161b4e.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-1ff34b0cf871cb60.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0c110dd0650d6cb7.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-a6e97aae2681ad8f.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-b93dac2525ec4d1e.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-ce1d65fb391ae98b.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8933a2fb54d88492.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-306712ebb1ee1a3f.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-349c574f342b0d30.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-65c422a3ad95273d.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-7e6330a6c0cb9441.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-39c59240bfdfab27.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e9d126c51bb8b2bb.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-5af394d9b1f07bdc.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-693a8f23970c5917.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13fc9d1ed9c7a2bc.rlib" "-Wl,-Bdynamic" "-lsweep" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/scan-a2b7f2998d1c6ef5" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lsweep: No such file or directory
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libsweep` (example "scan") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcwELKkf/symbols.o" "/opt/rustwide/target/debug/deps/libsweep-a0ef3c3e87a6e813.libsweep.d78aa98b3df06fd5-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/libsweep-a0ef3c3e87a6e813.1uw7tqbote1fckca.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-lsweep" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-5d722ce3e5d0595e.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-76f5006e4e062e57.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-a18ed5fdf4a57b72.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-a14b8d31733ef9e9.rlib" "/opt/rustwide/target/debug/deps/liblibc-50cf0445600f9cae.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-66d8041607d2929b.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a57e2388c0aea9b1.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-dcd9be90ae2cb505.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-516789932d161b4e.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-1ff34b0cf871cb60.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0c110dd0650d6cb7.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-a6e97aae2681ad8f.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-b93dac2525ec4d1e.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-ce1d65fb391ae98b.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8933a2fb54d88492.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-306712ebb1ee1a3f.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-349c574f342b0d30.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-65c422a3ad95273d.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-7e6330a6c0cb9441.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-39c59240bfdfab27.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e9d126c51bb8b2bb.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-5af394d9b1f07bdc.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-693a8f23970c5917.rlib" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13fc9d1ed9c7a2bc.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libsweep-a0ef3c3e87a6e813" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lsweep: No such file or directory
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libsweep` (lib test) due to 2 previous errors; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2057e305372ab78f635cbf9d83755d4b4bd49fb296c40245ec0c15a86c8b2f77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2057e305372ab78f635cbf9d83755d4b4bd49fb296c40245ec0c15a86c8b2f77", kill_on_drop: false }`
[INFO] [stdout] 2057e305372ab78f635cbf9d83755d4b4bd49fb296c40245ec0c15a86c8b2f77
[INFO] testing libsweep-1.0.1 against beta-2024-02-10 for beta-1.77-1
[INFO] extracting crate libsweep 1.0.1 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate libsweep 1.0.1 on toolchain beta-2024-02-10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libsweep 1.0.1
[INFO] finished tweaking crates.io crate libsweep 1.0.1
[INFO] tweaked toml for crates.io crate libsweep 1.0.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7c052ce50c17b856ebc12dba2efadfcf7337552ef96af7ccb7c6db82fbe0ff55
[INFO] running `Command { std: "docker" "start" "-a" "7c052ce50c17b856ebc12dba2efadfcf7337552ef96af7ccb7c6db82fbe0ff55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7c052ce50c17b856ebc12dba2efadfcf7337552ef96af7ccb7c6db82fbe0ff55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c052ce50c17b856ebc12dba2efadfcf7337552ef96af7ccb7c6db82fbe0ff55", kill_on_drop: false }`
[INFO] [stdout] 7c052ce50c17b856ebc12dba2efadfcf7337552ef96af7ccb7c6db82fbe0ff55
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9c55e11a124c19d07984a9542c066842ee0f9a8e8acc8e2b82e268ae5f10810c
[INFO] running `Command { std: "docker" "start" "-a" "9c55e11a124c19d07984a9542c066842ee0f9a8e8acc8e2b82e268ae5f10810c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libsweep v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libc::{int32_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::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:64:29
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn get_version() -> int32_t {
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:76:48
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn set_motor_speed(&self, speed_hertz: int32_t) -> Result<(), String> {
[INFO] [stdout]    |                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:88:45
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn get_motor_speed(&self) -> Result<int32_t, String> {
[INFO] [stdout]    |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]    --> src/lib.rs:100:45
[INFO] [stdout]     |
[INFO] [stdout] 100 |     pub fn get_sample_rate(&self) -> Result<int32_t, String> {
[INFO] [stdout]     |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:21:31
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn sweep_get_version() -> int32_t;
[INFO] [stdout]    |                               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:26:69
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn sweep_device_set_motor_speed(device: *const SweepDevice, hz: int32_t, error: *const *mut SweepError);
[INFO] [stdout]    |                                                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:27:99
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn sweep_device_get_motor_speed(device: *const SweepDevice, error: *const *mut SweepError) -> int32_t;
[INFO] [stdout]    |                                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:28:99
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn sweep_device_get_sample_rate(device: *const SweepDevice, error: *const *mut SweepError) -> int32_t;
[INFO] [stdout]    |                                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:30:68
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn sweep_scan_get_number_of_samples(scan: *const SweepScan) -> int32_t;
[INFO] [stdout]    |                                                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:31:61
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn sweep_scan_get_angle(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:31:73
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn sweep_scan_get_angle(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:32:64
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn sweep_scan_get_distance(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:32:76
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn sweep_scan_get_distance(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:33:71
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn sweep_scan_get_signal_strength(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:33:83
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn sweep_scan_get_signal_strength(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/lib.rs:55:86
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let device = sweep_device_construct_simple(CString::new(device).unwrap().as_ptr(), &err);
[INFO] [stdout]    |                                                        ----------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.20s
[INFO] running `Command { std: "docker" "inspect" "9c55e11a124c19d07984a9542c066842ee0f9a8e8acc8e2b82e268ae5f10810c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c55e11a124c19d07984a9542c066842ee0f9a8e8acc8e2b82e268ae5f10810c", kill_on_drop: false }`
[INFO] [stdout] 9c55e11a124c19d07984a9542c066842ee0f9a8e8acc8e2b82e268ae5f10810c
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4a56ec64bb75561e6c48f565bd552721126462688168c9e61ca65a899c60bc30
[INFO] running `Command { std: "docker" "start" "-a" "4a56ec64bb75561e6c48f565bd552721126462688168c9e61ca65a899c60bc30", kill_on_drop: false }`
[INFO] [stderr]    Compiling libsweep v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libc::{int32_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::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:64:29
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn get_version() -> int32_t {
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:76:48
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn set_motor_speed(&self, speed_hertz: int32_t) -> Result<(), String> {
[INFO] [stdout]    |                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:88:45
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn get_motor_speed(&self) -> Result<int32_t, String> {
[INFO] [stdout]    |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]    --> src/lib.rs:100:45
[INFO] [stdout]     |
[INFO] [stdout] 100 |     pub fn get_sample_rate(&self) -> Result<int32_t, String> {
[INFO] [stdout]     |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:21:31
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn sweep_get_version() -> int32_t;
[INFO] [stdout]    |                               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:26:69
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn sweep_device_set_motor_speed(device: *const SweepDevice, hz: int32_t, error: *const *mut SweepError);
[INFO] [stdout]    |                                                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:27:99
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn sweep_device_get_motor_speed(device: *const SweepDevice, error: *const *mut SweepError) -> int32_t;
[INFO] [stdout]    |                                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:28:99
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn sweep_device_get_sample_rate(device: *const SweepDevice, error: *const *mut SweepError) -> int32_t;
[INFO] [stdout]    |                                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:30:68
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn sweep_scan_get_number_of_samples(scan: *const SweepScan) -> int32_t;
[INFO] [stdout]    |                                                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:31:61
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn sweep_scan_get_angle(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:31:73
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn sweep_scan_get_angle(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:32:64
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn sweep_scan_get_distance(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:32:76
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn sweep_scan_get_distance(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:33:71
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn sweep_scan_get_signal_strength(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:33:83
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn sweep_scan_get_signal_strength(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/lib.rs:55:86
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let device = sweep_device_construct_simple(CString::new(device).unwrap().as_ptr(), &err);
[INFO] [stdout]    |                                                        ----------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libc::{int32_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::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:64:29
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn get_version() -> int32_t {
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:76:48
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn set_motor_speed(&self, speed_hertz: int32_t) -> Result<(), String> {
[INFO] [stdout]    |                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:88:45
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn get_motor_speed(&self) -> Result<int32_t, String> {
[INFO] [stdout]    |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]    --> src/lib.rs:100:45
[INFO] [stdout]     |
[INFO] [stdout] 100 |     pub fn get_sample_rate(&self) -> Result<int32_t, String> {
[INFO] [stdout]     |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:21:31
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn sweep_get_version() -> int32_t;
[INFO] [stdout]    |                               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:26:69
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn sweep_device_set_motor_speed(device: *const SweepDevice, hz: int32_t, error: *const *mut SweepError);
[INFO] [stdout]    |                                                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:27:99
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn sweep_device_get_motor_speed(device: *const SweepDevice, error: *const *mut SweepError) -> int32_t;
[INFO] [stdout]    |                                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:28:99
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn sweep_device_get_sample_rate(device: *const SweepDevice, error: *const *mut SweepError) -> int32_t;
[INFO] [stdout]    |                                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:30:68
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn sweep_scan_get_number_of_samples(scan: *const SweepScan) -> int32_t;
[INFO] [stdout]    |                                                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:31:61
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn sweep_scan_get_angle(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:31:73
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn sweep_scan_get_angle(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:32:64
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn sweep_scan_get_distance(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:32:76
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn sweep_scan_get_distance(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:33:71
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn sweep_scan_get_signal_strength(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> src/lib.rs:33:83
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn sweep_scan_get_signal_strength(scan: *const SweepScan, sample: int32_t) -> int32_t;
[INFO] [stdout]    |                                                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> src/lib.rs:55:86
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let device = sweep_device_construct_simple(CString::new(device).unwrap().as_ptr(), &err);
[INFO] [stdout]    |                                                        ----------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcMFgTdZ/symbols.o" "/opt/rustwide/target/debug/examples/scan-6c2ef4d9cf40780e.scan.dce2e42d50aedd2e-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/scan-6c2ef4d9cf40780e.58xqagrgto3xvhlx.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblibsweep-be671e94b5c9448c.rlib" "/opt/rustwide/target/debug/deps/liblibc-db6d1022cbe7c1eb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c3d3f3356130ff3b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-95df42f89c1d4925.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-0d2835f8aa540844.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-370839a40e011065.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9649e5e19a7f7d26.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-947cba7c5cf68c1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-ced012bebfb4965d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-ca1b3bc71d252cc2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-fc6e78e39549a6fa.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-339fe9c79c84af4f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-1568bb4b0be20e00.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-fe9837fa83c5d69d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4c6008bb65e308f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-c9bf4c045d493bdb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e47cddc003bce885.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ddda47710dcba33d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-e46bc3da6d7c462f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8d1ac131d3cb2645.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-b4e1725cffd81412.rlib" "-Wl,-Bdynamic" "-lsweep" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/scan-6c2ef4d9cf40780e" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lsweep: No such file or directory
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libsweep` (example "scan") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcsAmxBP/symbols.o" "/opt/rustwide/target/debug/deps/libsweep-9c187d0626aa4ce1.libsweep.30895b22670dd923-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/libsweep-9c187d0626aa4ce1.47r0fndmtlylr3to.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-lsweep" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-7b2522a9e679b88d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-f94d980056e8955a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-dfc6ee63d8caa20c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-113d7bdd8cf56a35.rlib" "/opt/rustwide/target/debug/deps/liblibc-db6d1022cbe7c1eb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c3d3f3356130ff3b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-95df42f89c1d4925.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-0d2835f8aa540844.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-370839a40e011065.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9649e5e19a7f7d26.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-947cba7c5cf68c1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-ced012bebfb4965d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-ca1b3bc71d252cc2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-fc6e78e39549a6fa.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-339fe9c79c84af4f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-1568bb4b0be20e00.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-fe9837fa83c5d69d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4c6008bb65e308f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-c9bf4c045d493bdb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e47cddc003bce885.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ddda47710dcba33d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-e46bc3da6d7c462f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8d1ac131d3cb2645.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-b4e1725cffd81412.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libsweep-9c187d0626aa4ce1" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lsweep: No such file or directory
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libsweep` (lib test) due to 2 previous errors; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4a56ec64bb75561e6c48f565bd552721126462688168c9e61ca65a899c60bc30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a56ec64bb75561e6c48f565bd552721126462688168c9e61ca65a899c60bc30", kill_on_drop: false }`
[INFO] [stdout] 4a56ec64bb75561e6c48f565bd552721126462688168c9e61ca65a899c60bc30
