Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Nukesor/pueue/pueued #21533

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ryoppippi
Copy link
Contributor

@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Apr 3, 2024
@suzuki-shunsuke suzuki-shunsuke added this to the v4.158.0 milestone Apr 3, 2024
@@ -0,0 +1 @@
packages: []
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

packages is empty.

- name: Nukesor/pueue/pueued
type: github_release
repo_owner: Nukesor
repo_name: pueue
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

asset is required.

@suzuki-shunsuke
Copy link
Member

Same with #21532 (comment)

@suzuki-shunsuke
Copy link
Member

The pre built binary doesn't work on my laptop (M3 Pro).

$ /Users/shunsukesuzuki/.local/share/aquaproj-aqua/pkgs/github_release/github.com/Nukesor/pueue/v3.4.0/pueued-darwin-aarch64/pueued-darwin-aarch64 --help
zsh: killed      --help
$ file /Users/shunsukesuzuki/.local/share/aquaproj-aqua/pkgs/github_release/github.com/Nukesor/pueue/v3.4.0/pueued-darwin-aarch64/pueued-darwin-aarch64
/Users/shunsukesuzuki/.local/share/aquaproj-aqua/pkgs/github_release/github.com/Nukesor/pueue/v3.4.0/pueued-darwin-aarch64/pueued-darwin-aarch64: Mach-O 64-bit executable arm64

@ryoppippi
Copy link
Contributor Author

Thank you for your response.

It's funny that it doesn't work...
Is there no other way but to install with cargo...?

@suzuki-shunsuke
Copy link
Member

@suzuki-shunsuke
Copy link
Member

Maybe we should add crates.io/pueue, but unfortunately cargo install pueue failed on my laptop.
I guess this is an issue on my environment, but it's troublesome...

$ cargo install pueue
    Updating crates.io index
  Installing pueue v3.4.0
    Updating crates.io index
  Downloaded pest_generator v2.7.9
  Downloaded strsim v0.11.1
  Downloaded pest_derive v2.7.9
  Downloaded pest_meta v2.7.9
  Downloaded syn v2.0.58
  Downloaded pest v2.7.9
  Downloaded 6 crates (488.8 KB) in 0.22s
   Compiling libc v0.2.153
   Compiling proc-macro2 v1.0.79
   Compiling unicode-ident v1.0.12
   Compiling cfg-if v1.0.0
   Compiling memchr v2.7.2
   Compiling autocfg v1.2.0
   Compiling thiserror v1.0.58
   Compiling serde v1.0.197
   Compiling cc v1.0.90
   Compiling glob v0.3.1
   Compiling itoa v1.0.11
   Compiling regex-syntax v0.8.3
   Compiling minimal-lexical v0.2.1
   Compiling libloading v0.8.3
   Compiling spin v0.9.8
   Compiling either v1.10.0
   Compiling bindgen v0.69.4
   Compiling clang-sys v1.7.0
   Compiling nom v7.1.3
   Compiling powerfmt v0.2.0
   Compiling time-core v0.1.2
   Compiling num-conv v0.1.0
   Compiling untrusted v0.9.0
   Compiling ucd-trie v0.1.6
   Compiling bitflags v2.5.0
   Compiling time-macros v0.2.17
   Compiling deranged v0.3.11
   Compiling itertools v0.12.1
   Compiling ring v0.17.8
   Compiling regex-automata v0.4.6
   Compiling lock_api v0.4.11
   Compiling getrandom v0.2.12
   Compiling num_threads v0.1.7
   Compiling cexpr v0.6.0
   Compiling num-traits v0.2.18
   Compiling lazycell v1.3.0
   Compiling utf8parse v0.2.1
   Compiling rustversion v1.0.14
   Compiling parking_lot_core v0.9.9
   Compiling rustls-pki-types v1.4.1
   Compiling lazy_static v1.4.0
   Compiling once_cell v1.19.0
   Compiling shlex v1.3.0
   Compiling log v0.4.21
   Compiling quote v1.0.35
   Compiling rustc-hash v1.1.0
   Compiling syn v2.0.58
   Compiling time v0.3.34
   Compiling anstyle-parse v0.2.3
   Compiling regex v1.10.4
   Compiling errno v0.3.8
   Compiling option-ext v0.2.0
   Compiling core-foundation-sys v0.8.6
   Compiling rustls v0.22.3
   Compiling anstyle v1.0.6
   Compiling serde_json v1.0.115
   Compiling smallvec v1.13.2
   Compiling base64 v0.21.7
   Compiling anstyle-query v1.0.2
   Compiling colorchoice v1.0.0
   Compiling scopeguard v1.2.0
   Compiling ryu v1.0.17
   Compiling cfg_aliases v0.1.1
   Compiling nix v0.28.0
   Compiling anstream v0.6.13
   Compiling iana-time-zone v0.1.60
   Compiling dirs-sys v0.4.1
   Compiling rand_core v0.6.4
   Compiling mio v0.8.11
   Compiling num_cpus v1.16.0
   Compiling socket2 v0.5.6
   Compiling heck v0.5.0
   Compiling pin-project-lite v0.2.14
   Compiling strsim v0.11.1
   Compiling rustix v0.38.32
   Compiling async-trait v0.1.79
   Compiling heck v0.4.1
   Compiling snap v1.1.1
   Compiling hashbrown v0.14.3
   Compiling subtle v2.5.0
   Compiling ppv-lite86 v0.2.17
   Compiling zeroize v1.7.0
   Compiling bytes v1.6.0
   Compiling equivalent v1.0.1
   Compiling bitflags v1.3.2
   Compiling anyhow v1.0.81
   Compiling clap_lex v0.7.0
   Compiling nix v0.26.4
   Compiling indexmap v2.2.6
   Compiling clap_builder v4.5.2
   Compiling rand_chacha v0.3.1
   Compiling chrono v0.4.37
   Compiling yasna v0.5.2
   Compiling parking_lot v0.12.1
   Compiling dirs v5.0.1
   Compiling pem v3.0.3
   Compiling half v1.8.3
   Compiling thiserror-impl v1.0.58
   Compiling tokio-macros v2.2.0
   Compiling strum_macros v0.25.3
   Compiling clap_derive v4.5.4
   Compiling tokio v1.37.0
   Compiling strum v0.25.0
   Compiling unsafe-libyaml v0.2.11
   Compiling serde_cbor v0.11.2
   Compiling pest v2.7.9
   Compiling rustls-webpki v0.102.2
   Compiling serde_yaml v0.9.34+deprecated
   Compiling rcgen v0.12.1
   Compiling pest_meta v2.7.9
   Compiling clap v4.5.4
   Compiling pest_generator v2.7.9
   Compiling libproc v0.14.6
   Compiling serde_derive v1.0.197
   Compiling shellexpand v3.1.0
   Compiling crossterm v0.27.0
   Compiling pest_derive v2.7.9
   Compiling tokio-rustls v0.25.0
   Compiling handlebars v4.5.0
   Compiling command-group v2.1.0
   Compiling rand v0.8.5
   Compiling rev_buf_reader v0.3.0
   Compiling rustls-pemfile v2.1.1
   Compiling unicode-width v0.1.11
   Compiling fastrand v2.0.2
   Compiling byteorder v1.5.0
   Compiling scanlex v0.1.4
   Compiling termcolor v1.4.1
   Compiling whoami v1.5.1
   Compiling simplelog v0.12.2
   Compiling chrono-english v0.1.7
   Compiling tempfile v3.10.1
error[E0277]: the trait bound `Tz: Copy` is not satisfied
   --> /Users/shunsukesuzuki/.cargo/registry/src/index.crates.io-6f17d22bba15001f/chrono-english-0.1.7/src/types.rs:131:40
    |
131 |                 if let Some(correct) = next_last_direction(date, base, nd.direct) {
    |                                        ^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Tz`
    |
    = note: required for `chrono::DateTime<Tz>` to implement `Copy`
note: required by a bound in `next_last_direction`
   --> /Users/shunsukesuzuki/.cargo/registry/src/index.crates.io-6f17d22bba15001f/chrono-english-0.1.7/src/types.rs:61:40
    |
61  | fn next_last_direction<T: PartialOrd + Copy>(date: T, base: T, direct: Direction) -> Option<i32> {
    |                                        ^^^^ required by this bound in `next_last_direction`
help: consider further restricting this bound
    |
101 |     pub fn to_date_time<Tz: TimeZone + std::marker::Copy>(
    |                                      +++++++++++++++++++

For more information about this error, try `rustc --explain E0277`.
error: could not compile `chrono-english` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `pueue v3.4.0`, intermediate artifacts can be found at `/var/folders/fc/1bgyy3_d3x90m_t04qbw5f8m0000gn/T/cargo-installzaf3r2`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

@ryoppippi
Copy link
Contributor Author

OMG it is not works in my laptop as well...

OK, I'll make this PR to draft and wait for the fix

@ryoppippi ryoppippi marked this pull request as draft April 4, 2024 11:17
@suzuki-shunsuke suzuki-shunsuke removed this from the v4.158.0 milestone Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants