profile
viewpoint
Alexander Regueiro alexreg Erebor London, GB http://noldorin.com/ https://about.me/alexreg

alexreg/git-bzr-ng 4

bi-directional git/bzr bridge

alexreg/Cloudup-Alfred-Workflow 2

Makes it easy to upload files to Cloudup via Alfred

alexreg/brew 1

🍺 The missing package manager for macOS

alexreg/brewdo 1

sandboxing for Homebrew

alexreg/Cake.RoslynAnalyzers 1

An addin for Cake that allows for Roslyn code analyzers to be run on solutions and projects

alexreg/cookie-rs 1

HTTP cookie parsing and cookie jar management for rust

alexreg/ergo-bot 1

Facebook Messenger bot for the Ergo game

alexreg/gist-alfred 1

An alfred workflow for accessing gists

alexreg/homebrew-cask 1

🍻 A CLI workflow for the administration of macOS applications distributed as binaries

alexreg/homebrew-core 1

:beers: Core formulae for the Homebrew package manager

issue commentmetamolecular/graphcore

graphcore vs. petgraph?

Okay, thank you! Definitely worth linking to in the README, I'd say.

alexreg

comment created time in 5 hours

issue openedmetamolecular/graphcore

graphcore vs. petgraph?

It would be nice if you could explain any advantages you see of your crate over the long-standing petgraph crate. (Or, is it just your own attempt for the sake of learning?)

created time in 8 hours

pull request commentIrcDotNet/IrcDotNet

Feature/nick changed event

@oreleraki Sorry, I didn't get any notifications about it. PRs look good: just make sure you run "Format Document" on all the changed files first. I've given you Maintainer rights now, so you should be able to push directly to the branch (you may just have to do that rather than accepting your own PRs, I'm not sure).

oreleraki

comment created time in 8 hours

startedCAD97/pointer-utils

started time in 8 hours

startedTimelyDataflow/timely-dataflow

started time in a day

startedTimelyDataflow/differential-dataflow

started time in a day

issue commentblaise-io/acelink

Only shows start of stream

Ah, is the Homebrew cask updating soon?

alexreg

comment created time in 6 days

issue commentblaise-io/acelink

Only shows start of stream

Okay, I'll let you know how that goes next time I try a stream, thanks.

alexreg

comment created time in 6 days

issue commentblaise-io/acelink

Only shows start of stream

Multiple streams, I'm afraid.

alexreg

comment created time in 7 days

starteddtolnay/reflect

started time in 8 days

startednrxus/faux

started time in 12 days

issue openedblaise-io/acelink

Only shows start of stream

I was trying to use Ace Link a few days ago to view a stream and it seemed to load up the stream fine but I only got the initial frame (at the start of the very stream, not the present one in time). It remained that way indefinitely. No sound either.

created time in 12 days

issue commentblaise-io/acelink

Beachball of death

I resolved this by manually starting Docker once before having AceLink start it. It would be nice for AceLink not to freeze up though, and at least show an error maybe (after a timeout?). :-)

apuignav

comment created time in 12 days

startedspacejam/rio

started time in 13 days

issue commentblaise-io/acelink

`brew cask install` fails if Docker has already been installed

Maybe can be made optional dependencies? Or to recognise if non-cask installations exist?

maxdanilov

comment created time in 15 days

startedblaise-io/acelink

started time in 15 days

pull request commentfrej/fast-export

Handle `--force` option correctly in any position

Fair enough.

alexreg

comment created time in 18 days

pull request commentfrej/fast-export

Handle `--force` option correctly in any position

@frej I suppose there's no way I can convince you into switching with Bash? I think it's pretty-much installed by default on all *nix systems (at least version 3).

alexreg

comment created time in 20 days

issue commentrust-lang/rust

Cyclic dependency bug processing RPIT `impl Trait`

@steveklabnik I believe I figured out the cause of this while working on another PR, and solved it. In any case, seems reasonable to close.

alexreg

comment created time in 20 days

pull request commentfrej/fast-export

Handle `--force` option correctly in any position

Sorry, I am so used to using Bash I forgot such a basic feature as arrays are not in the Bourne Shell... I wonder if quoting of arguments can be done correctly in that case.

alexreg

comment created time in 20 days

push eventalexreg/Textual

Jordan Koch

commit sha 291ae1c45ed3240d85c55e73a5c4a691cfbc37b7

Update IRC.strings Lowercase the word "slow" in "Very Slow" to match the others like "Pretty good", "Not bad", etc. Not sure why "slow" is capitalized.

view details

emsquared

commit sha b1b8da40b7627f373de1ae9595beed50fad8510e

Update libraries

view details

emsquared

commit sha a60e7740f7b95ce582fd44de74a40507a234ea80

Update project to Xcode 11 / Swift 5

view details

emsquared

commit sha 09e1d8b402566a5be67cf5e6f6297e2f6a48684f

Add "Base" region for localization

view details

emsquared

commit sha 3a9581dff17091e3af8bf8fd1a4673a92c322bdf

Improve Swift compatibility

view details

emsquared

commit sha 21c8879961584621d53f0c689d876d0be7ef31c9

Return after calling code on main thread We would duplicate the work when not on a main thread because the check didn't exit.

view details

emsquared

commit sha 1450f7d737abffb3356ed6bf6b07dbb62eb1ffa3

Update library to recognize "Catalina" in "/sysinfo"

view details

emsquared

commit sha 540e7de445692f79c04ea4ec448e13eba18d2130

Update MacintoshModels.plist

view details

emsquared

commit sha 2ef76988b82f8bb563d7e6b27b308610b67717b8

Version bump

view details

Michael Morris

commit sha f8440512c857c452be29f1779ce89fb0e0dfe9e5

Merge pull request #529 from eskimo/patch-4 Update IRC.strings

view details

emsquared

commit sha 2cbe23d62c4741166d5dc927fdbacb0a11772c69

Change condition making certificate trust panel never appear isConnected may be true and isConnecting false in some cirumstances when asking for trust. There are too many what-ifs at this point so we just do it no matter what and if the connection returns no policy name, then there is nothing further we can do.

view details

emsquared

commit sha 7f7f7614af00b61ca4deaa0f474b3e0f75a0170e

Temporary? workaround for missing policy name

view details

emsquared

commit sha 6f36cc4c14a0dd51d0d65fe043fd52f6464adbb1

Merge branch 'dev' of https://github.com/Codeux-Software/Textual into dev

view details

emsquared

commit sha c5524038fcdc271144c86437db3561a864d639b4

Add window in which custom CSS rules can be defined. Because the rules added in this window are completely local to the client and has no influence from the outside, there is absolutely no sanitation performed. This allows for open abuse of the system by escaping from the <style> element to append JavaScript or anything else without making a local copy of the style.

view details

emsquared

commit sha 2f0cb48d22f80248b8e57e2c306e9a38aada817e

Prefer system font for custom commands text field

view details

emsquared

commit sha 325fdb5d647b305eada612dc862086d940e6c5d7

Fix building Encryption Kit

view details

emsquared

commit sha 1f271937983407ce0b14e5c27d23887547500579

Reintroduce weights command for inspecting nickname completion

view details

emsquared

commit sha 0775e9f2a8dac098a1d071f3fe9e687ef4071b6b

Fix building Auto Hyperlinks

view details

emsquared

commit sha ffabb2e261753e38960ef7e4a31455b3e76e96e6

macOS Catalina compatible np script

view details

emsquared

commit sha 57a62120fbf1449649079847fb3b7c38e0244071

Version bump

view details

push time in 21 days

pull request commentfrej/fast-export

Handle `--force` option correctly in any position

@frej Your intention was to support the old Bourne shell, I guess? Unfortunately arrays are only in Bash. This script becomes quite hard to write without arrays (I mean, my changes.)

alexreg

comment created time in 22 days

CommitCommentEvent
CommitCommentEvent

push eventalexreg/fast-export

Alexander Regueiro

commit sha 0c5617bf8d88a0f5edaedaf7d47ddd0780aefe33

Handle `--force` option correctly in any position

view details

push time in 23 days

pull request commentfrej/fast-export

Handle `--force` option correctly in any position

Agreed. Unfortunately GitHub doesn't have the feature (I was doing this in-browser), so let me clone and do that quickly...

alexreg

comment created time in 23 days

pull request commentfrej/fast-export

Handle `--force` option correctly in any position

No problem! Glad I could help in a little way.

alexreg

comment created time in 23 days

push eventalexreg/fast-export

Alexander Regueiro

commit sha 40ed60a7c41842d8d73f496fdc166d573474a8cb

Fixed typo

view details

push time in 23 days

Pull request review commentfrej/fast-export

Handle `--force` option correctly in any position

 $(       --mapping "$GIT_DIR/$PFX-$SFX_MAPPING" \       --heads "$GIT_DIR/$PFX-$SFX_HEADS" \       --status "$GIT_DIR/$PFX-$SFX_STATE" \-      "$@" 3>&- || _e1=$?+      s"${HG2GIT_ARGS[@]}" 3>&- || _e1=$?

Oops, merely a typo, sorry.

alexreg

comment created time in 23 days

PR opened frej/fast-export

Handle `--force` option correctly in any position
+5 -9

0 comment

1 changed file

pr created time in 23 days

push eventalexreg/fast-export

Alexander Regueiro

commit sha 9e33a5acce9ad52d0fef26212143d2a8d4d23b35

Handle `--force` option correctly in any position

view details

push time in 23 days

fork alexreg/fast-export

A mercurial to git converter using git-fast-import

http://repo.or.cz/w/fast-export.git

fork in 23 days

issue commentfrej/fast-export

ImportError: cannot import name node

Ah, the problem turned out to be that I needed pip's Mercurial installed, not Homebrew's version. Odd, but that does it.

alexreg

comment created time in 23 days

issue commentHomebrew/homebrew-core

hg-fast-export doesn’t install all the files

I confirm that I'm also getting this.

(As a separate issue, it seems I have to use pip's mercurial installation rather than Homebrew's for this to work, but oh well.)

zagy

comment created time in 23 days

startedbootandy/dust

started time in 24 days

issue closedCanop/broot

Ctrl+C to exit

Would it be possible to intercept Ctrl+C and/or Ctrl+D to exit Broot? (In addition to the usual :q command.)

closed time in 24 days

alexreg

issue commentCanop/broot

Ctrl+C to exit

Ah right, makes sense. Ta.

alexreg

comment created time in 24 days

issue commentCanop/broot

Ctrl+C to exit

Okay, sounds good, thank you!

Not sure why this doesn't exist in the default conf.toml for the Homebrew installation.

alexreg

comment created time in 24 days

issue commenttectonic-typesetting/tectonic

Filenames in output should be quoted

@pkgw I'm really busy at the moment, but if someone doesn't get around to this in the next 2-3 weeks I should be able to do this! (Feel free to ping me around then.)

alexreg

comment created time in 24 days

startedjonhoo/rust-evmap

started time in 24 days

startedlibpnet/libpnet

started time in 25 days

issue openedfrej/fast-export

ImportError: cannot import name node

I get this when running the command. Seems like a bug.

Traceback (most recent call last):
  File "/usr/local/Cellar/hg-fast-export/190913/bin/hg-fast-export.py", line 6, in <module>
    from mercurial import node
ImportError: cannot import name node
/usr/local/Cellar/git/2.25.0/libexec/git-core/git-fast-import statistics:
---------------------------------------------------------------------
Alloc'd objects:       5000
Total objects:            0 (         0 duplicates                  )
      blobs  :            0 (         0 duplicates          0 deltas of          0 attempts)
      trees  :            0 (         0 duplicates          0 deltas of          0 attempts)
      commits:            0 (         0 duplicates          0 deltas of          0 attempts)
      tags   :            0 (         0 duplicates          0 deltas of          0 attempts)
Total branches:           0 (         0 loads     )
      marks:           1024 (         0 unique    )
      atoms:              0
Memory total:          2360 KiB
       pools:          2048 KiB
     objects:           312 KiB
---------------------------------------------------------------------
pack_report: getpagesize()            =       4096
pack_report: core.packedGitWindowSize = 1073741824
pack_report: core.packedGitLimit      = 35184372088832
pack_report: pack_used_ctr            =          0
pack_report: pack_mmap_calls          =          0
pack_report: pack_open_windows        =          0 /          0
pack_report: pack_mapped              =          0 /          0
---------------------------------------------------------------------

created time in 25 days

issue openedfrej/fast-export

`--force` option is not accepted

If I specify it as the first option, I get:

no repo given, use -r flag

If I specify it as any subsequent option (including the last), I get:

Error: The option core.ignoreCase is set to true in the git
repository. This will produce empty changesets for renames that just
change the case of the file name.
Use --force to skip this check or change the option with
git config core.ignoreCase false

created time in 25 days

issue openedCanop/broot

Ctrl+C to exit

Would it be possible to intercept Ctrl+C and/or Ctrl+D to exit Broot? (In addition to the usual :q command.)

created time in 25 days

startedAsamK/signal-cli

started time in a month

startedflutter-rs/flutter-rs

started time in a month

issue commentrust-lang/rust

Insufficient normalization

@steveklabnik Thanks. Can we tag wg-traits maybe? This really needs a priority now, and ideally fixing soon in any case, given how long it's been open.

alexreg

comment created time in a month

startedtermapps/enquirer

started time in a month

pull request commentrust-lang/rust

Solution to trait alias bug #65673

@JohnCSimon Happy to rebase and fix conflicts, but it would be nice to get the node from Niko that this approach is the one we want to go with (per his last comments) before doing so. Ta.

alexreg

comment created time in a month

issue commentJames-Yu/LaTeX-Workshop

latex-workshop.latex.watch.files.ignore not fully honored

Ah, I didn't fully appreciate how this worked when I first read it. This sounds decent. However, I am wondering about the case where you'd have multiple document files (multiple "root" files, if you like). I'm thinking it would be nice to rename the rootFiles feature to documentFiles, and perform the same search for \begin{document} but allow more than one such files. (Perhaps this search string could be configurable as well, to allow for directives if for some reason people have weird TeX environments for documents not named document, or whatever. This would allow specifying a directive comment like % latex-workshop:document at the top of the file, for example. In addition, one could allow setting a fixed list/glob of document files in the settings, rather than just document files to include/exclude in the search.) Just some ideas, make what you will of them.

By the way, there is a spurious \n on that wiki page you might want to remove.

Thanks for your quick fix to this issue in any case.

jlelong

comment created time in a month

starteddtolnay/cxx

started time in a month

startedxacrimon/dashmap

started time in a month

issue commentJames-Yu/LaTeX-Workshop

latex-workshop.latex.watch.files.ignore not fully honored

@jlelong Hmm, I'm not sure about the intellisense point. For example, what if I have a preamble.tex that I include in some document TeX files? I don't want build to run on preamble.tex itself, so I don't want it to be watched in that sense. (However, if I can watch e.g. foo.tex because it contains \input{preamble.tex}, and rebuild foo.tex when preamble.tex changes, this would be ideal.)

jlelong

comment created time in a month

issue commentJames-Yu/LaTeX-Workshop

Questions about build behaviour

No problem. Glad it's being addressed.

alexreg

comment created time in a month

startedrust-lang/measureme

started time in a month

pull request commentlotabout/skim

A few updates to the README

No problem. Thanks for accepting it.

alexreg

comment created time in a month

startedmathjax/MathJax-docs

started time in a month

issue commenttectonic-typesetting/tectonic

Document the location and structure of the cache directory

It would be nice if tectonic itself had a command-line option to spit out this path, but glad I found this. The Tectonic Book could definitely use some loving attention, but good to know it exists already in some form.

iandol

comment created time in a month

issue openedtectonic-typesetting/tectonic

Filenames in output should be quoted

This is motivated by the fact I get output like the following in the LaTeX Compiler log window in VSCode:

Writing /Users/alex/Documents/A filename with spaces.tex (123 bytes)

and only /Users/alex/Documents/A gets highlighted as a filename. In any case, the general practice is to enclose filenames in console output as `/a/b/c`, I believe. This would solve the issue.

I don't know if it covers all cases, but the note_highlighted fn (second parameter) seems to be responsible for this sort of printing. The enclosing of filenames in backticks is probably best done at call-site however (using a helper function?).

While I'm writing this, a bonus would be comma-separating the number of bytes, e.g., 123,456,789 bytes -- or better yet, 123 MB (also kB and B of course). All for readability of course, since this is nitpicking!

created time in a month

issue closedtectonic-typesetting/tectonic

Improve installation story: pre-built packages, easy builds

Please add to this list if you are interested in a package for an OS not listed here.

  • [x] Mac OS X (Homebrew) [assigned: @alexreg, @iKevinY]

closed time in a month

alexreg

push eventalexreg/skim

Alexander Regueiro

commit sha b1d00fbc6c16f2583971174f390228e1b0593ae8

A few things I missed

view details

push time in a month

push eventalexreg/skim

Alexander Regueiro

commit sha 54923ae722de5a42c14caf7abb2ca3e65dc7730b

Fixed hard-wrapping of lines

view details

push time in a month

PR opened lotabout/skim

A few updates to the README
  • Added more examples to "interactive commands" section.
  • Added language tags to all code blocks.
  • Fixed minor grammatical points.

All small stuff, but hopefully it helps a bit. (Sorry if I've changed your intended meaning of anything.)

+27 -23

0 comment

1 changed file

pr created time in a month

push eventalexreg/skim

Alexander Regueiro

commit sha 32f6dd9a345fd268166fbb1b51028bc0c41dcd40

A few updates to the README * Added more examples to "interactive commands" section. * Added language tags to all code blocks. * Fixed minor grammatical points.

view details

push time in a month

fork alexreg/skim

Fuzzy Finder in rust!

fork in a month

fork alexreg/fzf.vim

fzf :heart: vim

fork in a month

starteddavidagraf/doi2bib2

started time in a month

issue commentJames-Yu/LaTeX-Workshop

Questions about build behaviour

It seems none of the values of latex-workshop.latex.watch.files.ignore are heeded however. Even if I use "" or "" or "/" as the glob, TeX files still get compile upon save.

alexreg

comment created time in 2 months

startedsozercan/OpenInCode

started time in 2 months

issue commentJames-Yu/LaTeX-Workshop

Questions about build behaviour

Thanks.

alexreg

comment created time in 2 months

issue openedJames-Yu/LaTeX-Workshop

Questions about build behaviour

Two quick questions (apologies if they're already covered in the wiki, but I couldn't find the answers):

  1. How do I set the build recipe for a particular file, so that when when I run Build LaTeX project, it uses that.
  2. How do I explicitly disable building on save for a particular file? (In my case, it's a "preamble" TeX file that's included in actual document TeX files.)

Thank you in advance.

created time in 2 months

startedJames-Yu/LaTeX-Workshop

started time in 2 months

startedmgattozzi/dev-suite

started time in 2 months

starteddenoland/deno

started time in 2 months

startedo0Ignition0o/cargo-scout

started time in 2 months

issue commentHomebrew/homebrew-cask

amazon-music does not install

Ah okay, will do, cheers.

alexreg

comment created time in 2 months

issue openedHomebrew/homebrew-cask

amazon-music does not install

General troubleshooting steps

Description of issue

The amazon-music cask fails to install:

  • an error occurred while attempting to obtain endpoint for listener
  • Error changing permissions to 040755 in /Applications/Amazon Music.app

<!-- Please DO NOT delete the backticks. Only change the “{{replace this}}” text. -->

Command that failed

brew cask install amazon-music

Output of command with --force --verbose --debug

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
No changes to formulae.

==> Cask::Installer#install
==> Printing caveats
==> Caveats
If the app will not launch after installation, try

  brew cask zap amazon-music
  brew cask install amazon-music

then re-launch the app.

==> Cask::Installer#fetch
==> Downloading
==> Downloading https://images-na.ssl-images-amazon.com/images/G/01/digital/music/morpho/installers/20191210/0817399808/AmazonMusicInstaller.dmg
/usr/bin/curl -q --globoff --show-error --user-agent Homebrew/2.2.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.2\)\ curl/7.64.1 --location --silent --head --request GET https://images-na.ssl-images-amazon.com/images/G/01/digital/music/morpho/installers/20191210/0817399808/AmazonMusicInstaller.dmg
Already downloaded: /Library/Caches/Homebrew/downloads/6383b292188f1df72adf7f69ec79a25642204d79715a314306367982220f9774--AmazonMusicInstaller.dmg
==> Checking quarantine support
/usr/bin/xattr
/usr/bin/swift /usr/local/Homebrew/Library/Homebrew/cask/utils/quarantine.swift
==> Quarantine is available.
==> Verifying Gatekeeper status of /Library/Caches/Homebrew/downloads/6383b292188f1df72adf7f69ec79a25642204d79715a314306367982220f9774--AmazonMusicInstaller.dmg
/usr/bin/xattr -p com.apple.quarantine /Library/Caches/Homebrew/downloads/6383b292188f1df72adf7f69ec79a25642204d79715a314306367982220f9774--AmazonMusicInstaller.dmg
==> /Library/Caches/Homebrew/downloads/6383b292188f1df72adf7f69ec79a25642204d79715a314306367982220f9774--AmazonMusicInstaller.dmg is quarantined
==> Downloaded to -> /Library/Caches/Homebrew/downloads/6383b292188f1df72adf7f69ec79a25642204d79715a314306367982220f9774--AmazonMusicInstaller.dmg
==> Verifying SHA-256 checksum for Cask 'amazon-music'.
hdiutil imageinfo -format /Library/Caches/Homebrew/downloads/6383b292188f1df72adf7f69ec79a25642204d79715a314306367982220f9774--AmazonMusicInstaller.dmg
==> Installing Cask amazon-music
==> Cask::Installer#stage
==> Extracting primary container
==> Using container class UnpackStrategy::Dmg for /Library/Caches/Homebrew/downloads/6383b292188f1df72adf7f69ec79a25642204d79715a314306367982220f9774--AmazonMusicInstaller.dmg
hdiutil attach -plist -nobrowse -readonly -noidme -mountrandom /var/folders/sh/xb5grs3d247c0cxy_7s57_2r0000gk/T/d20191223-35586-1eo5tnj /Library/Caches/Homebrew/downloads/6383b292188f1df72adf7f69ec79a25642204d79715a314306367982220f9774--AmazonMusicInstaller.dmg
find . -print0
mkbom -s -i /var/folders/sh/xb5grs3d247c0cxy_7s57_2r0000gk/T/20191223-35586-1hk24eu.list -- /var/folders/sh/xb5grs3d247c0cxy_7s57_2r0000gk/T/20191223-35586-1ecceb5.bom
ditto --bom /var/folders/sh/xb5grs3d247c0cxy_7s57_2r0000gk/T/20191223-35586-1ecceb5.bom -- /private/var/folders/sh/xb5grs3d247c0cxy_7s57_2r0000gk/T/d20191223-35586-1eo5tnj/dmg.mWREt3 /var/folders/sh/xb5grs3d247c0cxy_7s57_2r0000gk/T/d20191223-35586-1bncb9i
diskutil eject /private/var/folders/sh/xb5grs3d247c0cxy_7s57_2r0000gk/T/d20191223-35586-1eo5tnj/dmg.mWREt3
cp -pR /var/folders/sh/xb5grs3d247c0cxy_7s57_2r0000gk/T/d20191223-35586-1bncb9i/Amazon\ Music\ Installer.app/. /usr/local/Caskroom/amazon-music/7.9.0,20191210:0817399808/Amazon\ Music\ Installer.app
chmod -Rf +w /var/folders/sh/xb5grs3d247c0cxy_7s57_2r0000gk/T/d20191223-35586-1bncb9i
==> Verifying Gatekeeper status of /Library/Caches/Homebrew/downloads/6383b292188f1df72adf7f69ec79a25642204d79715a314306367982220f9774--AmazonMusicInstaller.dmg
/usr/bin/xattr -p com.apple.quarantine /Library/Caches/Homebrew/downloads/6383b292188f1df72adf7f69ec79a25642204d79715a314306367982220f9774--AmazonMusicInstaller.dmg
==> /Library/Caches/Homebrew/downloads/6383b292188f1df72adf7f69ec79a25642204d79715a314306367982220f9774--AmazonMusicInstaller.dmg is quarantined
==> Propagating quarantine from /Library/Caches/Homebrew/downloads/6383b292188f1df72adf7f69ec79a25642204d79715a314306367982220f9774--AmazonMusicInstaller.dmg to /usr/local/Caskroom/amazon-music/7.9.0,20191210:0817399808
/usr/bin/xattr -p com.apple.quarantine /Library/Caches/Homebrew/downloads/6383b292188f1df72adf7f69ec79a25642204d79715a314306367982220f9774--AmazonMusicInstaller.dmg
/usr/bin/xargs -0 -- /bin/chmod -h u\+w
/usr/bin/xargs -0 -- /usr/bin/xattr -w com.apple.quarantine 0181\;5e0101cd\;Homebrew\\x20Cask\;1BF583A4-18F5-4D7F-ADE1-1878B5B541C2
==> Creating metadata directory /usr/local/Caskroom/amazon-music/.metadata/7.9.0,20191210:0817399808/20191223190633.276.
==> Creating metadata subdirectory /usr/local/Caskroom/amazon-music/.metadata/7.9.0,20191210:0817399808/20191223190633.276/Casks.
==> Installing artifacts
==> 3 artifact/s defined
#<SortedSet: {#<Cask::Artifact::Uninstall:0x00007fb12990c068 @cask=#<Cask::Cask:0x00007fb1108f9198 @token="amazon-music", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/amazon-music.rb>, @tap=#<Tap:0x00007fb1288275b8 @user="Homebrew", @repo="cask", @name="homebrew/cask", @full_name="Homebrew/homebrew-cask", @path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask>, @alias_table=nil, @alias_reverse_table=nil, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007fb1108f8f90@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/amazon-music.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/amazon-music>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/amazon-music/.metadata>, @config=#<Cask::Config:0x00007fb1299079f0 @explicit={}>, @dsl=#<Cask::DSL:0x00007fb1299075b8 @cask=#<Cask::Cask:0x00007fb1108f9198 ...>, @token="amazon-music", @version="7.9.0,20191210:0817399808", @sha256="bbb89096aac3245ef08c59ef277611f137da4a5137f33cb528d9e56058deebd8", @url=#<URL:0x00007fb129906898 @uri=#<URI::HTTPS https://images-na.ssl-images-amazon.com/images/G/01/digital/music/morpho/installers/20191210/0817399808/AmazonMusicInstaller.dmg>, @user_agent=:default, @specs={}>, @appcast=#<Cask::DSL::Appcast:0x00007fb12990e688 @uri=#<URI::HTTPS https://www.amazon.com/gp/dmusic/desktop/downloadPlayer>, @parameters={:configuration=>"20191210/0817399808"}, @configuration="20191210/0817399808">, @name=["Amazon Music"], @homepage="https://www.amazon.com/musicapps", @auto_updates=true, @artifacts=#<SortedSet: {...}>, @caveats=#<Cask::DSL::Caveats:0x00007fb129917760 @cask=#<Cask::Cask:0x00007fb1108f9198 ...>, @command=SystemCommand, @built_in_caveats={}, @custom_caveats=["If the app will not launch after installation, try\n\n  brew cask zap amazon-music\n  brew cask install amazon-music\n\nthen re-launch the app.\n"]>, @language=nil>>, @directives={:quit=>["com.amazon.music", "com.amazon.music-renderer"], :delete=>"/Applications/Amazon Music.app", :launchctl=>["com.amazon.music", "com.amazon.music.startup"], :signal=>[]}>, #<Cask::Artifact::Installer:0x00007fb12990cd38 @cask=#<Cask::Cask:0x00007fb1108f9198 @token="amazon-music", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/amazon-music.rb>, @tap=#<Tap:0x00007fb1288275b8 @user="Homebrew", @repo="cask", @name="homebrew/cask", @full_name="Homebrew/homebrew-cask", @path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask>, @alias_table=nil, @alias_reverse_table=nil, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007fb1108f8f90@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/amazon-music.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/amazon-music>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/amazon-music/.metadata>, @config=#<Cask::Config:0x00007fb1299079f0 @explicit={}>, @dsl=#<Cask::DSL:0x00007fb1299075b8 @cask=#<Cask::Cask:0x00007fb1108f9198 ...>, @token="amazon-music", @version="7.9.0,20191210:0817399808", @sha256="bbb89096aac3245ef08c59ef277611f137da4a5137f33cb528d9e56058deebd8", @url=#<URL:0x00007fb129906898 @uri=#<URI::HTTPS https://images-na.ssl-images-amazon.com/images/G/01/digital/music/morpho/installers/20191210/0817399808/AmazonMusicInstaller.dmg>, @user_agent=:default, @specs={}>, @appcast=#<Cask::DSL::Appcast:0x00007fb12990e688 @uri=#<URI::HTTPS https://www.amazon.com/gp/dmusic/desktop/downloadPlayer>, @parameters={:configuration=>"20191210/0817399808"}, @configuration="20191210/0817399808">, @name=["Amazon Music"], @homepage="https://www.amazon.com/musicapps", @auto_updates=true, @artifacts=#<SortedSet: {...}>, @caveats=#<Cask::DSL::Caveats:0x00007fb129917760 @cask=#<Cask::Cask:0x00007fb1108f9198 ...>, @command=SystemCommand, @built_in_caveats={}, @custom_caveats=["If the app will not launch after installation, try\n\n  brew cask zap amazon-music\n  brew cask install amazon-music\n\nthen re-launch the app.\n"]>, @language=nil>>, @args={:must_succeed=>true, :sudo=>false, :print_stdout=>true}, @path=#<Pathname:Amazon Music Installer.app/Contents/MacOS/installbuilder.sh>>, #<Cask::Artifact::Zap:0x00007fb129917aa8 @cask=#<Cask::Cask:0x00007fb1108f9198 @token="amazon-music", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/amazon-music.rb>, @tap=#<Tap:0x00007fb1288275b8 @user="Homebrew", @repo="cask", @name="homebrew/cask", @full_name="Homebrew/homebrew-cask", @path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask>, @alias_table=nil, @alias_reverse_table=nil, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007fb1108f8f90@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/amazon-music.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/amazon-music>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/amazon-music/.metadata>, @config=#<Cask::Config:0x00007fb1299079f0 @explicit={}>, @dsl=#<Cask::DSL:0x00007fb1299075b8 @cask=#<Cask::Cask:0x00007fb1108f9198 ...>, @token="amazon-music", @version="7.9.0,20191210:0817399808", @sha256="bbb89096aac3245ef08c59ef277611f137da4a5137f33cb528d9e56058deebd8", @url=#<URL:0x00007fb129906898 @uri=#<URI::HTTPS https://images-na.ssl-images-amazon.com/images/G/01/digital/music/morpho/installers/20191210/0817399808/AmazonMusicInstaller.dmg>, @user_agent=:default, @specs={}>, @appcast=#<Cask::DSL::Appcast:0x00007fb12990e688 @uri=#<URI::HTTPS https://www.amazon.com/gp/dmusic/desktop/downloadPlayer>, @parameters={:configuration=>"20191210/0817399808"}, @configuration="20191210/0817399808">, @name=["Amazon Music"], @homepage="https://www.amazon.com/musicapps", @auto_updates=true, @artifacts=#<SortedSet: {...}>, @caveats=#<Cask::DSL::Caveats:0x00007fb129917760 @cask=#<Cask::Cask:0x00007fb1108f9198 ...>, @command=SystemCommand, @built_in_caveats={}, @custom_caveats=["If the app will not launch after installation, try\n\n  brew cask zap amazon-music\n  brew cask install amazon-music\n\nthen re-launch the app.\n"]>, @language=nil>>, @directives={:trash=>["~/Library/Preferences/com.amazon.music.plist", "~/Library/Application Support/Amazon Music"], :signal=>[]}>}>
==> Installing artifact of class Cask::Artifact::Installer
==> Running installer script 'Amazon Music Installer.app/Contents/MacOS/installbuilder.sh'
/usr/bin/env PATH=/usr/local/bin:/usr/local/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm:/usr/bin:/bin:/usr/sbin:/sbin /usr/local/Caskroom/amazon-music/7.9.0,20191210:0817399808/Amazon\ Music\ Installer.app/Contents/MacOS/installbuilder.sh
2019-12-23 19:06:38.623 osx-x86_64[36524:703386] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'ClientCallsAuxiliary': Connection interrupted
2019-12-23 19:06:48.709 osx-x86_64[36524:703440] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'HostCallsAuxiliary': Connection interrupted
Error: Failure while executing; `/usr/bin/env PATH=/usr/local/bin:/usr/local/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm:/usr/bin:/bin:/usr/sbin:/sbin /usr/local/Caskroom/amazon-music/7.9.0,20191210:0817399808/Amazon\ Music\ Installer.app/Contents/MacOS/installbuilder.sh` exited with 1. Here's the output:
Error running launchctl remove com.amazon.music : child process exited abnormally
Error running launchctl remove com.amazon.cloud-player : child process exited abnormally
2019-12-23 19:06:38.623 osx-x86_64[36524:703386] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'ClientCallsAuxiliary': Connection interrupted
2019-12-23 19:06:48.709 osx-x86_64[36524:703440] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'HostCallsAuxiliary': Connection interrupted
Error changing permissions to 040755 in /Applications/Amazon Music.app
Abort
There has been an error.
Unable to set permissions
Follow the instructions here:
  https://github.com/Homebrew/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/system_command.rb:176:in `assert_success!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:53:in `run!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:29:in `run'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:33:in `run!'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/installer.rb:32:in `install_phase'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:218:in `block in install_artifacts'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:777:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:777:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:209:in `install_artifacts'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:101:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:22:in `block in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:16:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:16:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/abstract_command.rb:36:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:92:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:158:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:123:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:102:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:167:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:167:in `rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:146:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:123:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:102:in `<main>'
Error running launchctl remove com.amazon.music : child process exited abnormally
Error running launchctl remove com.amazon.cloud-player : child process exited abnormally
Error changing permissions to 040755 in /Applications/Amazon Music.app
Abort
There has been an error.
Unable to set permissions
==> Purging files for version 7.9.0,20191210:0817399808 of Cask amazon-music

Output of brew cask doctor

==> Homebrew Version
2.2.2
==> macOS
10.15.2
==> SIP
Unknown (custom configuration)

configuration:
apple internal: disabled
kext signing: enabled
filesystem protections: disabled
debugging restrictions: disabled
dtrace restrictions: enabled
nvram protections: enabled
basesystem verification: enabled
==> Java
1.8.0_60
==> xattr issues
<NONE>
==> Gatekeeper support
Enabled
==> Homebrew Cask Install Location
<NONE>
==> Homebrew Cask Staging Location
/usr/local/Caskroom
==> Homebrew Cask Taps:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask (3493 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-drivers (138 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-macho-2.2.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-rspec-1.37.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-performance-1.5.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-0.78.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unicode-display_width-1.6.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-wait-0.0.9/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-retry-0.6.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-its-1.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-mocks-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-expectations-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-core-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-support-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ronn-0.7.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rdiscount-2.2.0.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/rdiscount-2.2.0.1
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rainbow-3.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/plist-3.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parser-2.6.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel_tests-2.30.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel-1.19.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mustache-1.1.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mechanize-2.7.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/webrobots-0.1.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ntlm-http-0.1.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/nokogiri-1.10.7/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/nokogiri-1.10.7
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mini_portile2-2.4.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/net-http-persistent-3.1.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/net-http-digest_auth-1.4.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mime-types-3.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mime-types-data-3.2019.1009/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/jaro_winkler-1.5.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/jaro_winkler-1.5.4
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/http-cookie-1.0.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/hpricot-0.8.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/hpricot-0.8.6
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/domain_name-0.5.20190701/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unf-0.1.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unf_ext-0.0.7.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/unf_ext-0.0.7.6
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/diff-lcs-1.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/coveralls-0.8.23/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thor-1.0.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/term-ansicolor-1.7.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tins-1.22.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-0.16.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-html-0.10.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/docile-1.3.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/json-2.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/json-2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/connection_pool-2.2.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ast-2.4.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/activesupport-6.0.2.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/zeitwerk-2.2.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tzinfo-1.2.5/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thread_safe-0.3.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/minitest-5.13.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/i18n-1.7.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib
/Library/Ruby/Site/2.6.0
/Library/Ruby/Site/2.6.0/x86_64-darwin19
/Library/Ruby/Site/2.6.0/universal-darwin19
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0/x86_64-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0/universal-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/x86_64-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19
/usr/local/Homebrew/Library/Homebrew
==> Environment Variables
LC_ALL="en_US.UTF-8"
PATH="/usr/local/Homebrew/Library/Homebrew/shims/scm:/usr/bin:/bin:/usr/sbin:/sbin"
SHELL="/bin/bash"

Output of brew tap

alexreg/utilities
brewsci/bio
eblot/armeabi
homebrew/cask
homebrew/cask-drivers
homebrew/core
homebrew/services
sbdchd/skim
teamookla/speedtest

created time in 2 months

startedManishearth/mitosis

started time in 2 months

issue commentmeganz/MEGAcmd

View and change permissions of files/folders?

Yes, I am.

alexreg

comment created time in 2 months

startedLeonHartley/Coerce-rs

started time in 2 months

startedrust-num/num-bigint

started time in 2 months

issue commentrust-lang/rust

Parse and accept type equality constraints in where clauses

I don't think the Chalk integration that would be required for this is that far off (we're talking months more than years, if I'm not mistaken)... but yes, the current pace is not great. Would be great to get an update from the Chalk folks, but understandably they're quite busy.

jroesch

comment created time in 2 months

issue openedmeganz/MEGAcmd

View and change permissions of files/folders?

I've looked for commands to view and modify the permissions of files/folders in the cloud, but it doesn't seem they exist. Am I missing something, or are you working on this still?

Also, it seems I can export a link to a file from the website, but when I do it via mega-export I get the error Failed to export node: Access denied. I thought this might be due to permissions, hence related to the above, but perhaps not, if I can do it fine in the browser?

created time in 2 months

startedmeganz/MEGAcmd

started time in 2 months

pull request commentrust-lang/rust

Trait upcasting

@Dylan-DPC We're probably going to split this into (at least) two PRs, but since I couldn't see how that could easily be done, I'm waiting on feedback on that, probably from Niko.

alexreg

comment created time in 2 months

Pull request review commentrust-lang/rust

Trait upcasting

 impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {                 // with what our behavior should be there. -nikomatsakis                 let InferOk { obligations, .. } = self.infcx                     .at(&obligation.cause, obligation.param_env)-                    .eq(target, source_trait) // FIXME -- see below+                    .eq(target, source_ty) // FIXME -- see above                     .map_err(|_| Unimplemented)?;                 nested.extend(obligations);+                */ -                // Register one obligation for 'a: 'b.-                let cause = ObligationCause::new(-                    obligation.cause.span,-                    obligation.cause.body_id,-                    ObjectCastObligation(target),+                // Register obligations for `dyn TraitA1 [TraitA2...]: TraitB1 [TraitB2...]`.

I'm pretty sure it's not a matter of the name of the trait, but I could be wrong.

alexreg

comment created time in 2 months

issue commentrust-lang/compiler-team

Modifications to rustc for the Rust REPL

@mark-i-m The meeting minutes summarise the current state of things insofar as design, though there have been some further discussions on Zulip (topics beginning with REPL: under the #t-compiler stream). Over the coming weeks I'll be reworking my prototype to conform fully with the design doc and what was discussed (also further conclusions that were reached or are still being discussed on Zulp). Maybe I can create a topic where I can post announcements about this, e.g., new PRs and whatnot.

alexreg

comment created time in 3 months

pull request commentrust-lang/compiler-team

REPL meeting minutes.

Thanks a lot, @pnkfelix. This summarises everything nicely, I feel.

pnkfelix

comment created time in 3 months

issue commentrust-lang/rust

Tracking issue for `?` operator and `try` blocks (RFC 243, `question_mark` & `try_blocks` features)

Why? Anyone, when it does stabilise (hypothetically not too long), it will be very much possible.

nikomatsakis

comment created time in 3 months

startedsamtools/samtools

started time in 3 months

startedsamtools/bcftools

started time in 3 months

issue commentrust-lang/rust

Tracking issue for `?` operator and `try` blocks (RFC 243, `question_mark` & `try_blocks` features)

Further to @CreepySkeleton's comment, it should be noted that it is very easy to create a macro that emulates Ok-wrapping if the try block does not do it (and someone will surely create a standard crate for this tiny macro), but the converse is not so.

nikomatsakis

comment created time in 3 months

Pull request review commentrust-lang/rust

Solution to trait alias bug #65673

 impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {             err.emit();         } +        let (mut auto_traits, regular_traits): (Vec<_>, Vec<_>) =

Yep, this fn was already very big, and that’s just gotten worse now. I’ll see what I can do.

alexreg

comment created time in 3 months

Pull request review commentrust-lang/rust

Solution to trait alias bug #65673

 impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {         // Expand trait aliases recursively and check that only one regular (non-auto) trait         // is used and no 'maybe' bounds are used.         let expanded_traits =-            traits::expand_trait_aliases(tcx, bounds.trait_bounds.iter().cloned());-        let (mut auto_traits, regular_traits): (Vec<_>, Vec<_>) =+            traits::expand_trait_aliases(tcx, bounds.trait_bounds.iter().cloned())+                // Ensure that trait ref is to self type and not some type param.

As for object safety, I guess we need to modify that code explicitly? Given such predicates on T definitely cannot be included in the trait object itself (they're simply not existential).

alexreg

comment created time in 3 months

Pull request review commentrust-lang/rust

Solution to trait alias bug #65673

 impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {         // Expand trait aliases recursively and check that only one regular (non-auto) trait         // is used and no 'maybe' bounds are used.         let expanded_traits =-            traits::expand_trait_aliases(tcx, bounds.trait_bounds.iter().cloned());-        let (mut auto_traits, regular_traits): (Vec<_>, Vec<_>) =+            traits::expand_trait_aliases(tcx, bounds.trait_bounds.iter().cloned())+                // Ensure that trait ref is to self type and not some type param.

trait Foo = where Self: Display; should (and I think is) equivalent to trait Foo = Display; in most circumstances, except as a trait object. Since technically no principal trait is specified, the compiler will complain. Perhaps we should do that, but perhaps we should instead check that there's at least one predicate instead of trait?

alexreg

comment created time in 3 months

Pull request review commentrust-lang/rust

Solution to trait alias bug #65673

 impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {         // Expand trait aliases recursively and check that only one regular (non-auto) trait         // is used and no 'maybe' bounds are used.         let expanded_traits =-            traits::expand_trait_aliases(tcx, bounds.trait_bounds.iter().cloned());-        let (mut auto_traits, regular_traits): (Vec<_>, Vec<_>) =+            traits::expand_trait_aliases(tcx, bounds.trait_bounds.iter().cloned())+                // Ensure that trait ref is to self type and not some type param.

The key thing is to avoid trying to create existential predicates for predicates where the self ty is not the dummy self ty, which is of course impossible. This filter might be blocking out too much (projections on Self too?), but all the tests seem to be working anyway...

The relevant test is issue-65673.rs, I believe (pre-existing, slightly modified).

alexreg

comment created time in 3 months

Pull request review commentrust-lang/rust

Trait upcasting

 impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {                         operand.val                     }                     mir::CastKind::Pointer(PointerCast::Unsize) => {-                        assert!(bx.cx().is_backend_scalar_pair(cast));-                        match operand.val {-                            OperandValue::Pair(lldata, llextra) => {-                                // unsize from a fat pointer -- this is a-                                // "trait-object-to-supertrait" coercion, for-                                // example, `&'a fmt::Debug + Send => &'a fmt::Debug`.--                                // HACK(eddyb) have to bitcast pointers-                                // until LLVM removes pointee types.-                                let lldata = bx.pointercast(lldata,-                                    bx.cx().scalar_pair_element_backend_type(cast, 0, true));-                                OperandValue::Pair(lldata, llextra)-                            }-                            OperandValue::Immediate(lldata) => {-                                // "standard" unsize-                                let (lldata, llextra) = base::unsize_thin_ptr(&mut bx, lldata,-                                    operand.layout.ty, cast.ty);-                                OperandValue::Pair(lldata, llextra)-                            }-                            OperandValue::Ref(..) => {-                                bug!("by-ref operand {:?} in `codegen_rvalue_operand`",-                                     operand);-                            }-                        }+                        base::coerce_ptr_unsized(&mut bx, operand, cast)

@nikomatsakis Fair enough, but this one is very much intertwined with functional enhancements to support trait upcasting. Do you have another refactoring in mind here?

alexreg

comment created time in 3 months

Pull request review commentrust-lang/rust

Solution to trait alias bug #65673

 impl<'tcx> TraitAliasExpander<'tcx> {         debug!("expand_trait_aliases: trait_ref={:?}", trait_ref);          // Don't recurse if this bound is not a trait alias.-        let is_alias = tcx.is_trait_alias(trait_ref.def_id());-        if !is_alias {+        if !tcx.is_trait_alias(trait_ref.def_id()) {

Yeah, I can remove this change if you like. I think I just forgot. Makes sense to inline this, but it's not important.

alexreg

comment created time in 3 months

Pull request review commentrust-lang/rust

Solution to trait alias bug #65673

 impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {             err.emit();         } +        let (mut auto_traits, regular_traits): (Vec<_>, Vec<_>) =+            bounds.trait_bounds+                .into_iter()+                .map(|(trait_ref, _)| trait_ref)+                .partition(|i| tcx.trait_is_auto(i.def_id()));+         // De-duplicate auto traits so that, e.g., `dyn Trait + Send + Send` is the same as         // `dyn Trait + Send`.-        auto_traits.sort_by_key(|i| i.trait_ref().def_id());-        auto_traits.dedup_by_key(|i| i.trait_ref().def_id());-        debug!("regular_traits: {:?}", regular_traits);-        debug!("auto_traits: {:?}", auto_traits);+        auto_traits.sort_by_key(|i| i.def_id());+        auto_traits.dedup_by_key(|i| i.def_id());+        debug!(+            "conv_object_ty_poly_trait_ref: regular_traits={:?} auto_traits={:?}",+            regular_traits, auto_traits+        );          // Transform a `PolyTraitRef` into a `PolyExistentialTraitRef` by         // removing the dummy `Self` type (`trait_object_dummy_self`).         let trait_ref_to_existential = |trait_ref: ty::TraitRef<'tcx>| {             if trait_ref.self_ty() != dummy_self {-                // FIXME: There appears to be a missing filter on top of `expand_trait_aliases`,-                // which picks up non-supertraits where clauses - but also, the object safety-                // completely ignores trait aliases, which could be object safety hazards. We-                // `delay_span_bug` here to avoid an ICE in stable even when the feature is-                // disabled. (#66420)-                tcx.sess.delay_span_bug(DUMMY_SP, &format!(-                    "trait_ref_to_existential called on {:?} with non-dummy Self",-                    trait_ref,-                ));+                bug!("trait_ref_to_existential called on {:?} with non-dummy Self", trait_ref);             }             ty::ExistentialTraitRef::erase_self_ty(tcx, trait_ref)         };          // Erase the `dummy_self` (`trait_object_dummy_self`) used above.-        let existential_trait_refs = regular_traits.iter().map(|i| {-            i.trait_ref().map_bound(|trait_ref| trait_ref_to_existential(trait_ref))-        });-        let existential_projections = bounds.projection_bounds.iter().map(|(bound, _)| {-            bound.map_bound(|b| {-                let trait_ref = trait_ref_to_existential(b.projection_ty.trait_ref(tcx));-                ty::ExistentialProjection {-                    ty: b.ty,-                    item_def_id: b.projection_ty.item_def_id,-                    substs: trait_ref.substs,-                }-            })-        });+        let existential_trait_refs = regular_traits+            .iter()+            .map(|i| i.map_bound(|trait_ref| trait_ref_to_existential(trait_ref)));+        let existential_projections = bounds.projection_bounds+            .iter()+            .map(|(bound, _)| {+                bound.map_bound(|b| {+                    let trait_ref = trait_ref_to_existential(b.projection_ty.trait_ref(tcx));+                    ty::ExistentialProjection {+                        ty: b.ty,+                        item_def_id: b.projection_ty.item_def_id,+                        substs: trait_ref.substs,+                    }+                })+            });          // Calling `skip_binder` is okay because the predicates are re-bound.-        let regular_trait_predicates = existential_trait_refs.map(-            |trait_ref| ty::ExistentialPredicate::Trait(*trait_ref.skip_binder()));-        let auto_trait_predicates = auto_traits.into_iter().map(-            |trait_ref| ty::ExistentialPredicate::AutoTrait(trait_ref.trait_ref().def_id()));+        let regular_trait_predicates = existential_trait_refs+            .map(|trait_ref| ty::ExistentialPredicate::Trait(*trait_ref.skip_binder()));+        let auto_trait_predicates = auto_traits+            .into_iter()+            .map(|trait_ref| ty::ExistentialPredicate::AutoTrait(trait_ref.def_id()));

Correct, just made it more readable since I was editing this fn anyway.

alexreg

comment created time in 3 months

more