# Pijul fails to compile in Windows, error in ssh\_auth\_attempts.rs

**URL:** <https://discourse.pijul.org/t/pijul-fails-to-compile-in-windows-error-in-ssh-auth-attempts-rs/379>\
**Category:** Uncategorized\
**Created:** [June 29, 2019, 1:17am UTC](https://discourse.pijul.org/t/pijul-fails-to-compile-in-windows-error-in-ssh-auth-attempts-rs/379 "2019-06-29T01:17:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![woggy](https://avatars.discourse-cdn.com/v4/letter/w/a3d4f5/32.png) [@woggy](https://discourse.pijul.org/u/woggy)\
**Post date:** [June 29, 2019, 1:17am UTC](https://discourse.pijul.org/t/pijul-fails-to-compile-in-windows-error-in-ssh-auth-attempts-rs/379/1 "2019-06-29T01:17:55Z")

</div>

IRC channel seems dead so I thought maybe I’ll have some luck here.

After struggling with libsodium/nettle/openssl in windows, the compile goes ahead (yay!) and fails on pijul (boo).

The error is

```auto
no method named `add_identity` found for type `()` in the current scope
   --> pijul\src\commands\ssh_auth_attempts.rs:220:48

```

Now I have never programmed Rust in my life, but I think I was able to track it down to this in remote.rs

```auto
pub struct Client {
    ...
    #[cfg(unix)]
    pub agent: Option<AgentClient<UnixStream>>,
    #[cfg(windows)]
    pub agent: Option<()>,  
}

```

I’m guessing its the `Option<()>` that’s killing it. The problem is I have no idea what this is supposed to be, so I’m stuck.

I’d really like to try pijul, help!
