[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 master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmesalock-linux%2Floginutils" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mesalock-linux/loginutils on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-8/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-8/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" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7b6a1eaf00ce9547b9818ce8cabee1447a9713c21c2ce7b1eb50e94a7e9cbedd [INFO] running `Command { std: "docker" "start" "-a" "7b6a1eaf00ce9547b9818ce8cabee1447a9713c21c2ce7b1eb50e94a7e9cbedd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b6a1eaf00ce9547b9818ce8cabee1447a9713c21c2ce7b1eb50e94a7e9cbedd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b6a1eaf00ce9547b9818ce8cabee1447a9713c21c2ce7b1eb50e94a7e9cbedd", kill_on_drop: false }` [INFO] [stdout] 7b6a1eaf00ce9547b9818ce8cabee1447a9713c21c2ce7b1eb50e94a7e9cbedd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c82e3f756d839a5bed8c8de327e24a0dd1290801803951478c803b1b70493ac1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c82e3f756d839a5bed8c8de327e24a0dd1290801803951478c803b1b70493ac1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling lazy_static v1.0.0 [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 rust-crypto v0.2.36 [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 17.57s [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c82e3f756d839a5bed8c8de327e24a0dd1290801803951478c803b1b70493ac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c82e3f756d839a5bed8c8de327e24a0dd1290801803951478c803b1b70493ac1", kill_on_drop: false }` [INFO] [stdout] c82e3f756d839a5bed8c8de327e24a0dd1290801803951478c803b1b70493ac1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 09c2390d25ceb4964738d6cd6821795bc914fcbdbad957ff6950d3fc9498d49d [INFO] running `Command { std: "docker" "start" "-a" "09c2390d25ceb4964738d6cd6821795bc914fcbdbad957ff6950d3fc9498d49d", kill_on_drop: false }` [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 0.93s [INFO] running `Command { std: "docker" "inspect" "09c2390d25ceb4964738d6cd6821795bc914fcbdbad957ff6950d3fc9498d49d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09c2390d25ceb4964738d6cd6821795bc914fcbdbad957ff6950d3fc9498d49d", kill_on_drop: false }` [INFO] [stdout] 09c2390d25ceb4964738d6cd6821795bc914fcbdbad957ff6950d3fc9498d49d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d4a7afc336c7154722303bc31821cea82aeb1d61e56cbca469f858d60e63714d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d4a7afc336c7154722303bc31821cea82aeb1d61e56cbca469f858d60e63714d", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/bin/login.rs:50:47 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 50 | let mut utsname: libc::utsname = mem::uninitialized(); [INFO] [stdout] [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 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/login-5fa880e1428f0273) [INFO] running `Command { std: "docker" "inspect" "d4a7afc336c7154722303bc31821cea82aeb1d61e56cbca469f858d60e63714d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4a7afc336c7154722303bc31821cea82aeb1d61e56cbca469f858d60e63714d", kill_on_drop: false }` [INFO] [stdout] d4a7afc336c7154722303bc31821cea82aeb1d61e56cbca469f858d60e63714d