Skip to content

ring v0.13.2 build failing #700

@psivesely

Description

@psivesely

Error below is from my personal amd64 linux machine using the latest stable Rust. See also https://travis-ci.org/SpinResearch/RustySecrets/jobs/427165803.

   Compiling ring v0.13.2
     Running `rustc --crate-name build_script_build /home/noah/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.13.2/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="dev_urandom_fallback"' --cfg 'feature="use_heap"' -C metadata=6f90f0816d845991 -C extra-filename=-6f90f0816d845991 --out-dir /home/noah/src/SpinResearch/RustySecrets/target/debug/build/ring-6f90f0816d845991 -L dependency=/home/noah/src/SpinResearch/RustySecrets/target/debug/deps --extern cc=/home/noah/src/SpinResearch/RustySecrets/target/debug/deps/libcc-4d7e5b622d552dd0.rlib --cap-lints allow`
error: non-reference pattern used to match a reference (see issue #42640)
   --> /home/noah/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.13.2/build.rs:375:9
    |
375 |     let (_, _, perlasm_format) = ASM_TARGETS.iter().find(|entry| {
    |         ^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&(_, _, perlasm_format)`

error: non-reference pattern used to match a reference (see issue #42640)
   --> /home/noah/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.13.2/build.rs:674:9
    |
674 |     for (src, dst) in src_dst {
    |         ^^^^^^^^^^ help: consider using a reference: `&(src, dst)`

error: non-reference pattern used to match a reference (see issue #42640)
   --> /home/noah/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.13.2/build.rs:737:35
    |
737 |             RING_SRCS.iter().any(|(_, f)| cmp(f)) ||
    |                                   ^^^^^^ help: consider using a reference: `&(_, f)`

error: non-reference pattern used to match a reference (see issue #42640)
   --> /home/noah/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.13.2/build.rs:741:35
    |
741 |             RING_SRCS.iter().any(|(_, f)| cmp(f)) ||
    |                                   ^^^^^^ help: consider using a reference: `&(_, f)`

error: aborting due to 4 previous errors

error: Could not compile `ring`.

Caused by:
  process didn't exit successfully: `rustc --crate-name build_script_build /home/noah/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.13.2/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg feature="default" --cfg feature="dev_urandom_fallback" --cfg feature="use_heap" -C metadata=6f90f0816d845991 -C extra-filename=-6f90f0816d845991 --out-dir /home/noah/src/SpinResearch/RustySecrets/target/debug/build/ring-6f90f0816d845991 -L dependency=/home/noah/src/SpinResearch/RustySecrets/target/debug/deps --extern cc=/home/noah/src/SpinResearch/RustySecrets/target/debug/deps/libcc-4d7e5b622d552dd0.rlib --cap-lints allow` (exit code: 101)

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