Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Cargo fails to compile
@ 2021-02-01  0:47 RossComputerGuy
  2021-02-01  1:04 ` ericonr
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: RossComputerGuy @ 2021-02-01  0:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1328 bytes --]

New issue by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/28372

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  `Void 5.10.10_1 x86_64 AuthenticAMD uptodate rrrrmmnFFFFF`
* package:  
  *affected package(s) including the version*: cargo-0.49.0_1

### Expected behavior
Cargo should be packages

### Actual behavior
```
error[E0283]: type annotations needed
   --> src/cargo/util/config/de.rs:530:63
    |
530 |                 seed.deserialize(Tuple2Deserializer(1i32, env.as_ref()))
    |                                                               ^^^^^^ cannot infer type for struct `std::string::String`
    |
    = note: cannot satisfy `std::string::String: AsRef<_>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0283`.
error: could not compile `cargo`

To learn more, run the command again with --verbose.
=> ERROR: cargo-0.49.0_1: do_build: './cargo build --release ${cargs}' exited with 101
=> ERROR:   in do_build() at srcpkgs/cargo/template:10
```

### Steps to reproduce the behavior
`./xbps-src pkg cargo`


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Cargo fails to compile
  2021-02-01  0:47 [ISSUE] Cargo fails to compile RossComputerGuy
@ 2021-02-01  1:04 ` ericonr
  2021-02-01  1:05 ` RossComputerGuy
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-02-01  1:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 159 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/28372#issuecomment-770494898

Comment:
Could reproduce.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Cargo fails to compile
  2021-02-01  0:47 [ISSUE] Cargo fails to compile RossComputerGuy
  2021-02-01  1:04 ` ericonr
@ 2021-02-01  1:05 ` RossComputerGuy
  2021-02-01  1:47 ` RossComputerGuy
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: RossComputerGuy @ 2021-02-01  1:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/28372#issuecomment-770495157

Comment:
I've found a promising looking patch - https://github.com/alexcrichton/cargo/commit/f097d02ea62111493b9f06d096a94dfddd020415

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Cargo fails to compile
  2021-02-01  0:47 [ISSUE] Cargo fails to compile RossComputerGuy
  2021-02-01  1:04 ` ericonr
  2021-02-01  1:05 ` RossComputerGuy
@ 2021-02-01  1:47 ` RossComputerGuy
  2021-02-01  4:13 ` RossComputerGuy
  2021-02-01  4:13 ` [ISSUE] [CLOSED] " RossComputerGuy
  4 siblings, 0 replies; 6+ messages in thread
From: RossComputerGuy @ 2021-02-01  1:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/28372#issuecomment-770510127

Comment:
I tested the patch myself and it works. I'll submit a PR with this patch.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Cargo fails to compile
  2021-02-01  0:47 [ISSUE] Cargo fails to compile RossComputerGuy
                   ` (2 preceding siblings ...)
  2021-02-01  1:47 ` RossComputerGuy
@ 2021-02-01  4:13 ` RossComputerGuy
  2021-02-01  4:13 ` [ISSUE] [CLOSED] " RossComputerGuy
  4 siblings, 0 replies; 6+ messages in thread
From: RossComputerGuy @ 2021-02-01  4:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 211 bytes --]

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/28372#issuecomment-770550933

Comment:
https://github.com/void-linux/void-packages/pull/28373 fixed

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ISSUE] [CLOSED] Cargo fails to compile
  2021-02-01  0:47 [ISSUE] Cargo fails to compile RossComputerGuy
                   ` (3 preceding siblings ...)
  2021-02-01  4:13 ` RossComputerGuy
@ 2021-02-01  4:13 ` RossComputerGuy
  4 siblings, 0 replies; 6+ messages in thread
From: RossComputerGuy @ 2021-02-01  4:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1331 bytes --]

Closed issue by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/28372

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  `Void 5.10.10_1 x86_64 AuthenticAMD uptodate rrrrmmnFFFFF`
* package:  
  *affected package(s) including the version*: cargo-0.49.0_1

### Expected behavior
Cargo should be packages

### Actual behavior
```
error[E0283]: type annotations needed
   --> src/cargo/util/config/de.rs:530:63
    |
530 |                 seed.deserialize(Tuple2Deserializer(1i32, env.as_ref()))
    |                                                               ^^^^^^ cannot infer type for struct `std::string::String`
    |
    = note: cannot satisfy `std::string::String: AsRef<_>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0283`.
error: could not compile `cargo`

To learn more, run the command again with --verbose.
=> ERROR: cargo-0.49.0_1: do_build: './cargo build --release ${cargs}' exited with 101
=> ERROR:   in do_build() at srcpkgs/cargo/template:10
```

### Steps to reproduce the behavior
`./xbps-src pkg cargo`


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-02-01  4:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-01  0:47 [ISSUE] Cargo fails to compile RossComputerGuy
2021-02-01  1:04 ` ericonr
2021-02-01  1:05 ` RossComputerGuy
2021-02-01  1:47 ` RossComputerGuy
2021-02-01  4:13 ` RossComputerGuy
2021-02-01  4:13 ` [ISSUE] [CLOSED] " RossComputerGuy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).