[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "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 pwhash v0.1.2 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71fd533c141d5eabc6756e7e16b0ebdf779774dba605c6e718d894aacd354579 [INFO] running `Command { std: "docker" "start" "-a" "71fd533c141d5eabc6756e7e16b0ebdf779774dba605c6e718d894aacd354579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71fd533c141d5eabc6756e7e16b0ebdf779774dba605c6e718d894aacd354579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71fd533c141d5eabc6756e7e16b0ebdf779774dba605c6e718d894aacd354579", kill_on_drop: false }` [INFO] [stdout] 71fd533c141d5eabc6756e7e16b0ebdf779774dba605c6e718d894aacd354579 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 431360b734aaca3ff20e351fc4807d9fdfb56ab9a28fdfac1c30aa665365e0fd [INFO] running `Command { std: "docker" "start" "-a" "431360b734aaca3ff20e351fc4807d9fdfb56ab9a28fdfac1c30aa665365e0fd", 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 01s [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "431360b734aaca3ff20e351fc4807d9fdfb56ab9a28fdfac1c30aa665365e0fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "431360b734aaca3ff20e351fc4807d9fdfb56ab9a28fdfac1c30aa665365e0fd", kill_on_drop: false }` [INFO] [stdout] 431360b734aaca3ff20e351fc4807d9fdfb56ab9a28fdfac1c30aa665365e0fd [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d07439b95d50ef050b3f5ebd106e2e25dc7a6aefe1c647ba7430af2ff4a6c94 [INFO] running `Command { std: "docker" "start" "-a" "0d07439b95d50ef050b3f5ebd106e2e25dc7a6aefe1c647ba7430af2ff4a6c94", 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 1.09s [INFO] running `Command { std: "docker" "inspect" "0d07439b95d50ef050b3f5ebd106e2e25dc7a6aefe1c647ba7430af2ff4a6c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d07439b95d50ef050b3f5ebd106e2e25dc7a6aefe1c647ba7430af2ff4a6c94", kill_on_drop: false }` [INFO] [stdout] 0d07439b95d50ef050b3f5ebd106e2e25dc7a6aefe1c647ba7430af2ff4a6c94 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 789fe375f14bb27f10dd6d1e928bca4d5db5556d3c7789e217ad2c46acf0f81b [INFO] running `Command { std: "docker" "start" "-a" "789fe375f14bb27f10dd6d1e928bca4d5db5556d3c7789e217ad2c46acf0f81b", 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.93s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/login-cc40e0f0f9b14d86) [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" "789fe375f14bb27f10dd6d1e928bca4d5db5556d3c7789e217ad2c46acf0f81b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "789fe375f14bb27f10dd6d1e928bca4d5db5556d3c7789e217ad2c46acf0f81b", kill_on_drop: false }` [INFO] [stdout] 789fe375f14bb27f10dd6d1e928bca4d5db5556d3c7789e217ad2c46acf0f81b