pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Rust problem i386
On 18/03/2020 11:07, Mike Pumford wrote:
On 18/03/2020 07:49, Havard Eidnes wrote:
I think this is a follow-on consequence of me mistakenly first
uploading a bootstrap built on 9.0, and the file name staying the
same when I re-uploaded a bootstrap built on 8.1, and "cached
copies" of the old bootstrap creating this situation when rust
itself was last updated.
Ah that would do it :(. Kicked off some new builds will report back on
results.
Well I get past the download failure now but I'm seeing this on 8.1/i386:
running: /comp/obj/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build
--manifest-path
/comp/obj/pkgsrc/lang/rust/work/rustc-1.42.0-src/src/bootstrap/Cargo.toml
--frozen
Compiling bootstrap v0.0.0
(/comp/obj/pkgsrc/lang/rust/work/rustc-1.42.0-src/src/bootstrap)
error[E0599]: no method named `map_or` found for type
`std::result::Result<std::string::String, std::env::VarError>` in the
current scope
--> src/bootstrap/util.rs:231:33
|
231 | if env::var("TF_BUILD").map_or(false, |e| e == "True") {
| ^^^^^^ help: there is a method
with a similar name: `map_err`
error[E0599]: no method named `map_or` found for type
`std::result::Result<std::string::String, std::env::VarError>` in the
current scope
--> src/bootstrap/util.rs:233:46
|
233 | } else if env::var("GITHUB_ACTIONS").map_or(false, |e| e
== "true") {
| ^^^^^^ help: there
is a method with a similar name: `map_err`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0599`.
error: could not compile `bootstrap`.
I've got a full build log so if more info is needed I can provide it.
Mike
Home |
Main Index |
Thread Index |
Old Index