[INFO] cloning repository https://github.com/daemonfire300/systemd-creds-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daemonfire300/systemd-creds-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaemonfire300%2Fsystemd-creds-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaemonfire300%2Fsystemd-creds-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5b4b59bb89552d5e725c5a02360ce13dc35a559f
[INFO] checking daemonfire300/systemd-creds-rs against try#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaemonfire300%2Fsystemd-creds-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/daemonfire300/systemd-creds-rs
[INFO] finished tweaking git repo https://github.com/daemonfire300/systemd-creds-rs
[INFO] tweaked toml for git repo https://github.com/daemonfire300/systemd-creds-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/daemonfire300/systemd-creds-rs on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/daemonfire300/systemd-creds-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v1.0.0-alpha.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 949154a2b9909975b9df0cfbb81233716ba6eb14a8434e478dacaaf8fae442cd
[INFO] running `Command { std: "docker" "start" "-a" "949154a2b9909975b9df0cfbb81233716ba6eb14a8434e478dacaaf8fae442cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "949154a2b9909975b9df0cfbb81233716ba6eb14a8434e478dacaaf8fae442cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "949154a2b9909975b9df0cfbb81233716ba6eb14a8434e478dacaaf8fae442cd", kill_on_drop: false }`
[INFO] [stdout] 949154a2b9909975b9df0cfbb81233716ba6eb14a8434e478dacaaf8fae442cd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9b924e244fa083aa29bc91013c9efd1b24fb27ab6fadbb968b5d8c055becc3a4
[INFO] running `Command { std: "docker" "start" "-a" "9b924e244fa083aa29bc91013c9efd1b24fb27ab6fadbb968b5d8c055becc3a4", kill_on_drop: false }`
[INFO] [stderr]     Checking systemd-creds-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `crate::fs`
[INFO] [stdout]   --> src/random.rs:97:16
[INFO] [stdout]    |
[INFO] [stdout] 97 |     use crate::fs::File;
[INFO] [stdout]    |                ^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                unresolved import
[INFO] [stdout]    |                help: a similar path exists: `std::fs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]   --> src/random.rs:99:16
[INFO] [stdout]    |
[INFO] [stdout] 99 |     use crate::os::fd::AsRawFd;
[INFO] [stdout]    |                ^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                unresolved import
[INFO] [stdout]    |                help: a similar path exists: `core::os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::fs`
[INFO] [stdout]   --> src/random.rs:97:16
[INFO] [stdout]    |
[INFO] [stdout] 97 |     use crate::fs::File;
[INFO] [stdout]    |                ^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                unresolved import
[INFO] [stdout]    |                help: a similar path exists: `std::fs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]   --> src/random.rs:99:16
[INFO] [stdout]    |
[INFO] [stdout] 99 |     use crate::os::fd::AsRawFd;
[INFO] [stdout]    |                ^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                unresolved import
[INFO] [stdout]    |                help: a similar path exists: `core::os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::io`
[INFO] [stdout]   --> src/random.rs:98:16
[INFO] [stdout]    |
[INFO] [stdout] 98 |     use crate::io::Read;
[INFO] [stdout]    |                ^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                unresolved import
[INFO] [stdout]    |                help: a similar path exists: `core::io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::io`
[INFO] [stdout]   --> src/random.rs:98:16
[INFO] [stdout]    |
[INFO] [stdout] 98 |     use crate::io::Read;
[INFO] [stdout]    |                ^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                unresolved import
[INFO] [stdout]    |                help: a similar path exists: `core::io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]    --> src/random.rs:101:16
[INFO] [stdout]     |
[INFO] [stdout] 101 |     use crate::sync::atomic::Ordering::{Acquire, Relaxed, Release};
[INFO] [stdout]     |                ^^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                unresolved import
[INFO] [stdout]     |                help: a similar path exists: `core::sync`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]    --> src/random.rs:101:16
[INFO] [stdout]     |
[INFO] [stdout] 101 |     use crate::sync::atomic::Ordering::{Acquire, Relaxed, Release};
[INFO] [stdout]     |                ^^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                unresolved import
[INFO] [stdout]     |                help: a similar path exists: `core::sync`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]    --> src/random.rs:102:16
[INFO] [stdout]     |
[INFO] [stdout] 102 |     use crate::sync::atomic::{Atomic, AtomicBool};
[INFO] [stdout]     |                ^^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                unresolved import
[INFO] [stdout]     |                help: a similar path exists: `core::sync`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]    --> src/random.rs:102:16
[INFO] [stdout]     |
[INFO] [stdout] 102 |     use crate::sync::atomic::{Atomic, AtomicBool};
[INFO] [stdout]     |                ^^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                unresolved import
[INFO] [stdout]     |                help: a similar path exists: `core::sync`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `sys` in the crate root
[INFO] [stdout]    --> src/random.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 |     use crate::sys::pal::os::errno;
[INFO] [stdout]     |                ^^^ could not find `sys` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `sys` in the crate root
[INFO] [stdout]    --> src/random.rs:104:16
[INFO] [stdout]     |
[INFO] [stdout] 104 |     use crate::sys::pal::weak::syscall;
[INFO] [stdout]     |                ^^^ could not find `sys` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::sync`
[INFO] [stdout]    --> src/random.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |     use crate::sync::OnceLock;
[INFO] [stdout]     |                ^^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                unresolved import
[INFO] [stdout]     |                help: a similar path exists: `core::sync`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `sys` in the crate root
[INFO] [stdout]    --> src/random.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 |     use crate::sys::pal::os::errno;
[INFO] [stdout]     |                ^^^ could not find `sys` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `sys` in the crate root
[INFO] [stdout]    --> src/random.rs:104:16
[INFO] [stdout]     |
[INFO] [stdout] 104 |     use crate::sys::pal::weak::syscall;
[INFO] [stdout]     |                ^^^ could not find `sys` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::sync`
[INFO] [stdout]    --> src/random.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |     use crate::sync::OnceLock;
[INFO] [stdout]     |                ^^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                unresolved import
[INFO] [stdout]     |                help: a similar path exists: `core::sync`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Path` and `time::SystemTime`
[INFO] [stdout]  --> src/lib.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     path::{Path, PathBuf},
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 7 |     time::SystemTime,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Path` and `time::SystemTime`
[INFO] [stdout]  --> src/lib.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     path::{Path, PathBuf},
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 7 |     time::SystemTime,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:131:25
[INFO] [stdout]     |
[INFO] [stdout] 131 |                         libc::GRND_INSECURE
[INFO] [stdout]     |                         ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:133:25
[INFO] [stdout]     |
[INFO] [stdout] 133 |                         libc::GRND_NONBLOCK
[INFO] [stdout]     |                         ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:131:25
[INFO] [stdout]     |
[INFO] [stdout] 131 |                         libc::GRND_INSECURE
[INFO] [stdout]     |                         ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:133:25
[INFO] [stdout]     |
[INFO] [stdout] 133 |                         libc::GRND_NONBLOCK
[INFO] [stdout]     |                         ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/random.rs:139:36
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 let ret = unsafe { getrandom(bytes.as_mut_ptr().cast(), bytes.len(), flags) };
[INFO] [stdout]     |                                    ^^^^^^^^^                            -----------  ----- unexpected argument #3
[INFO] [stdout]     |                                                                         |
[INFO] [stdout]     |                                                                         expected `bool`, found `usize`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&mut [u8]`, found `*mut _`
[INFO] [stdout]    --> src/random.rs:139:46
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 let ret = unsafe { getrandom(bytes.as_mut_ptr().cast(), bytes.len(), flags) };
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected mutable reference `&mut [u8]`
[INFO] [stdout]                      found raw pointer `*mut _`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/random.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn getrandom(mut bytes: &mut [u8], insecure: bool) {
[INFO] [stdout]     |        ^^^^^^^^^ --------------------  --------------
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 139 -                 let ret = unsafe { getrandom(bytes.as_mut_ptr().cast(), bytes.len(), flags) };
[INFO] [stdout] 139 +                 let ret = unsafe { getrandom(/* &mut [u8] */, /* bool */) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/random.rs:139:36
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 let ret = unsafe { getrandom(bytes.as_mut_ptr().cast(), bytes.len(), flags) };
[INFO] [stdout]     |                                    ^^^^^^^^^                            -----------  ----- unexpected argument #3
[INFO] [stdout]     |                                                                         |
[INFO] [stdout]     |                                                                         expected `bool`, found `usize`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&mut [u8]`, found `*mut _`
[INFO] [stdout]    --> src/random.rs:139:46
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 let ret = unsafe { getrandom(bytes.as_mut_ptr().cast(), bytes.len(), flags) };
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected mutable reference `&mut [u8]`
[INFO] [stdout]                      found raw pointer `*mut _`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/random.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn getrandom(mut bytes: &mut [u8], insecure: bool) {
[INFO] [stdout]     |        ^^^^^^^^^ --------------------  --------------
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 139 -                 let ret = unsafe { getrandom(bytes.as_mut_ptr().cast(), bytes.len(), flags) };
[INFO] [stdout] 139 +                 let ret = unsafe { getrandom(/* &mut [u8] */, /* bool */) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/random.rs:140:27
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 if ret != -1 {
[INFO] [stdout]     |                    ---    ^^ expected `()`, found integer
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    expected because this is `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/random.rs:140:27
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 if ret != -1 {
[INFO] [stdout]     |                    ---    ^^ expected `()`, found integer
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    expected because this is `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:147:50
[INFO] [stdout]     |
[INFO] [stdout] 147 |                         libc::EINVAL if flags == libc::GRND_INSECURE => {
[INFO] [stdout]     |                                                  ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:153:50
[INFO] [stdout]     |
[INFO] [stdout] 153 |                         libc::EAGAIN if flags == libc::GRND_NONBLOCK => break,
[INFO] [stdout]     |                                                  ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:173:29
[INFO] [stdout]     |
[INFO] [stdout] 173 |                     events: libc::POLLIN,
[INFO] [stdout]     |                             ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:147:50
[INFO] [stdout]     |
[INFO] [stdout] 147 |                         libc::EINVAL if flags == libc::GRND_INSECURE => {
[INFO] [stdout]     |                                                  ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:178:40
[INFO] [stdout]     |
[INFO] [stdout] 178 |                     let ret = unsafe { libc::poll(&mut fd, 1, -1) };
[INFO] [stdout]     |                                        ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:181:52
[INFO] [stdout]     |
[INFO] [stdout] 181 | ...                   assert_eq!(fd.revents, libc::POLLIN);
[INFO] [stdout]     |                                              ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:153:50
[INFO] [stdout]     |
[INFO] [stdout] 153 |                         libc::EAGAIN if flags == libc::GRND_NONBLOCK => break,
[INFO] [stdout]     |                                                  ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:185:42
[INFO] [stdout]     |
[INFO] [stdout] 185 |                         -1 if errno() == libc::EINTR => continue,
[INFO] [stdout]     |                                          ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/random.rs:194:24
[INFO] [stdout]     |
[INFO] [stdout] 194 |             .and_then(|mut dev| dev.read_exact(bytes))
[INFO] [stdout]     |                        ^^^^^^^  --- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 194 |             .and_then(|mut dev: /* Type */| dev.read_exact(bytes))
[INFO] [stdout]     |                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0605]: non-primitive cast: `()` as `usize`
[INFO] [stdout]    --> src/random.rs:141:40
[INFO] [stdout]     |
[INFO] [stdout] 141 |                     bytes = &mut bytes[ret as usize..];
[INFO] [stdout]     |                                        ^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:173:29
[INFO] [stdout]     |
[INFO] [stdout] 173 |                     events: libc::POLLIN,
[INFO] [stdout]     |                             ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:178:40
[INFO] [stdout]     |
[INFO] [stdout] 178 |                     let ret = unsafe { libc::poll(&mut fd, 1, -1) };
[INFO] [stdout]     |                                        ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:181:52
[INFO] [stdout]     |
[INFO] [stdout] 181 | ...                   assert_eq!(fd.revents, libc::POLLIN);
[INFO] [stdout]     |                                              ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:185:42
[INFO] [stdout]     |
[INFO] [stdout] 185 |                         -1 if errno() == libc::EINTR => continue,
[INFO] [stdout]     |                                          ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/random.rs:194:24
[INFO] [stdout]     |
[INFO] [stdout] 194 |             .and_then(|mut dev| dev.read_exact(bytes))
[INFO] [stdout]     |                        ^^^^^^^  --- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 194 |             .and_then(|mut dev: /* Type */| dev.read_exact(bytes))
[INFO] [stdout]     |                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0605]: non-primitive cast: `()` as `usize`
[INFO] [stdout]    --> src/random.rs:141:40
[INFO] [stdout]     |
[INFO] [stdout] 141 |                     bytes = &mut bytes[ret as usize..];
[INFO] [stdout]     |                                        ^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:171:30
[INFO] [stdout]     |
[INFO] [stdout] 171 |                 let mut fd = libc::pollfd {
[INFO] [stdout]     |                              ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:156:25
[INFO] [stdout]     |
[INFO] [stdout] 156 |                         libc::ENOSYS | libc::EPERM => {
[INFO] [stdout]     |                         ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:144:25
[INFO] [stdout]     |
[INFO] [stdout] 144 |                         libc::EINTR => continue,
[INFO] [stdout]     |                         ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:147:25
[INFO] [stdout]     |
[INFO] [stdout] 147 |                         libc::EINVAL if flags == libc::GRND_INSECURE => {
[INFO] [stdout]     |                         ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:156:40
[INFO] [stdout]     |
[INFO] [stdout] 156 |                         libc::ENOSYS | libc::EPERM => {
[INFO] [stdout]     |                                        ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:153:25
[INFO] [stdout]     |
[INFO] [stdout] 153 |                         libc::EAGAIN if flags == libc::GRND_NONBLOCK => break,
[INFO] [stdout]     |                         ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0282, E0308, E0432, E0433, E0605.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:171:30
[INFO] [stdout]     |
[INFO] [stdout] 171 |                 let mut fd = libc::pollfd {
[INFO] [stdout]     |                              ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:156:25
[INFO] [stdout]     |
[INFO] [stdout] 156 |                         libc::ENOSYS | libc::EPERM => {
[INFO] [stdout]     |                         ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:144:25
[INFO] [stdout]     |
[INFO] [stdout] 144 |                         libc::EINTR => continue,
[INFO] [stdout]     |                         ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:147:25
[INFO] [stdout]     |
[INFO] [stdout] 147 |                         libc::EINVAL if flags == libc::GRND_INSECURE => {
[INFO] [stdout]     |                         ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:156:40
[INFO] [stdout]     |
[INFO] [stdout] 156 |                         libc::ENOSYS | libc::EPERM => {
[INFO] [stdout]     |                                        ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    --> src/random.rs:153:25
[INFO] [stdout]     |
[INFO] [stdout] 153 |                         libc::EAGAIN if flags == libc::GRND_NONBLOCK => break,
[INFO] [stdout]     |                         ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0282, E0308, E0432, E0433, E0605.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `systemd-creds-rs` (lib) due to 26 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `systemd-creds-rs` (lib test) due to 26 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "9b924e244fa083aa29bc91013c9efd1b24fb27ab6fadbb968b5d8c055becc3a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b924e244fa083aa29bc91013c9efd1b24fb27ab6fadbb968b5d8c055becc3a4", kill_on_drop: false }`
[INFO] [stdout] 9b924e244fa083aa29bc91013c9efd1b24fb27ab6fadbb968b5d8c055becc3a4
