Skip to content

Failed to compile alert-after #11

@sotaan

Description

@sotaan

Here is my shell output:

> $ cargo install alert-after
    Updating registry `https://github.com/rust-lang/crates.io-index`
 Downloading alert-after v1.2.0
 Downloading notify-rust v3.3.0
 Downloading mac-notification-sys v0.1.1
 Downloading objc-foundation v0.1.1
 Downloading chrono v0.3.0
 Downloading block v0.1.6
 Downloading objc_id v0.1.0
 Downloading objc v0.2.2
 Downloading malloc_buf v0.0.6
 Downloading libc v0.2.21
 Downloading time v0.1.36
 Downloading num v0.1.37
 Downloading num-traits v0.1.37
 Downloading num-integer v0.1.33
 Downloading num-iter v0.1.33
 Downloading gcc v0.3.45
   Compiling gcc v0.3.45
   Compiling num-traits v0.1.37
   Compiling libc v0.2.21
   Compiling block v0.1.6
   Compiling time v0.1.36
   Compiling malloc_buf v0.0.6
   Compiling objc v0.2.2
   Compiling num-integer v0.1.33
   Compiling num-iter v0.1.33
   Compiling num v0.1.37
   Compiling objc_id v0.1.0
   Compiling objc-foundation v0.1.1
   Compiling chrono v0.3.0
   Compiling mac-notification-sys v0.1.1
   Compiling notify-rust v3.3.0
   Compiling alert-after v1.2.0
error[E0308]: mismatched types
  --> .cargo/registry/src/github.com-1ecc6299db9ec823/alert-after-1.2.0/main.rs:42:18
   |
42 |     command.args(args.clone());
   |                  ^^^^^^^^^^^^ expected &[_], found struct `std::vec::Vec`
   |
   = note: expected type `&[_]`
   = note:    found type `std::vec::Vec<std::string::String>`

error: aborting due to previous error

error: failed to compile `alert-after v1.2.0`, intermediate artifacts can be found at `/var/folders/ll/3rntbg2n3yqcch7b0qhk8x440000gn/T/cargo-install.jg1rsexqg1JH`

Caused by:
  Could not compile `alert-after`.

To learn more, run the command again with --verbose.

I'm on last version of MacOS with every thing updated using brew.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions