Skip to content

Can't upgrade hyper, "cookie" depends on itself #6765

Closed

Description

@pcwalton

mach cargo-update -p hyper fails because cookie depends on itself.

I guess it's because of the secure Cargo feature that we're using cookie with.

Activity

  1. pcwalton commented on Jul 25, 2015

    @pcwalton
    ContributorAuthor

    cc @alexcrichton -- this may well be a Cargo bug.

  2. pcwalton commented on Jul 25, 2015

    @pcwalton
    ContributorAuthor

    This blocks e10s, incidentally.

  3. pcwalton commented on Jul 25, 2015

    @pcwalton
    ContributorAuthor

    Here's the complete tree of dependencies starting at cookie.

    cookie
        openssl
            bitflags
            lazy_static
            libc
            openssl-sys
                gcc
                libc
                libressl-pnacl-sys
                    pnacl-build-helper
                        tempdir
                            rand
                                libc
                pkg-config
        rustc-serialize
        time
            gcc
            libc
        url
            encoding
                encoding-index-japanese
                encoding-index-korean
                encoding-index-simpchinese
                encoding-index-singlebyte
                encoding-index-tradchinese
            matches
            rustc-serialize
            serde
                num
                    rand
                        ...
                    rustc-serialize
    

    No cyclic dependencies. Seems like a Cargo bug of some kind.

  4. frewsxcv commented on Jul 26, 2015

    @frewsxcv
    Contributor

    Should a bug be opened in rust-lang/cargo to track this?

  5. pcwalton commented on Jul 27, 2015

    @pcwalton
    ContributorAuthor

    I worked around this by updating all dependencies at once and then manually trimming down Cargo.lock.

  6. alexcrichton commented on Jul 27, 2015

    @alexcrichton
    Contributor

    I tried to look into this over the weekend but didn't come up with much. I definitely think this is a Cargo bug though so I've opened rust-lang/cargo#1841

  7. frewsxcv commented on Jul 29, 2015

    @frewsxcv
    Contributor

    Update: rust-lang/cargo#1841 has been closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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