rust-lang / cargo

The Rust package manager
https://doc.rust-lang.org/cargo
Apache License 2.0
12.74k stars 2.42k forks source link

Cargo 1.30.0 segfaults with libgit2 0.26.8 #6365

Closed grahamc closed 5 years ago

grahamc commented 5 years ago

If I roll back to 0.26.6 it works fine.

If you have Nix, you can replicate by trying each of these versions: https://github.com/NixOS/ofborg/commit/befa1873cc02a050cc1cf597f95a3001c59382fd https://github.com/NixOS/ofborg/commit/8ea6d11fdf59caeec39edc030ee2834273363364: nix-shell in the project root, then rm -rf ~/.cargo; cd ofborg; cargo clean; cargo build.

Excerpt:

    Updating git repository `https://github.com/grahamc/rust-amqp.git`
TRACE 2018-12-01T18:35:19Z: cargo::sources::git::source: updating git source `GitRemote { url: "https://github.com/grahamc/rust-amqp.git" }`
DEBUG 2018-12-01T18:35:19Z: cargo::sources::git::utils: skipping gc as there's only 0 pack files
DEBUG 2018-12-01T18:35:19Z: cargo::sources::git::utils: doing a fetch for https://github.com/grahamc/rust-amqp.git
DEBUG 2018-12-01T18:35:19Z: cargo::sources::git::utils: initiating fetch of refs/heads/*:refs/heads/* from https://github.com/grahamc/rust-amqp.git
 INFO 2018-12-01T18:35:19Z: git2_curl: action upload-pack /info/refs?service=git-upload-pack
DEBUG 2018-12-01T18:35:19Z: git2_curl: request to https://github.com/grahamc/rust-amqp.git/info/refs?service=git-upload-pack
Segmentation fault
(click to expand for full trace) ``` [nix-shell:~/projects/ofborg/ofborg]$ RUST_LOG=trace cargo build TRACE 2018-12-01T18:35:19Z: cargo::util::toml: read_manifest; path=/home/grahamc/projects/ofborg/ofborg/Cargo.toml; source-id=/home/grahamc/projects/ofborg/ofborg DEBUG 2018-12-01T18:35:19Z: cargo::core::workspace: find_root - trying /home/grahamc/projects/ofborg/Cargo.toml DEBUG 2018-12-01T18:35:19Z: cargo::core::workspace: find_root - trying /home/grahamc/projects/Cargo.toml DEBUG 2018-12-01T18:35:19Z: cargo::core::workspace: find_root - trying /home/grahamc/Cargo.toml DEBUG 2018-12-01T18:35:19Z: cargo::core::workspace: find_root - trying /home/Cargo.toml DEBUG 2018-12-01T18:35:19Z: cargo::core::workspace: find_root - trying /Cargo.toml DEBUG 2018-12-01T18:35:19Z: cargo::core::workspace: find_members - only me as a member TRACE 2018-12-01T18:35:19Z: cargo::ops::resolve: previous: graph: Graph { - security-framework-sys v0.1.16 - core-foundation-sys v0.2.3 - libc v0.2.44 - hubcaps v0.3.16 (https://github.com/grahamc/hubcaps.git#4ed98f02) - frank_jwt v3.0.2 - serde v1.0.80 - serde_derive v1.0.80 - log v0.3.8 - hyper v0.10.15 - url v1.7.2 - serde_json v1.0.33 - error-chain v0.10.0 - sys-info v0.5.6 - cc v1.0.25 - libc v0.2.44 - antidote v1.0.0 - core-foundation v0.2.3 - libc v0.2.44 - core-foundation-sys v0.2.3 - kernel32-sys v0.2.2 - winapi v0.2.8 - winapi-build v0.1.1 - md5 v0.3.8 - unicase v1.4.2 - version_check v0.1.5 - idna v0.1.5 - matches v0.1.8 - unicode-bidi v0.3.4 - unicode-normalization v0.1.7 - unicode-normalization v0.1.7 - redox_syscall v0.1.43 - ofborg v0.1.8 (/home/grahamc/projects/ofborg/ofborg) - log v0.3.8 - either v1.5.0 - lru-cache v0.1.1 - hyper v0.10.15 - fs2 v0.4.3 - hubcaps v0.3.16 (https://github.com/grahamc/hubcaps.git#4ed98f02) - sys-info v0.5.6 - tempfile v2.2.0 - env_logger v0.4.3 - hyper-native-tls v0.2.4 - serde v1.0.80 - serde_derive v1.0.80 - amqp v0.1.0 (https://github.com/grahamc/rust-amqp.git#f9aec2f4) - nom v4.1.1 - md5 v0.3.8 - uuid v0.4.0 - serde_json v1.0.33 - typeable v0.1.2 - pkg-config v0.3.14 - language-tags v0.2.2 - quote v0.6.10 - proc-macro2 v0.4.24 - security-framework v0.1.16 - libc v0.2.44 - core-foundation-sys v0.2.3 - core-foundation v0.2.3 - security-framework-sys v0.1.16 - bit-vec v0.4.4 - serde v1.0.80 - bitflags v1.0.4 - rustc-demangle v0.1.9 - native-tls v0.1.5 - schannel v0.1.14 - lazy_static v0.2.11 - security-framework v0.1.16 - security-framework-sys v0.1.16 - openssl v0.9.24 - libc v0.2.44 - tempdir v0.3.7 - env_logger v0.3.5 - log v0.3.8 - regex v0.1.80 - nom v4.1.1 - memchr v2.1.1 - thread_local v0.2.7 - thread-id v2.0.0 - serde_json v1.0.33 - itoa v0.4.3 - serde v1.0.80 - ryu v0.2.7 - fuchsia-zircon v0.3.3 - fuchsia-zircon-sys v0.3.3 - bitflags v1.0.4 - itoa v0.4.3 - version_check v0.1.5 - utf8-ranges v1.0.2 - backtrace v0.3.9 - rustc-demangle v0.1.9 - winapi v0.3.6 - cfg-if v0.1.6 - libc v0.2.44 - backtrace-sys v0.1.24 - unicode-bidi v0.3.4 - matches v0.1.8 - backtrace-sys v0.1.24 - libc v0.2.44 - cc v1.0.25 - lru-cache v0.1.1 - linked-hash-map v0.4.2 - aho-corasick v0.6.9 - memchr v2.1.1 - frank_jwt v3.0.2 - serde_json v1.0.33 - openssl v0.9.24 - base64 v0.9.3 - serde v1.0.80 - ucd-util v0.1.3 - env_logger v0.4.3 - regex v0.2.11 - log v0.3.8 - lazy_static v0.2.11 - fuchsia-zircon-sys v0.3.3 - rand v0.3.22 - rand v0.4.3 - fuchsia-zircon v0.3.3 - libc v0.2.44 - base64 v0.9.3 - byteorder v1.2.7 - safemem v0.3.0 - linked-hash-map v0.4.2 - enum_primitive v0.1.1 - num-traits v0.1.43 - rand v0.4.3 - libc v0.2.44 - fuchsia-zircon v0.3.3 - winapi v0.3.6 - winapi-x86_64-pc-windows-gnu v0.4.0 - openssl v0.9.24 - libc v0.2.44 - foreign-types v0.3.2 - lazy_static v1.2.0 - bitflags v0.9.1 - openssl-sys v0.9.39 - fs2 v0.4.3 - winapi v0.3.6 - libc v0.2.44 - num_cpus v1.8.0 - libc v0.2.44 - traitobject v0.1.0 - thread-id v2.0.0 - libc v0.2.44 - kernel32-sys v0.2.2 - openssl-sys v0.9.39 - libc v0.2.44 - pkg-config v0.3.14 - cc v1.0.25 - vcpkg v0.2.6 - url v1.7.2 - percent-encoding v1.0.1 - matches v0.1.8 - idna v0.1.5 - regex-syntax v0.3.9 - foreign-types v0.3.2 - foreign-types-shared v0.1.1 - either v1.5.0 - thread_local v0.3.6 - lazy_static v1.2.0 - regex v0.2.11 - memchr v2.1.1 - aho-corasick v0.6.9 - regex-syntax v0.5.6 - thread_local v0.3.6 - utf8-ranges v1.0.2 - winapi v0.3.6 - winapi-i686-pc-windows-gnu v0.4.0 - winapi-x86_64-pc-windows-gnu v0.4.0 - matches v0.1.8 - tempdir v0.3.7 - remove_dir_all v0.5.1 - rand v0.4.3 - core-foundation-sys v0.2.3 - libc v0.2.44 - regex v0.1.80 - thread_local v0.2.7 - aho-corasick v0.5.3 - regex-syntax v0.3.9 - memchr v0.1.11 - utf8-ranges v0.1.3 - amqp v0.1.0 (https://github.com/grahamc/rust-amqp.git#f9aec2f4) - env_logger v0.3.5 - url v1.7.2 - amq-proto v0.1.0 - log v0.3.8 - openssl v0.9.24 - time v0.1.40 - amq-proto v0.1.0 - bit-vec v0.4.4 - enum_primitive v0.1.1 - error-chain v0.10.0 - log v0.3.8 - byteorder v0.5.3 - env_logger v0.3.5 - hyper v0.10.15 - log v0.3.8 - httparse v1.3.3 - language-tags v0.2.2 - url v1.7.2 - time v0.1.40 - base64 v0.9.3 - typeable v0.1.2 - unicase v1.4.2 - traitobject v0.1.0 - num_cpus v1.8.0 - mime v0.2.6 - unicode-xid v0.1.0 - ryu v0.2.7 - hyper-native-tls v0.2.4 - antidote v1.0.0 - hyper v0.10.15 - native-tls v0.1.5 - time v0.1.40 - libc v0.2.44 - winapi v0.3.6 - redox_syscall v0.1.43 - cc v1.0.25 - aho-corasick v0.5.3 - memchr v0.1.11 - byteorder v0.5.3 - uuid v0.4.0 - rand v0.3.22 - safemem v0.3.0 - winapi v0.2.8 - percent-encoding v1.0.1 - log v0.3.8 - schannel v0.1.14 - winapi v0.3.6 - lazy_static v1.2.0 - mime v0.2.6 - log v0.3.8 - foreign-types-shared v0.1.1 - winapi-build v0.1.1 - regex-syntax v0.5.6 - ucd-util v0.1.3 - httparse v1.3.3 - winapi-i686-pc-windows-gnu v0.4.0 - libc v0.2.44 - utf8-ranges v0.1.3 - bitflags v0.9.1 - memchr v2.1.1 - cfg-if v0.1.6 - libc v0.2.44 - version_check v0.1.5 - memchr v0.1.11 - libc v0.2.44 - tempfile v2.2.0 - redox_syscall v0.1.43 - rand v0.3.22 - libc v0.2.44 - kernel32-sys v0.2.2 - winapi v0.2.8 - syn v0.15.22 - proc-macro2 v0.4.24 - quote v0.6.10 - unicode-xid v0.1.0 - error-chain v0.10.0 - backtrace v0.3.9 - vcpkg v0.2.6 - lazy_static v1.2.0 - proc-macro2 v0.4.24 - unicode-xid v0.1.0 - serde_derive v1.0.80 - quote v0.6.10 - syn v0.15.22 - proc-macro2 v0.4.24 - byteorder v1.2.7 - num-traits v0.1.43 - num-traits v0.2.6 - cfg-if v0.1.6 - num-traits v0.2.6 - remove_dir_all v0.5.1 - winapi v0.3.6 } features: { } TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: security-framework-sys v0.1.16 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> core-foundation-sys v0.2.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: hubcaps v0.3.16 (https://github.com/grahamc/hubcaps.git#4ed98f02) TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> frank_jwt v3.0.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> serde v1.0.80 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> serde_derive v1.0.80 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> log v0.3.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> hyper v0.10.15 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> url v1.7.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> serde_json v1.0.33 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> error-chain v0.10.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: sys-info v0.5.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> cc v1.0.25 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: antidote v1.0.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: core-foundation v0.2.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> core-foundation-sys v0.2.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: kernel32-sys v0.2.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> winapi v0.2.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> winapi-build v0.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: md5 v0.3.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: unicase v1.4.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> version_check v0.1.5 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: idna v0.1.5 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> matches v0.1.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> unicode-bidi v0.3.4 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> unicode-normalization v0.1.7 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: unicode-normalization v0.1.7 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: redox_syscall v0.1.43 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: ofborg v0.1.8 (/home/grahamc/projects/ofborg/ofborg) TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> log v0.3.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> either v1.5.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> lru-cache v0.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> hyper v0.10.15 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> fs2 v0.4.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> hubcaps v0.3.16 (https://github.com/grahamc/hubcaps.git#4ed98f02) TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> sys-info v0.5.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> tempfile v2.2.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> env_logger v0.4.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> hyper-native-tls v0.2.4 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> serde v1.0.80 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> serde_derive v1.0.80 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> amqp v0.1.0 (https://github.com/grahamc/rust-amqp.git#f9aec2f4) TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> nom v4.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> md5 v0.3.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> uuid v0.4.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> serde_json v1.0.33 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: typeable v0.1.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: pkg-config v0.3.14 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: language-tags v0.2.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: quote v0.6.10 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> proc-macro2 v0.4.24 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: security-framework v0.1.16 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> core-foundation-sys v0.2.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> core-foundation v0.2.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> security-framework-sys v0.1.16 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: bit-vec v0.4.4 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: serde v1.0.80 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: bitflags v1.0.4 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: rustc-demangle v0.1.9 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: native-tls v0.1.5 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> schannel v0.1.14 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> lazy_static v0.2.11 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> security-framework v0.1.16 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> security-framework-sys v0.1.16 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> openssl v0.9.24 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> tempdir v0.3.7 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: env_logger v0.3.5 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> log v0.3.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> regex v0.1.80 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: nom v4.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> memchr v2.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: thread_local v0.2.7 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> thread-id v2.0.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: serde_json v1.0.33 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> itoa v0.4.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> serde v1.0.80 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> ryu v0.2.7 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: fuchsia-zircon v0.3.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> fuchsia-zircon-sys v0.3.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> bitflags v1.0.4 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: itoa v0.4.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: version_check v0.1.5 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: utf8-ranges v1.0.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: backtrace v0.3.9 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> rustc-demangle v0.1.9 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> winapi v0.3.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> cfg-if v0.1.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> backtrace-sys v0.1.24 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: unicode-bidi v0.3.4 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> matches v0.1.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: backtrace-sys v0.1.24 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> cc v1.0.25 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: lru-cache v0.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> linked-hash-map v0.4.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: aho-corasick v0.6.9 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> memchr v2.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: frank_jwt v3.0.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> serde_json v1.0.33 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> openssl v0.9.24 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> base64 v0.9.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> serde v1.0.80 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: ucd-util v0.1.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: env_logger v0.4.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> regex v0.2.11 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> log v0.3.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: lazy_static v0.2.11 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: fuchsia-zircon-sys v0.3.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: rand v0.3.22 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> rand v0.4.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> fuchsia-zircon v0.3.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: base64 v0.9.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> byteorder v1.2.7 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> safemem v0.3.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: linked-hash-map v0.4.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: enum_primitive v0.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> num-traits v0.1.43 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: rand v0.4.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> fuchsia-zircon v0.3.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> winapi v0.3.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: winapi-x86_64-pc-windows-gnu v0.4.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: openssl v0.9.24 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> foreign-types v0.3.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> lazy_static v1.2.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> bitflags v0.9.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> openssl-sys v0.9.39 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: fs2 v0.4.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> winapi v0.3.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: num_cpus v1.8.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: traitobject v0.1.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: thread-id v2.0.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> kernel32-sys v0.2.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: openssl-sys v0.9.39 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> pkg-config v0.3.14 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> cc v1.0.25 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> vcpkg v0.2.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: url v1.7.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> percent-encoding v1.0.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> matches v0.1.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> idna v0.1.5 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: regex-syntax v0.3.9 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: foreign-types v0.3.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> foreign-types-shared v0.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: either v1.5.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: thread_local v0.3.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> lazy_static v1.2.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: regex v0.2.11 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> memchr v2.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> aho-corasick v0.6.9 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> regex-syntax v0.5.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> thread_local v0.3.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> utf8-ranges v1.0.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: winapi v0.3.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> winapi-i686-pc-windows-gnu v0.4.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> winapi-x86_64-pc-windows-gnu v0.4.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: matches v0.1.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: tempdir v0.3.7 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> remove_dir_all v0.5.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> rand v0.4.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: core-foundation-sys v0.2.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: regex v0.1.80 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> thread_local v0.2.7 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> aho-corasick v0.5.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> regex-syntax v0.3.9 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> memchr v0.1.11 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> utf8-ranges v0.1.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: amqp v0.1.0 (https://github.com/grahamc/rust-amqp.git#f9aec2f4) TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> env_logger v0.3.5 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> url v1.7.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> amq-proto v0.1.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> log v0.3.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> openssl v0.9.24 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> time v0.1.40 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: amq-proto v0.1.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> bit-vec v0.4.4 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> enum_primitive v0.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> error-chain v0.10.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> log v0.3.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> byteorder v0.5.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> env_logger v0.3.5 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: hyper v0.10.15 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> log v0.3.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> httparse v1.3.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> language-tags v0.2.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> url v1.7.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> time v0.1.40 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> base64 v0.9.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> typeable v0.1.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> unicase v1.4.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> traitobject v0.1.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> num_cpus v1.8.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> mime v0.2.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: unicode-xid v0.1.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: ryu v0.2.7 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: hyper-native-tls v0.2.4 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> antidote v1.0.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> hyper v0.10.15 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> native-tls v0.1.5 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: time v0.1.40 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> winapi v0.3.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> redox_syscall v0.1.43 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: cc v1.0.25 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: aho-corasick v0.5.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> memchr v0.1.11 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: byteorder v0.5.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: uuid v0.4.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> rand v0.3.22 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: safemem v0.3.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: winapi v0.2.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: percent-encoding v1.0.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: log v0.3.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: schannel v0.1.14 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> winapi v0.3.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> lazy_static v1.2.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: mime v0.2.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> log v0.3.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: foreign-types-shared v0.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: winapi-build v0.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: regex-syntax v0.5.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> ucd-util v0.1.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: httparse v1.3.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: winapi-i686-pc-windows-gnu v0.4.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: utf8-ranges v0.1.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: bitflags v0.9.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: memchr v2.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> cfg-if v0.1.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> version_check v0.1.5 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: memchr v0.1.11 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: tempfile v2.2.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> redox_syscall v0.1.43 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> rand v0.3.22 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> libc v0.2.44 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> kernel32-sys v0.2.2 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> winapi v0.2.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: syn v0.15.22 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> proc-macro2 v0.4.24 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> quote v0.6.10 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> unicode-xid v0.1.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: error-chain v0.10.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> backtrace v0.3.9 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: vcpkg v0.2.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: lazy_static v1.2.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: proc-macro2 v0.4.24 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> unicode-xid v0.1.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: serde_derive v1.0.80 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> quote v0.6.10 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> syn v0.15.22 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> proc-macro2 v0.4.24 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: byteorder v1.2.7 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: num-traits v0.1.43 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> num-traits v0.2.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: cfg-if v0.1.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: num-traits v0.2.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: register_lock: remove_dir_all v0.5.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: -> winapi v0.3.6 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer security-framework-sys v0.1.16 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer hubcaps v0.3.16 (https://github.com/grahamc/hubcaps.git#4ed98f02) DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer sys-info v0.5.6 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer antidote v1.0.0 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer core-foundation v0.2.3 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer kernel32-sys v0.2.2 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer md5 v0.3.8 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer unicase v1.4.2 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer idna v0.1.5 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer unicode-normalization v0.1.7 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer redox_syscall v0.1.43 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer ofborg v0.1.8 (/home/grahamc/projects/ofborg/ofborg) DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer typeable v0.1.2 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer pkg-config v0.3.14 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer language-tags v0.2.2 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer quote v0.6.10 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer security-framework v0.1.16 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer bit-vec v0.4.4 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer serde v1.0.80 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer bitflags v1.0.4 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer rustc-demangle v0.1.9 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer native-tls v0.1.5 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer env_logger v0.3.5 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer nom v4.1.1 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer thread_local v0.2.7 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer serde_json v1.0.33 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer fuchsia-zircon v0.3.3 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer itoa v0.4.3 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer version_check v0.1.5 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer utf8-ranges v1.0.2 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer backtrace v0.3.9 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer unicode-bidi v0.3.4 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer backtrace-sys v0.1.24 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer lru-cache v0.1.1 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer aho-corasick v0.6.9 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer frank_jwt v3.0.2 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer ucd-util v0.1.3 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer env_logger v0.4.3 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer lazy_static v0.2.11 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer fuchsia-zircon-sys v0.3.3 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer rand v0.3.22 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer base64 v0.9.3 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer linked-hash-map v0.4.2 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer enum_primitive v0.1.1 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer rand v0.4.3 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer winapi-x86_64-pc-windows-gnu v0.4.0 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer openssl v0.9.24 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer fs2 v0.4.3 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer num_cpus v1.8.0 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer traitobject v0.1.0 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer thread-id v2.0.0 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer openssl-sys v0.9.39 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer url v1.7.2 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer regex-syntax v0.3.9 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer foreign-types v0.3.2 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer either v1.5.0 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer thread_local v0.3.6 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer regex v0.2.11 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer winapi v0.3.6 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer matches v0.1.8 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer tempdir v0.3.7 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer core-foundation-sys v0.2.3 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer regex v0.1.80 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer amqp v0.1.0 (https://github.com/grahamc/rust-amqp.git#f9aec2f4) DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer amq-proto v0.1.0 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer hyper v0.10.15 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer unicode-xid v0.1.0 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer ryu v0.2.7 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer hyper-native-tls v0.2.4 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer time v0.1.40 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer cc v1.0.25 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer aho-corasick v0.5.3 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer byteorder v0.5.3 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer uuid v0.4.0 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer safemem v0.3.0 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer winapi v0.2.8 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer percent-encoding v1.0.1 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer log v0.3.8 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer schannel v0.1.14 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer mime v0.2.6 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer foreign-types-shared v0.1.1 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer winapi-build v0.1.1 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer regex-syntax v0.5.6 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer httparse v1.3.3 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer winapi-i686-pc-windows-gnu v0.4.0 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer libc v0.2.44 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer utf8-ranges v0.1.3 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer bitflags v0.9.1 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer memchr v2.1.1 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer memchr v0.1.11 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer tempfile v2.2.0 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer syn v0.15.22 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer error-chain v0.10.0 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer vcpkg v0.2.6 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer lazy_static v1.2.0 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer proc-macro2 v0.4.24 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer serde_derive v1.0.80 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer byteorder v1.2.7 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer num-traits v0.1.43 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer cfg-if v0.1.6 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer num-traits v0.2.6 DEBUG 2018-12-01T18:35:19Z: cargo::ops::resolve: attempting to prefer remove_dir_all v0.5.1 DEBUG 2018-12-01T18:35:19Z: cargo::core::registry: load/missing /home/grahamc/projects/ofborg/ofborg DEBUG 2018-12-01T18:35:19Z: cargo::core::registry: loading source /home/grahamc/projects/ofborg/ofborg DEBUG 2018-12-01T18:35:19Z: cargo::sources::config: loading: /home/grahamc/projects/ofborg/ofborg TRACE 2018-12-01T18:35:19Z: cargo::core::source::source_id: loading SourceId; /home/grahamc/projects/ofborg/ofborg TRACE 2018-12-01T18:35:19Z: cargo::ops::cargo_read_manifest: read_package; path=/home/grahamc/projects/ofborg/ofborg/Cargo.toml; source-id=/home/grahamc/projects/ofborg/ofborg TRACE 2018-12-01T18:35:19Z: cargo::util::toml: read_manifest; path=/home/grahamc/projects/ofborg/ofborg/Cargo.toml; source-id=/home/grahamc/projects/ofborg/ofborg TRACE 2018-12-01T18:35:19Z: cargo::core::registry: locking summary of ofborg v0.1.8 (/home/grahamc/projects/ofborg/ofborg) TRACE 2018-12-01T18:35:19Z: cargo::core::registry: amqp/*/https://github.com/grahamc/rust-amqp.git TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on amqp v0.1.0 (https://github.com/grahamc/rust-amqp.git#f9aec2f4) TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `amqp` with `*` at https://github.com/grahamc/rust-amqp.git to amqp v0.1.0 (https://github.com/grahamc/rust-amqp.git#f9aec2f4) TRACE 2018-12-01T18:35:19Z: cargo::core::registry: either/^1.4.0/registry `https://github.com/rust-lang/crates.io-index` TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on either v1.5.0 TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `either` with `^1.4.0` at registry `https://github.com/rust-lang/crates.io-index` to either v1.5.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: env_logger/= 0.4.3/registry `https://github.com/rust-lang/crates.io-index` TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on env_logger v0.4.3 TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `env_logger` with `= 0.4.3` at registry `https://github.com/rust-lang/crates.io-index` to env_logger v0.4.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: fs2/^0.4.2/registry `https://github.com/rust-lang/crates.io-index` TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on fs2 v0.4.3 TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `fs2` with `^0.4.2` at registry `https://github.com/rust-lang/crates.io-index` to fs2 v0.4.3 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: hubcaps/*/https://github.com/grahamc/hubcaps.git TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on hubcaps v0.3.16 (https://github.com/grahamc/hubcaps.git#4ed98f02) TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `hubcaps` with `*` at https://github.com/grahamc/hubcaps.git to hubcaps v0.3.16 (https://github.com/grahamc/hubcaps.git#4ed98f02) TRACE 2018-12-01T18:35:19Z: cargo::core::registry: hyper/0.10.*/registry `https://github.com/rust-lang/crates.io-index` TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on hyper v0.10.15 TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `hyper` with `0.10.*` at registry `https://github.com/rust-lang/crates.io-index` to hyper v0.10.15 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: hyper-native-tls/^0.2.4/registry `https://github.com/rust-lang/crates.io-index` TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on hyper-native-tls v0.2.4 TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `hyper-native-tls` with `^0.2.4` at registry `https://github.com/rust-lang/crates.io-index` to hyper-native-tls v0.2.4 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: log/= 0.3.8/registry `https://github.com/rust-lang/crates.io-index` TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on log v0.3.8 TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `log` with `= 0.3.8` at registry `https://github.com/rust-lang/crates.io-index` to log v0.3.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: lru-cache/^0.1.1/registry `https://github.com/rust-lang/crates.io-index` TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on lru-cache v0.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `lru-cache` with `^0.1.1` at registry `https://github.com/rust-lang/crates.io-index` to lru-cache v0.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: md5/^0.3.5/registry `https://github.com/rust-lang/crates.io-index` TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on md5 v0.3.8 TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `md5` with `^0.3.5` at registry `https://github.com/rust-lang/crates.io-index` to md5 v0.3.8 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: nom/^4.0.0-beta3/registry `https://github.com/rust-lang/crates.io-index` TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on nom v4.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `nom` with `^4.0.0-beta3` at registry `https://github.com/rust-lang/crates.io-index` to nom v4.1.1 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: serde/^1.0/registry `https://github.com/rust-lang/crates.io-index` TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on serde v1.0.80 TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `serde` with `^1.0` at registry `https://github.com/rust-lang/crates.io-index` to serde v1.0.80 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: serde_derive/^1.0/registry `https://github.com/rust-lang/crates.io-index` TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on serde_derive v1.0.80 TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `serde_derive` with `^1.0` at registry `https://github.com/rust-lang/crates.io-index` to serde_derive v1.0.80 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: serde_json/^1.0/registry `https://github.com/rust-lang/crates.io-index` TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on serde_json v1.0.33 TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `serde_json` with `^1.0` at registry `https://github.com/rust-lang/crates.io-index` to serde_json v1.0.33 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: sys-info/^0.5.6/registry `https://github.com/rust-lang/crates.io-index` TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on sys-info v0.5.6 TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `sys-info` with `^0.5.6` at registry `https://github.com/rust-lang/crates.io-index` to sys-info v0.5.6 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: tempfile/^2.2.0/registry `https://github.com/rust-lang/crates.io-index` TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on tempfile v2.2.0 TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `tempfile` with `^2.2.0` at registry `https://github.com/rust-lang/crates.io-index` to tempfile v2.2.0 TRACE 2018-12-01T18:35:19Z: cargo::core::registry: uuid/^0.4/registry `https://github.com/rust-lang/crates.io-index` TRACE 2018-12-01T18:35:19Z: cargo::core::registry: first hit on uuid v0.4.0 TRACE 2018-12-01T18:35:19Z: cargo::core::dependency: locking dep from `uuid` with `^0.4` at registry `https://github.com/rust-lang/crates.io-index` to uuid v0.4.0 DEBUG 2018-12-01T18:35:19Z: cargo::core::resolver: initial activation: ofborg v0.1.8 (/home/grahamc/projects/ofborg/ofborg) TRACE 2018-12-01T18:35:19Z: cargo::core::resolver: activating ofborg v0.1.8 (/home/grahamc/projects/ofborg/ofborg) DEBUG 2018-12-01T18:35:19Z: cargo::core::registry: load/missing https://github.com/grahamc/rust-amqp.git#f9aec2f4 DEBUG 2018-12-01T18:35:19Z: cargo::core::registry: loading source https://github.com/grahamc/rust-amqp.git#f9aec2f4 DEBUG 2018-12-01T18:35:19Z: cargo::sources::config: loading: https://github.com/grahamc/rust-amqp.git#f9aec2f4 TRACE 2018-12-01T18:35:19Z: cargo::core::source::source_id: loading SourceId; https://github.com/grahamc/rust-amqp.git#f9aec2f4 Updating git repository `https://github.com/grahamc/rust-amqp.git` TRACE 2018-12-01T18:35:19Z: cargo::sources::git::source: updating git source `GitRemote { url: "https://github.com/grahamc/rust-amqp.git" }` DEBUG 2018-12-01T18:35:19Z: cargo::sources::git::utils: skipping gc as there's only 0 pack files DEBUG 2018-12-01T18:35:19Z: cargo::sources::git::utils: doing a fetch for https://github.com/grahamc/rust-amqp.git DEBUG 2018-12-01T18:35:19Z: cargo::sources::git::utils: initiating fetch of refs/heads/*:refs/heads/* from https://github.com/grahamc/rust-amqp.git INFO 2018-12-01T18:35:19Z: git2_curl: action upload-pack /info/refs?service=git-upload-pack DEBUG 2018-12-01T18:35:19Z: git2_curl: request to https://github.com/grahamc/rust-amqp.git/info/refs?service=git-upload-pack Segmentation fault ```
grahamc commented 5 years ago

We could play "twitch debugs with lldb":

(lldb) run
Process 6684 launched: '/nix/store/vpi07f89n0hg53sp3d12p3z6zdw9zpc8-cargo-1.30.0/bin/.cargo-wrapped' (x86_64)
    Updating git repository `https://github.com/grahamc/rust-amqp.git`
Process 6684 stopped
* thread #1, name = '.cargo-wrapped', stop reason = signal SIGSEGV: invalid address (fault address: 0x0)
    frame #0: 0x00007ffff66c34b1 libc.so.6`__strlen_avx2 + 17
libc.so.6`__strlen_avx2:
->  0x7ffff66c34b1 <+17>: vpcmpeqb (%rdi), %ymm0, %ymm1
    0x7ffff66c34b5 <+21>: vpmovmskb %ymm1, %eax
    0x7ffff66c34b9 <+25>: testl  %eax, %eax
    0x7ffff66c34bb <+27>: jne    0x7ffff66c35a0            ; <+256>

(lldb) bt
* thread #1, name = '.cargo-wrapped', stop reason = signal SIGSEGV: invalid address (fault address: 0x0)
  * frame #0: 0x00007ffff66c34b1 libc.so.6`__strlen_avx2 + 17
    frame #1: 0x0000555555b0ccd9 .cargo-wrapped`std::ffi::c_str::CStr::from_ptr::h911947f31c43ea3a + 9
    frame #2: 0x0000555555a29619 .cargo-wrapped`git2::panic::wrap::h29088a563794a2ff + 41
    frame #3: 0x0000555555a2ac19 .cargo-wrapped`git2::transport::subtransport_action::haf6b10f5c673704c + 73
    frame #4: 0x00007ffff7b95054 libgit2.so.26`git_smart__negotiation_step + 84
    frame #5: 0x00007ffff7b97104 libgit2.so.26`git_smart__negotiate_fetch + 1588
    frame #6: 0x00007ffff7b16a2b libgit2.so.26`git_fetch_negotiate + 203
    frame #7: 0x00007ffff7b7254a libgit2.so.26`git_remote_download + 1130
    frame #8: 0x00007ffff7b7271e libgit2.so.26`git_remote_fetch + 222
    frame #9: 0x0000555555a2cac9 .cargo-wrapped`git2::remote::Remote::fetch::h38b2770bd4ef4b2a + 393
    frame #10: 0x000055555563a9df .cargo-wrapped`cargo::sources::git::utils::fetch::_$u7b$$u7b$closure$u7d$$u7d$::hf123dd854fc43170 + 351
    frame #11: 0x00005555556388fe .cargo-wrapped`cargo::sources::git::utils::with_fetch_options::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h3d1bec2be4a755a8 + 382
    frame #12: 0x0000555555637b74 .cargo-wrapped`cargo::sources::git::utils::with_fetch_options::hbde50a9e8e011439 + 484
    frame #13: 0x0000555555639eec .cargo-wrapped`cargo::sources::git::utils::fetch::h946a0b68713cec5e + 5452
    frame #14: 0x0000555555633496 .cargo-wrapped`cargo::sources::git::utils::GitRemote::checkout::hc542124562bc4910 + 1030
    frame #15: 0x00005555558236e3 .cargo-wrapped`_$LT$cargo..sources..git..source..GitSource$LT$$u27$cfg$GT$$u20$as$u20$cargo..core..source..Source$GT$::update::h473c7074097b67c6 + 3459
    frame #16: 0x00005555558dc048 .cargo-wrapped`cargo::core::registry::PackageRegistry::ensure_loaded::h4d5f4220d1c7a893 (.llvm.1587539152845483260) + 1000
    frame #17: 0x00005555558dd645 .cargo-wrapped`_$LT$cargo..core..registry..PackageRegistry$LT$$u27$cfg$GT$$u20$as$u20$cargo..core..registry..Registry$GT$::query::h55f762d50f31b99d + 1669
    frame #18: 0x00005555557288c1 .cargo-wrapped`cargo::core::resolver::types::RegistryQueryer::query::h574fb40c4094f3f3 + 1713
    frame #19: 0x00005555556807cb .cargo-wrapped`core::ops::function::impls::_$LT$impl$u20$core..ops..function..FnOnce$LT$A$GT$$u20$for$u20$$RF$$u27$a$u20$mut$u20$F$GT$::call_once::hb499286473020801 + 59
    frame #20: 0x0000555555846228 .cargo-wrapped`_$LT$$RF$$u27$a$u20$mut$u20$I$u20$as$u20$core..iter..iterator..Iterator$GT$::next::h362d98b34f60a847 + 104
    frame #21: 0x00005555558b4447 .cargo-wrapped`_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec..SpecExtend$LT$T$C$$u20$I$GT$$GT$::from_iter::hc2cf1b3efc920a64 + 39
    frame #22: 0x0000555555699445 .cargo-wrapped`cargo::core::resolver::context::Context::build_deps::h00315224e3af093e + 4581
    frame #23: 0x00005555558e78f3 .cargo-wrapped`cargo::core::resolver::activate::h7f8285f6e54a54d5 + 1091
    frame #24: 0x00005555558e1427 .cargo-wrapped`cargo::core::resolver::activate_deps_loop::h3a127d93716e1460 + 487
    frame #25: 0x00005555558e04de .cargo-wrapped`cargo::core::resolver::resolve::h9de1f15445abc710 + 302
    frame #26: 0x00005555558f2882 .cargo-wrapped`cargo::ops::resolve::resolve_with_previous::he8b926909c2ba37e + 6418
    frame #27: 0x00005555558f0e58 .cargo-wrapped`cargo::ops::resolve::resolve_with_registry::h1883861df6cf551b + 168
    frame #28: 0x00005555558f056f .cargo-wrapped`cargo::ops::resolve::resolve_ws_with_method::h1b2412a3aff53a4a + 287
    frame #29: 0x00005555556a0751 .cargo-wrapped`cargo::ops::cargo_compile::compile_ws::h25d60282456df8b8 + 641
    frame #30: 0x00005555556a0486 .cargo-wrapped`cargo::ops::cargo_compile::compile::h7f0a50a39be05578 + 118
    frame #31: 0x00005555555ebacd .cargo-wrapped`cargo::commands::build::exec::h776f921d3ad681c0 + 493
    frame #32: 0x00005555555b3c07 .cargo-wrapped`cargo::cli::main::h7fcb5f8bdd907981 + 5895
    frame #33: 0x00005555555babb8 .cargo-wrapped`cargo::main::h8ef761d589f610bd + 216
    frame #34: 0x00005555555d72e3 .cargo-wrapped`std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hefca40745ab06eed + 3
    frame #35: 0x0000555555af4e03 .cargo-wrapped`std::panicking::try::do_call::h0208f3354fcc3e87 (.llvm.1680211052236547615) + 19
    frame #36: 0x0000555555b1f0fa .cargo-wrapped`__rust_maybe_catch_panic + 26
    frame #37: 0x0000555555af7d26 .cargo-wrapped`std::rt::lang_start_internal::h56481fc9d09c36f4 + 278
    frame #38: 0x00005555555bcce4 .cargo-wrapped`main + 36
    frame #39: 0x00007ffff6593b8e libc.so.6`__libc_start_main + 238
    frame #40: 0x00005555555a587a .cargo-wrapped`_start + 42
grahamc commented 5 years ago

Cargo has no problem with libgit2 0.26.7.

grahamc commented 5 years ago

I reverted https://github.com/libgit2/libgit2/commit/49ee0ae6ff1621d3093947c08868f4a4aeb56a91 in libgit2 and tried again, and the segfault stopped. See also https://github.com/alexcrichton/git2-rs/blob/master/src/transport.rs#L223, thanks to @jonas-schievink's help in debugging and digging. cc @alexcrichton. See also https://github.com/libgit2/libgit2/pull/4732#issuecomment-443452315.

alexcrichton commented 5 years ago

Oh dear! @grahamc should we update libgit2 to master to pick up a fix for this?

grahamc commented 5 years ago

Ah! I'm not a maintainer or author or anything of libgit2, I just did a build of cargo with a patched version of libgit2 locally, with that commit reverted. I'm not sure what libgit2 will do from here on, but I suspect they didn't intend on changing this interface? Not sure.

grahamc commented 5 years ago

For posterity sake, the way I did this is I changed Nixpkgs' libgit2 to use a local checkout, reverted the commit locally, and then rebuilt cargo from my patched nixpkgs.

alexcrichton commented 5 years ago

@grahamc hm ok, it sounds like you're saying that this function in git2-rs is being called with url as a null pointer, and that started due to the commit/PR in libgit2 you linked above. Do you know why that's happening? Is it a bug libgit2 is calling us with a null pointer? Or is it a valid case that we should handle in git2-rs itself?

grahamc commented 5 years ago

That seems to be the case, yeah. I don't know if that is a valid case. It appears to be new behavior due to attempting to fix a memory leak. Sorry I don't know more, you should probably talk to libgit2's authors -- I'm no expert here :)

lovesegfault commented 5 years ago

This is currently breaking my development, which happens in Nix.

grahamc commented 5 years ago

@bemeurer the version update has already been reverted in Nixpkgs.

ehuss commented 5 years ago

It looks like it was fixed in libgit2, and we have picked up the updates recently in 1.37 (now in beta). Would anyone be able to confirm that this issue can be closed?

ehuss commented 5 years ago

I'm going to close this since I believe it is now fixed. Feel free to open a new issue if there are any new problems.