Skip to content

Regression in aligner-0.1.3, Rust 1.17 #40952

Closed
@brson

Description

@brson

https://github.com/kaegi/aligner

ec2-user@ip-10-145-56-122:~/triage/aligner$ git log -1
commit 89a5e6e62f54fcfe7a9a26d1a969f11c7de11399
Author: kaegi <[email protected]>
Date:   Sun Mar 12 22:43:07 2017 +0100

    Bump version to 0.1.4
ec2-user@ip-10-145-56-122:~/triage/aligner$ rustc +beta -Vv
rustc 1.17.0-beta.2 (b7c276653 2017-03-20)
binary: rustc
commit-hash: b7c27665307704a9b158fe242e88e83914029415
commit-date: 2017-03-20
host: x86_64-unknown-linux-gnu
release: 1.17.0-beta.2
LLVM version: 3.9
101 ec2-user@ip-10-145-56-122:~/triage/aligner$ cargo +beta test
   Compiling ascii v0.7.1
   Compiling cfg-if v0.1.0
   Compiling odds v0.2.25
   Compiling rustc-demangle v0.1.4
   Compiling unicode-segmentation v1.1.0
   Compiling bitflags v0.8.0
   Compiling vec_map v0.7.0
   Compiling ansi_term v0.9.0
   Compiling winapi-build v0.1.1
   Compiling nodrop v0.1.9
   Compiling combine v2.3.1
   Compiling strsim v0.6.0
   Compiling arrayvec v0.3.20
   Compiling unicode-width v0.1.4
   Compiling gcc v0.3.43
   Compiling libc v0.2.21
   Compiling dbghelp-sys v0.2.0
   Compiling backtrace v0.3.0
   Compiling winapi v0.2.8
   Compiling atty v0.2.2
   Compiling term_size v0.2.3
   Compiling rand v0.3.15
   Compiling time v0.1.36
   Compiling clap v2.21.1
   Compiling backtrace-sys v0.1.10
   Compiling kernel32-sys v0.2.2
   Compiling pbr v1.0.0-alpha.2
error[E0283]: type annotations required: cannot resolve `std::string::String: std::convert::AsRef<_>`
   --> /home/ec2-user/.cargo/registry/src/github.com-1ecc6299db9ec823/pbr-1.0.0-alpha.2/src/pb.rs:378:64
    |
378 |                         base = base + repeat!(self.bar_current.as_ref(), curr_count - 1) +
    |                                       -------------------------^^^^^^------------------- in this macro invocation

error: aborting due to previous error

error: Could not compile `pbr`.
Build failed, waiting for other jobs to finish...
error: build failed

cc @kaegi

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions