Running phase: unpackPhase unpacking source archive /nix/store/170z0q4pxjqr1n40dhfgykh216kdcr7n-source source root is source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase applying patch /nix/store/qg4s3zxwsz3r7vcxww6c8xjb883phc5c-initial-session-pam.patch patching file greetd/src/context.rs patching file greetd/src/server.rs Executing cargoSetupPostPatchHook Validating consistency between /build/source/Cargo.lock and /build/greetd-0.10.3-vendor/Cargo.lock Finished cargoSetupPostPatchHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Executing cargoBuildHook cargoBuildHook flags: -j 12 --target x86_64-unknown-linux-gnu --offline --profile release Compiling proc-macro2 v1.0.81 Compiling unicode-ident v1.0.12 Compiling libc v0.2.153 Compiling thiserror v1.0.58 Compiling serde v1.0.198 Compiling serde_json v1.0.116 Compiling ryu v1.0.17 Compiling bytes v1.6.0 Compiling itoa v1.0.11 Compiling pin-project-lite v0.2.14 Compiling cfg-if v1.0.0 Compiling unicode-width v0.1.11 Compiling bitflags v2.5.0 Compiling pam-sys v0.5.6 Compiling getopts v0.2.21 Compiling inish v0.1.0 (/build/source/inish) Compiling quote v1.0.36 Compiling syn v2.0.60 Compiling socket2 v0.5.6 Compiling signal-hook-registry v1.4.1 Compiling mio v0.8.11 Compiling nix v0.27.1 Compiling rpassword v5.0.1 Compiling thiserror-impl v1.0.58 Compiling serde_derive v1.0.198 Compiling tokio-macros v2.2.0 Compiling async-trait v0.1.80 Compiling tokio v1.37.0 Compiling enquote v1.1.0 Compiling greetd_ipc v0.10.3 (/build/source/greetd_ipc) Compiling agreety v0.10.3 (/build/source/agreety) Compiling greetd v0.10.3 (/build/source/greetd) Compiling fakegreet v0.10.3 (/build/source/fakegreet) warning: unreachable expression --> greetd/src/session/interface.rs:123:30 | 113 | / execv( 114 | | &bin, 115 | | &[ 116 | | &bin, ... | 121 | | .expect("unable to exec"); | |_________________________________________- any code following this expression is unreachable 122 | 123 | unreachable!("after exec"); | ^^^^^^^^^^^^ unreachable expression | note: this expression has type `Infallible`, which is uninhabited --> greetd/src/session/interface.rs:113:17 | 113 | / execv( 114 | | &bin, 115 | | &[ 116 | | &bin, ... | 121 | | .expect("unable to exec"); | |_________________________________________^ = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default warning: unreachable expression --> greetd/src/session/worker.rs:279:26 | 268 | / execve( 269 | | &cpath, 270 | | &[ 271 | | &cpath, ... | 277 | | .expect("unable to exec"); | |_____________________________________- any code following this expression is unreachable 278 | 279 | unreachable!("after exec"); | ^^^^^^^^^^^^ unreachable expression | note: this expression has type `Infallible`, which is uninhabited --> greetd/src/session/worker.rs:268:13 | 268 | / execve( 269 | | &cpath, 270 | | &[ 271 | | &cpath, ... | 277 | | .expect("unable to exec"); | |_____________________________________^ warning: hiding a lifetime that's named elsewhere is confusing --> greetd/src/session/conv.rs:31:63 | 31 | pub fn new(sock: &'a std::os::unix::net::UnixDatagram) -> SessionConv { | -- the lifetime is named here ^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: consistently use `'a` | 31 | pub fn new(sock: &'a std::os::unix::net::UnixDatagram) -> SessionConv<'a> { | ++++ warning: `greetd` (bin "greetd") generated 3 warnings (run `cargo fix --bin "greetd" -p greetd` to apply 1 suggestion) Finished `release` profile [optimized] target(s) in 18.44s Executing cargoInstallPostBuildHook Finished cargoInstallPostBuildHook Finished cargoBuildHook Running phase: checkPhase Executing cargoCheckHook cargoCheckHook flags: -j 12 --profile release --target x86_64-unknown-linux-gnu --offline -- Compiling pin-project-lite v0.2.14 Compiling itoa v1.0.11 Compiling bytes v1.6.0 Compiling ryu v1.0.17 Compiling libc v0.2.153 Compiling serde v1.0.198 Compiling thiserror v1.0.58 Compiling unicode-width v0.1.11 Compiling cfg-if v1.0.0 Compiling inish v0.1.0 (/build/source/inish) Compiling bitflags v2.5.0 Compiling enquote v1.1.0 Compiling getopts v0.2.21 Compiling socket2 v0.5.6 Compiling mio v0.8.11 Compiling signal-hook-registry v1.4.1 Compiling nix v0.27.1 Compiling pam-sys v0.5.6 Compiling rpassword v5.0.1 Compiling tokio v1.37.0 Compiling serde_json v1.0.116 Compiling greetd_ipc v0.10.3 (/build/source/greetd_ipc) Compiling greetd v0.10.3 (/build/source/greetd) Compiling agreety v0.10.3 (/build/source/agreety) Compiling fakegreet v0.10.3 (/build/source/fakegreet) warning: unreachable expression --> greetd/src/session/interface.rs:123:30 | 113 | / execv( 114 | | &bin, 115 | | &[ 116 | | &bin, ... | 121 | | .expect("unable to exec"); | |_________________________________________- any code following this expression is unreachable 122 | 123 | unreachable!("after exec"); | ^^^^^^^^^^^^ unreachable expression | note: this expression has type `Infallible`, which is uninhabited --> greetd/src/session/interface.rs:113:17 | 113 | / execv( 114 | | &bin, 115 | | &[ 116 | | &bin, ... | 121 | | .expect("unable to exec"); | |_________________________________________^ = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default warning: unreachable expression --> greetd/src/session/worker.rs:279:26 | 268 | / execve( 269 | | &cpath, 270 | | &[ 271 | | &cpath, ... | 277 | | .expect("unable to exec"); | |_____________________________________- any code following this expression is unreachable 278 | 279 | unreachable!("after exec"); | ^^^^^^^^^^^^ unreachable expression | note: this expression has type `Infallible`, which is uninhabited --> greetd/src/session/worker.rs:268:13 | 268 | / execve( 269 | | &cpath, 270 | | &[ 271 | | &cpath, ... | 277 | | .expect("unable to exec"); | |_____________________________________^ warning: hiding a lifetime that's named elsewhere is confusing --> greetd/src/session/conv.rs:31:63 | 31 | pub fn new(sock: &'a std::os::unix::net::UnixDatagram) -> SessionConv { | -- the lifetime is named here ^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: consistently use `'a` | 31 | pub fn new(sock: &'a std::os::unix::net::UnixDatagram) -> SessionConv<'a> { | ++++ warning: `greetd` (bin "greetd" test) generated 3 warnings (run `cargo fix --bin "greetd" -p greetd --tests` to apply 1 suggestion) Finished `release` profile [optimized] target(s) in 15.07s Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/agreety-657d1e0fbbab34d7) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/fakegreet-217d03bc645a8b9b) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/greetd-1535f54cde1ca79b) running 7 tests test config::tests::general ... ok test config::tests::invalid_default_session ... ok test config::tests::invalid_initial_session ... ok test config::tests::minimal_config ... ok test config::tests::invalid_general ... ok test config::tests::initial_session ... ok test config::tests::terminal ... ok test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/greetd_ipc-abaff767c44ffc4a) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/inish-37ec1efa1ffe71d8) running 3 tests test tests::sections ... ok test tests::fields ... ok test tests::whitespaces ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests greetd_ipc running 2 tests test greetd_ipc/src/codec/sync.rs - codec::sync (line 5) - compile ... ok test greetd_ipc/src/codec/tokio.rs - codec::tokio (line 5) - compile ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s Doc-tests inish running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Finished cargoCheckHook Running phase: installPhase Executing cargoInstallHook Finished cargoInstallHook Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/6whvq2j3z2nqa2f7x3dqiqwr4wxdylj1-greetd-0.10.3 shrinking /nix/store/6whvq2j3z2nqa2f7x3dqiqwr4wxdylj1-greetd-0.10.3/bin/fakegreet shrinking /nix/store/6whvq2j3z2nqa2f7x3dqiqwr4wxdylj1-greetd-0.10.3/bin/greetd shrinking /nix/store/6whvq2j3z2nqa2f7x3dqiqwr4wxdylj1-greetd-0.10.3/bin/agreety checking for references to /build/ in /nix/store/6whvq2j3z2nqa2f7x3dqiqwr4wxdylj1-greetd-0.10.3... gzipping man pages under /nix/store/6whvq2j3z2nqa2f7x3dqiqwr4wxdylj1-greetd-0.10.3/share/man/ patching script interpreter paths in /nix/store/6whvq2j3z2nqa2f7x3dqiqwr4wxdylj1-greetd-0.10.3 stripping (with command strip and flags -S -p) in /nix/store/6whvq2j3z2nqa2f7x3dqiqwr4wxdylj1-greetd-0.10.3/bin