[INFO] cloning repository https://github.com/mesalock-linux/loginutils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mesalock-linux/loginutils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmesalock-linux%2Floginutils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmesalock-linux%2Floginutils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6419ee19b12952454e4bfd55ce076b6abaf3e14e [INFO] testing mesalock-linux/loginutils against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmesalock-linux%2Floginutils" "/workspace/builds/worker-91/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-91/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mesalock-linux/loginutils on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-91/source/rust-toolchain [INFO] started tweaking git repo https://github.com/mesalock-linux/loginutils [INFO] finished tweaking git repo https://github.com/mesalock-linux/loginutils [INFO] tweaked toml for git repo https://github.com/mesalock-linux/loginutils written to /workspace/builds/worker-91/source/Cargo.toml [INFO] crate git repo https://github.com/mesalock-linux/loginutils already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bff7d3327b4b83cb7199389ce31be05069abf2ecbabd1a7e7269497d69fdb8b2 [INFO] running `Command { std: "docker" "start" "-a" "bff7d3327b4b83cb7199389ce31be05069abf2ecbabd1a7e7269497d69fdb8b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bff7d3327b4b83cb7199389ce31be05069abf2ecbabd1a7e7269497d69fdb8b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bff7d3327b4b83cb7199389ce31be05069abf2ecbabd1a7e7269497d69fdb8b2", kill_on_drop: false }` [INFO] [stdout] bff7d3327b4b83cb7199389ce31be05069abf2ecbabd1a7e7269497d69fdb8b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08d48df72681e6de4d252880c2400a4aae6ab42fbefdd0281a5fa4ac40ac68ce [INFO] running `Command { std: "docker" "start" "-a" "08d48df72681e6de4d252880c2400a4aae6ab42fbefdd0281a5fa4ac40ac68ce", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling termios v0.3.0 [INFO] [stderr] Compiling isatty v0.1.6 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling pwhash v0.1.2 [INFO] [stderr] Compiling loginutils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/bin/login.rs:50:47 [INFO] [stdout] | [INFO] [stdout] 50 | let mut utsname: libc::utsname = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/login.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / lazy_static! { [INFO] [stdout] 148 | | // save original termios settings [INFO] [stdout] 149 | | static ref INIT_TERMIOS: termios::Termios = { [INFO] [stdout] 150 | | if !isatty::stdin_isatty() { panic!("Must be a terminal"); } [INFO] [stdout] 151 | | termios::Termios::from_fd(libc::STDIN_FILENO).expect("Cannot get terminal attributes") [INFO] [stdout] 152 | | }; [INFO] [stdout] 153 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/bin/login.rs:250:57 [INFO] [stdout] | [INFO] [stdout] 250 | && libc::access(CString::new(path).unwrap().as_ptr(), libc::R_OK) == 0 [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: `#[warn(temporary_cstring_as_ptr)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "08d48df72681e6de4d252880c2400a4aae6ab42fbefdd0281a5fa4ac40ac68ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08d48df72681e6de4d252880c2400a4aae6ab42fbefdd0281a5fa4ac40ac68ce", kill_on_drop: false }` [INFO] [stdout] 08d48df72681e6de4d252880c2400a4aae6ab42fbefdd0281a5fa4ac40ac68ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec6624f29db8d45ba285c69688c4a09d268d9837d076e6007208a122f4440a79 [INFO] running `Command { std: "docker" "start" "-a" "ec6624f29db8d45ba285c69688c4a09d268d9837d076e6007208a122f4440a79", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling loginutils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/bin/login.rs:50:47 [INFO] [stdout] | [INFO] [stdout] 50 | let mut utsname: libc::utsname = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/login.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / lazy_static! { [INFO] [stdout] 148 | | // save original termios settings [INFO] [stdout] 149 | | static ref INIT_TERMIOS: termios::Termios = { [INFO] [stdout] 150 | | if !isatty::stdin_isatty() { panic!("Must be a terminal"); } [INFO] [stdout] 151 | | termios::Termios::from_fd(libc::STDIN_FILENO).expect("Cannot get terminal attributes") [INFO] [stdout] 152 | | }; [INFO] [stdout] 153 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/bin/login.rs:250:57 [INFO] [stdout] | [INFO] [stdout] 250 | && libc::access(CString::new(path).unwrap().as_ptr(), libc::R_OK) == 0 [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: `#[warn(temporary_cstring_as_ptr)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.58s [INFO] [stderr] Executable unittests src/bin/login.rs (/opt/rustwide/target/debug/deps/login-49169bde80c6f6e7) [INFO] running `Command { std: "docker" "inspect" "ec6624f29db8d45ba285c69688c4a09d268d9837d076e6007208a122f4440a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec6624f29db8d45ba285c69688c4a09d268d9837d076e6007208a122f4440a79", kill_on_drop: false }` [INFO] [stdout] ec6624f29db8d45ba285c69688c4a09d268d9837d076e6007208a122f4440a79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 198ecc84808c94432e28e1697e10f6a51a605e015b0e21052c816b361a923cfc [INFO] running `Command { std: "docker" "start" "-a" "198ecc84808c94432e28e1697e10f6a51a605e015b0e21052c816b361a923cfc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/bin/login.rs:50:47 [INFO] [stderr] | [INFO] [stderr] 50 | let mut utsname: libc::utsname = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/login.rs:147:1 [INFO] [stderr] | [INFO] [stderr] 147 | / lazy_static! { [INFO] [stderr] 148 | | // save original termios settings [INFO] [stderr] 149 | | static ref INIT_TERMIOS: termios::Termios = { [INFO] [stderr] 150 | | if !isatty::stdin_isatty() { panic!("Must be a terminal"); } [INFO] [stderr] 151 | | termios::Termios::from_fd(libc::STDIN_FILENO).expect("Cannot get terminal attributes") [INFO] [stderr] 152 | | }; [INFO] [stderr] 153 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/bin/login.rs:250:57 [INFO] [stderr] | [INFO] [stderr] 250 | && libc::access(CString::new(path).unwrap().as_ptr(), libc::R_OK) == 0 [INFO] [stderr] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: `loginutils` (bin "login" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.18s [INFO] [stderr] Running unittests src/bin/login.rs (/opt/rustwide/target/debug/deps/login-49169bde80c6f6e7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "198ecc84808c94432e28e1697e10f6a51a605e015b0e21052c816b361a923cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "198ecc84808c94432e28e1697e10f6a51a605e015b0e21052c816b361a923cfc", kill_on_drop: false }` [INFO] [stdout] 198ecc84808c94432e28e1697e10f6a51a605e015b0e21052c816b361a923cfc