Skip to content

Duplicate Errors #451

Closed
Closed
@reem

Description

@reem

Often when I build projects with many dependencies using cargo, I end up with stuff like:

       Fresh phantom v0.0.0 (https://github.com/reem/rust-phantom.git#deb5acfe)
       Fresh encoding v0.1.0 (https://github.com/lifthrasiir/rust-encoding#7e7950dd)
       Fresh error v0.0.0 (https://github.com/reem/rust-error.git#95c6524e)
       Fresh openssl v0.0.0 (https://github.com/sfackler/rust-openssl.git#07f12370)
       Fresh url v0.1.0 (https://github.com/servo/rust-url#23fb9ec2)
       Fresh typemap v0.0.0 (https://github.com/reem/rust-typemap.git#29b2a4c5)
       Fresh http v0.1.0-pre (https://github.com/chris-morgan/rust-http.git#b7f2fe74)
       Fresh plugin v0.0.0 (https://github.com/reem/rust-plugin.git#3f2a70b1)
       Fresh content-type v0.1.0 (https://github.com/reem/rust-http-content-type.git#3a1eb53f)
       Fresh iron v0.0.1 (https://github.com/iron/iron.git#d41fff63)
   Compiling persistent v0.1.0 (file:///Users/Jonathan/hackreactor/iron-middleware/persistent)
src/lib.rs:75:9: 75:59 error: expected typemap::Assoc<alloc::arc::Arc<sync::lock::Mutex<D>>>, but found typemap::Assoc<alloc::arc::Arc<D>> (expected struct sync::lock::Mutex but found type parameter) [E0095]
src/lib.rs:75         req.extensions.find::<Read<P, D>, Arc<Mutex<D>>>()
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lib.rs:75:9: 75:59 error: expected typemap::Assoc<alloc::arc::Arc<sync::lock::Mutex<D>>>, but found typemap::Assoc<alloc::arc::Arc<D>> (expected struct sync::lock::Mutex but found type parameter) [E0095]
src/lib.rs:75         req.extensions.find::<Read<P, D>, Arc<Mutex<D>>>()
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lib.rs:75:9: 75:59 error: expected typemap::Assoc<alloc::arc::Arc<sync::lock::Mutex<D>>>, but found typemap::Assoc<alloc::arc::Arc<D>> (expected struct sync::lock::Mutex but found type parameter) [E0095]
src/lib.rs:75         req.extensions.find::<Read<P, D>, Arc<Mutex<D>>>()
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lib.rs:75:9: 75:59 error: expected typemap::Assoc<alloc::arc::Arc<sync::lock::Mutex<D>>>, but found typemap::Assoc<alloc::arc::Arc<D>> (expected struct sync::lock::Mutex but found type parameter) [E0095]

Where an error is displayed many times. This is weird.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions