From 41f5ec38753e2c61956d2ed9fa8fa9442e48d97a Mon Sep 17 00:00:00 2001 From: Pietro Albini Date: Thu, 28 Jan 2021 12:12:05 +0100 Subject: [PATCH] handle missing dependencies during a run --- Cargo.lock | 515 ++++++++---------------------------------- Cargo.toml | 2 +- src/report/display.rs | 1 + src/results/mod.rs | 1 + src/runner/test.rs | 3 + 5 files changed, 101 insertions(+), 421 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d90d07813..39a036e9b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -67,6 +67,21 @@ dependencies = [ "wait-timeout", ] +[[package]] +name = "attohttpc" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba5b30bf3a0aead269fd5dd69b385a3e90c2b55f4f215d1bdf52c3883f5fa7fa" +dependencies = [ + "flate2", + "http 0.2.1", + "log 0.4.11", + "native-tls", + "openssl", + "url 2.2.0", + "wildmatch", +] + [[package]] name = "atty" version = "0.2.14" @@ -223,12 +238,6 @@ dependencies = [ "safemem", ] -[[package]] -name = "bumpalo" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820" - [[package]] name = "byte-tools" version = "0.2.0" @@ -264,6 +273,12 @@ version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38" +[[package]] +name = "bytes" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040" + [[package]] name = "bytesize" version = "1.0.1" @@ -359,16 +374,6 @@ dependencies = [ "bitflags", ] -[[package]] -name = "console_error_panic_hook" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8d976903543e0c48546a91908f21588a680a8c8f984df9a5d69feccb2b2a211" -dependencies = [ - "cfg-if 0.1.10", - "wasm-bindgen", -] - [[package]] name = "const_fn" version = "0.4.3" @@ -448,7 +453,7 @@ dependencies = [ "futures", "hmac 0.7.1", "http 0.1.21", - "hyper 0.12.35", + "hyper", "indexmap", "lazy_static", "log 0.4.11", @@ -465,7 +470,7 @@ dependencies = [ "rand 0.5.6", "regex 1.4.2", "remove_dir_all", - "reqwest 0.9.24", + "reqwest", "rusoto_core", "rusoto_credential", "rusoto_s3", @@ -900,15 +905,6 @@ version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c7e4c2612746b0df8fed4ce0c69156021b704c9aefa360311c04e6e9e002eed" -[[package]] -name = "futures-channel" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b7109687aa4e177ef6fe84553af6280ef2778bdb7783ba44c9dc3399110fe64" -dependencies = [ - "futures-core", -] - [[package]] name = "futures-core" version = "0.3.8" @@ -925,12 +921,6 @@ dependencies = [ "num_cpus", ] -[[package]] -name = "futures-io" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "611834ce18aaa1bd13c4b374f5d653e1027cf99b6b502584ff8c9a64413b30bb" - [[package]] name = "futures-macro" version = "0.3.8" @@ -943,12 +933,6 @@ dependencies = [ "syn 1.0.51", ] -[[package]] -name = "futures-sink" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f878195a49cee50e006b02b93cf7e0a95a38ac7b776b4c4d9cc1207cd20fcb3d" - [[package]] name = "futures-task" version = "0.3.8" @@ -965,11 +949,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d304cff4a7b99cfb7986f7d43fbe93d175e72e704a8860787cc95e9ffd85cbd2" dependencies = [ "futures-core", - "futures-io", "futures-macro", "futures-task", - "memchr", - "pin-project 1.0.2", + "pin-project", "pin-utils", "proc-macro-hack", "proc-macro-nested", @@ -1056,26 +1038,6 @@ dependencies = [ "tokio-io", ] -[[package]] -name = "h2" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e4728fd124914ad25e99e3d15a9361a879f6620f63cb56bbb08f95abb97a535" -dependencies = [ - "bytes 0.5.6", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http 0.2.1", - "indexmap", - "slab", - "tokio 0.2.23", - "tokio-util", - "tracing", - "tracing-futures", -] - [[package]] name = "hashbrown" version = "0.9.1" @@ -1204,28 +1166,12 @@ dependencies = [ "tokio-buf", ] -[[package]] -name = "http-body" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b" -dependencies = [ - "bytes 0.5.6", - "http 0.2.1", -] - [[package]] name = "httparse" version = "1.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" -[[package]] -name = "httpdate" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47" - [[package]] name = "humansize" version = "1.1.0" @@ -1250,9 +1196,9 @@ dependencies = [ "bytes 0.4.12", "futures", "futures-cpupool", - "h2 0.1.26", + "h2", "http 0.1.21", - "http-body 0.1.0", + "http-body", "httparse", "iovec", "itoa", @@ -1268,31 +1214,7 @@ dependencies = [ "tokio-tcp", "tokio-threadpool", "tokio-timer", - "want 0.2.0", -] - -[[package]] -name = "hyper" -version = "0.13.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ad767baac13b44d4529fcf58ba2cd0995e36e7b435bc5b039de6f47e880dbf" -dependencies = [ - "bytes 0.5.6", - "futures-channel", - "futures-core", - "futures-util", - "h2 0.2.7", - "http 0.2.1", - "http-body 0.3.1", - "httparse", - "httpdate", - "itoa", - "pin-project 1.0.2", - "socket2", - "tokio 0.2.23", - "tower-service", - "tracing", - "want 0.3.0", + "want", ] [[package]] @@ -1303,24 +1225,11 @@ checksum = "3a800d6aa50af4b5850b2b0f659625ce9504df908e9733b635720483be26174f" dependencies = [ "bytes 0.4.12", "futures", - "hyper 0.12.35", + "hyper", "native-tls", "tokio-io", ] -[[package]] -name = "hyper-tls" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d979acc56dcb5b8dddba3917601745e877576475aa046df3226eabdecef78eed" -dependencies = [ - "bytes 0.5.6", - "hyper 0.13.9", - "native-tls", - "tokio 0.2.23", - "tokio-tls", -] - [[package]] name = "idna" version = "0.1.5" @@ -1381,12 +1290,6 @@ dependencies = [ "libc", ] -[[package]] -name = "ipnet" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47be2f14c678be2fdcab04ab1171db51b2762ce6f0a8ee87c8dd4a04ed216135" - [[package]] name = "itoa" version = "0.4.6" @@ -1402,15 +1305,6 @@ dependencies = [ "libc", ] -[[package]] -name = "js-sys" -version = "0.3.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca059e81d9486668f12d455a4ea6daa600bd408134cd17e3d3fb5a32d1f016f8" -dependencies = [ - "wasm-bindgen", -] - [[package]] name = "kernel32-sys" version = "0.2.2" @@ -1669,6 +1563,19 @@ dependencies = [ "winapi 0.2.8", ] +[[package]] +name = "mio" +version = "0.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e50ae3f04d169fcc9bde0b547d1c205219b7157e07ded9c5aff03e0637cb3ed7" +dependencies = [ + "libc", + "log 0.4.11", + "miow 0.3.6", + "ntapi", + "winapi 0.3.9", +] + [[package]] name = "mio-named-pipes" version = "0.1.7" @@ -1676,7 +1583,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0840c1c50fd55e521b247f949c241c9997709f23bd7f023b9762cd561e935656" dependencies = [ "log 0.4.11", - "mio", + "mio 0.6.22", "miow 0.3.6", "winapi 0.3.9", ] @@ -1689,7 +1596,7 @@ checksum = "afcb699eb26d4332647cc848492bbc15eafb26f08d0304550d5aa1f612e066f0" dependencies = [ "iovec", "libc", - "mio", + "mio 0.6.22", ] [[package]] @@ -1804,6 +1711,15 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" +[[package]] +name = "ntapi" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44" +dependencies = [ + "winapi 0.3.9", +] + [[package]] name = "num-integer" version = "0.1.44" @@ -2065,33 +1981,13 @@ dependencies = [ "unicase 1.4.2", ] -[[package]] -name = "pin-project" -version = "0.4.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ffbc8e94b38ea3d2d8ba92aea2983b503cd75d0888d75b86bb37970b5698e15" -dependencies = [ - "pin-project-internal 0.4.27", -] - [[package]] name = "pin-project" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ccc2237c2c489783abd8c4c80e5450fc0e98644555b1364da68cc29aa151ca7" dependencies = [ - "pin-project-internal 1.0.2", -] - -[[package]] -name = "pin-project-internal" -version = "0.4.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65ad2ae56b6abe3a1ee25f15ee605bacadb9a764edaba9c2bf4103800d4a1895" -dependencies = [ - "proc-macro2 1.0.24", - "quote 1.0.7", - "syn 1.0.51", + "pin-project-internal", ] [[package]] @@ -2105,12 +2001,6 @@ dependencies = [ "syn 1.0.51", ] -[[package]] -name = "pin-project-lite" -version = "0.1.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c917123afa01924fc84bb20c4c03f004d9c38e5127e3c039bbf7f4b9c76a2f6b" - [[package]] name = "pin-project-lite" version = "0.2.0" @@ -2536,8 +2426,8 @@ dependencies = [ "flate2", "futures", "http 0.1.21", - "hyper 0.12.35", - "hyper-tls 0.3.2", + "hyper", + "hyper-tls", "log 0.4.11", "mime 0.3.16", "mime_guess 2.0.3", @@ -2553,43 +2443,7 @@ dependencies = [ "tokio-timer", "url 1.7.2", "uuid", - "winreg 0.6.2", -] - -[[package]] -name = "reqwest" -version = "0.10.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb15d6255c792356a0f578d8a645c677904dc02e862bebe2ecc18e0c01b9a0ce" -dependencies = [ - "base64 0.13.0", - "bytes 0.5.6", - "encoding_rs", - "futures-core", - "futures-util", - "http 0.2.1", - "http-body 0.3.1", - "hyper 0.13.9", - "hyper-tls 0.4.3", - "ipnet", - "js-sys", - "lazy_static", - "log 0.4.11", - "mime 0.3.16", - "mime_guess 2.0.3", - "native-tls", - "percent-encoding 2.1.0", - "pin-project-lite 0.2.0", - "serde", - "serde_urlencoded 0.7.0", - "tokio 0.2.23", - "tokio-tls", - "url 2.2.0", - "wasm-bindgen", - "wasm-bindgen-futures", - "wasm-bindgen-test", - "web-sys", - "winreg 0.7.0", + "winreg", ] [[package]] @@ -2602,8 +2456,8 @@ dependencies = [ "futures", "hex 0.3.2", "hmac 0.5.0", - "hyper 0.12.35", - "hyper-tls 0.3.2", + "hyper", + "hyper-tls", "lazy_static", "log 0.4.11", "md5", @@ -2627,7 +2481,7 @@ dependencies = [ "chrono", "dirs", "futures", - "hyper 0.12.35", + "hyper", "regex 0.2.11", "serde", "serde_derive", @@ -2697,29 +2551,32 @@ dependencies = [ [[package]] name = "rustwide" -version = "0.10.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "417d578ebc7fa963bcd06f365f7987c091abeba70eac22dba94b7fd922a95c09" +checksum = "0120e19e7ae6e42bbabc9ba1f794b6ea7c119dee241eec050a8b260afa77a37b" dependencies = [ + "attohttpc", "base64 0.12.3", "failure", "flate2", "fs2", "futures-util", "getrandom", + "git2", + "http 0.2.1", "lazy_static", "log 0.4.11", "nix 0.11.1", "percent-encoding 2.1.0", "remove_dir_all", - "reqwest 0.10.9", "scopeguard 1.1.0", "serde", "serde_json", "tar", "tempfile", "thiserror", - "tokio 0.2.23", + "tokio 1.1.0", + "tokio-stream", "toml 0.5.7", "walkdir", "winapi 0.3.9", @@ -2906,18 +2763,6 @@ dependencies = [ "url 2.2.0", ] -[[package]] -name = "serde_urlencoded" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edfa57a7f8d9c1d260a549e7224100f6c43d43f9103e06dd8b4095a9b2b43ce9" -dependencies = [ - "form_urlencoded", - "itoa", - "ryu", - "serde", -] - [[package]] name = "sha-1" version = "0.8.2" @@ -3256,7 +3101,7 @@ checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6" dependencies = [ "bytes 0.4.12", "futures", - "mio", + "mio 0.6.22", "num_cpus", "tokio-codec", "tokio-current-thread", @@ -3274,24 +3119,19 @@ dependencies = [ [[package]] name = "tokio" -version = "0.2.23" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6d7ad61edd59bfcc7e80dababf0f4aed2e6d5e0ba1659356ae889752dfc12ff" +checksum = "8efab2086f17abcddb8f756117665c958feee6b2e39974c2f1600592ab3a4195" dependencies = [ - "bytes 0.5.6", - "fnv", - "futures-core", - "iovec", - "lazy_static", + "autocfg 1.0.1", + "bytes 1.0.1", "libc", "memchr", - "mio", - "mio-named-pipes", - "mio-uds", + "mio 0.7.7", "num_cpus", - "pin-project-lite 0.1.11", + "once_cell", + "pin-project-lite", "signal-hook-registry", - "slab", "winapi 0.3.9", ] @@ -3370,7 +3210,7 @@ dependencies = [ "lazy_static", "libc", "log 0.4.11", - "mio", + "mio 0.6.22", "mio-named-pipes", "tokio-io", "tokio-reactor", @@ -3388,7 +3228,7 @@ dependencies = [ "futures", "lazy_static", "log 0.4.11", - "mio", + "mio 0.6.22", "num_cpus", "parking_lot 0.9.0", "slab", @@ -3405,7 +3245,7 @@ checksum = "d0c34c6e548f101053321cba3da7cbb87a610b85555884c41b07da2eb91aff12" dependencies = [ "futures", "libc", - "mio", + "mio 0.6.22", "mio-uds", "signal-hook-registry", "tokio-executor", @@ -3414,6 +3254,17 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "tokio-stream" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76066865172052eb8796c686f0b441a93df8b08d40a950b062ffb9a426f00edd" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio 1.1.0", +] + [[package]] name = "tokio-sync" version = "0.1.8" @@ -3433,7 +3284,7 @@ dependencies = [ "bytes 0.4.12", "futures", "iovec", - "mio", + "mio 0.6.22", "tokio-io", "tokio-reactor", ] @@ -3467,16 +3318,6 @@ dependencies = [ "tokio-executor", ] -[[package]] -name = "tokio-tls" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a70f4fcd7b3b24fb194f837560168208f669ca8cb70d0c4b862944452396343" -dependencies = [ - "native-tls", - "tokio 0.2.23", -] - [[package]] name = "tokio-udp" version = "0.1.6" @@ -3486,7 +3327,7 @@ dependencies = [ "bytes 0.4.12", "futures", "log 0.4.11", - "mio", + "mio 0.6.22", "tokio-codec", "tokio-io", "tokio-reactor", @@ -3503,27 +3344,13 @@ dependencies = [ "iovec", "libc", "log 0.4.11", - "mio", + "mio 0.6.22", "mio-uds", "tokio-codec", "tokio-io", "tokio-reactor", ] -[[package]] -name = "tokio-util" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be8242891f2b6cbef26a2d7e8605133c2c554cd35b3e4948ea892d6d68436499" -dependencies = [ - "bytes 0.5.6", - "futures-core", - "futures-sink", - "log 0.4.11", - "pin-project-lite 0.1.11", - "tokio 0.2.23", -] - [[package]] name = "toml" version = "0.4.10" @@ -3542,43 +3369,6 @@ dependencies = [ "serde", ] -[[package]] -name = "tower-service" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860" - -[[package]] -name = "tracing" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f47026cdc4080c07e49b37087de021820269d996f581aac150ef9e5583eefe3" -dependencies = [ - "cfg-if 1.0.0", - "log 0.4.11", - "pin-project-lite 0.2.0", - "tracing-core", -] - -[[package]] -name = "tracing-core" -version = "0.1.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f50de3927f93d202783f4513cda820ab47ef17f624b03c096e86ef00c67e6b5f" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "tracing-futures" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab7bb6f14721aa00656086e9335d363c5c8747bae02ebe32ea2c7dece5689b4c" -dependencies = [ - "pin-project 0.4.27", - "tracing", -] - [[package]] name = "treeline" version = "0.1.0" @@ -3867,16 +3657,6 @@ dependencies = [ "try-lock", ] -[[package]] -name = "want" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" -dependencies = [ - "log 0.4.11", - "try-lock", -] - [[package]] name = "warp" version = "0.1.23" @@ -3887,7 +3667,7 @@ dependencies = [ "futures", "headers", "http 0.1.21", - "hyper 0.12.35", + "hyper", "log 0.4.11", "mime 0.3.16", "mime_guess 2.0.3", @@ -3916,106 +3696,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" [[package]] -name = "wasm-bindgen" -version = "0.2.68" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ac64ead5ea5f05873d7c12b545865ca2b8d28adfc50a49b84770a3a97265d42" -dependencies = [ - "cfg-if 0.1.10", - "serde", - "serde_json", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.68" +name = "wildmatch" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f22b422e2a757c35a73774860af8e112bff612ce6cb604224e8e47641a9e4f68" -dependencies = [ - "bumpalo", - "lazy_static", - "log 0.4.11", - "proc-macro2 1.0.24", - "quote 1.0.7", - "syn 1.0.51", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7866cab0aa01de1edf8b5d7936938a7e397ee50ce24119aef3e1eaa3b6171da" -dependencies = [ - "cfg-if 0.1.10", - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.68" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b13312a745c08c469f0b292dd2fcd6411dba5f7160f593da6ef69b64e407038" -dependencies = [ - "quote 1.0.7", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.68" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f249f06ef7ee334cc3b8ff031bfc11ec99d00f34d86da7498396dc1e3b1498fe" -dependencies = [ - "proc-macro2 1.0.24", - "quote 1.0.7", - "syn 1.0.51", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.68" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d649a3145108d7d3fbcde896a468d1bd636791823c9921135218ad89be08307" - -[[package]] -name = "wasm-bindgen-test" -version = "0.3.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34d1cdc8b98a557f24733d50a1199c4b0635e465eecba9c45b214544da197f64" -dependencies = [ - "console_error_panic_hook", - "js-sys", - "scoped-tls", - "wasm-bindgen", - "wasm-bindgen-futures", - "wasm-bindgen-test-macro", -] - -[[package]] -name = "wasm-bindgen-test-macro" -version = "0.3.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8fb9c67be7439ee8ab1b7db502a49c05e51e2835b66796c705134d9b8e1a585" -dependencies = [ - "proc-macro2 1.0.24", - "quote 1.0.7", -] - -[[package]] -name = "web-sys" -version = "0.3.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bf6ef87ad7ae8008e15a355ce696bed26012b7caa21605188cfd8214ab51e2d" -dependencies = [ - "js-sys", - "wasm-bindgen", -] +checksum = "d2399814fda0d6999a6bfe9b5c7660d836334deb162a09db8b73d5b38fd8c40a" [[package]] name = "winapi" @@ -4069,15 +3753,6 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "winreg" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0120db82e8a1e0b9fb3345a539c478767c0048d842860994d96113d5b667bd69" -dependencies = [ - "winapi 0.3.9", -] - [[package]] name = "ws2_32-sys" version = "0.2.1" diff --git a/Cargo.toml b/Cargo.toml index cdce26563..2a50dd076 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ hmac = "0.7" sha-1 = "0.8" rust_team_data = { git = "https://github.com/rust-lang/team" } systemstat = "0.1.4" -rustwide = { version = "0.10.0", features = ["unstable", "unstable-toolchain-ci"] } +rustwide = { version = "0.12.0", features = ["unstable", "unstable-toolchain-ci"] } percent-encoding = "2.1.0" remove_dir_all = "0.5.2" ctrlc = "3.1.3" diff --git a/src/report/display.rs b/src/report/display.rs index c2287473c..e5574f6bd 100644 --- a/src/report/display.rs +++ b/src/report/display.rs @@ -37,6 +37,7 @@ impl ResultName for BrokenReason { BrokenReason::CargoToml => "broken Cargo.toml".into(), BrokenReason::Yanked => "deps yanked".into(), BrokenReason::MissingGitRepository => "missing repo".into(), + BrokenReason::MissingDependencies => "missing deps".into(), } } diff --git a/src/results/mod.rs b/src/results/mod.rs index 8a03266f0..379bde4fc 100644 --- a/src/results/mod.rs +++ b/src/results/mod.rs @@ -283,6 +283,7 @@ string_enum!(pub enum BrokenReason { Unknown => "unknown", CargoToml => "cargo-toml", Yanked => "yanked", + MissingDependencies => "missing-deps", MissingGitRepository => "missing-git-repository", }); diff --git a/src/runner/test.rs b/src/runner/test.rs index 7bfac40db..59b7d913c 100644 --- a/src/runner/test.rs +++ b/src/runner/test.rs @@ -40,6 +40,9 @@ pub(super) fn detect_broken(res: Result) -> Result { PrepareError::MissingCargoToml => Some(BrokenReason::CargoToml), PrepareError::InvalidCargoTomlSyntax => Some(BrokenReason::CargoToml), PrepareError::YankedDependencies => Some(BrokenReason::Yanked), + PrepareError::MissingDependencies => { + Some(BrokenReason::MissingDependencies) + } PrepareError::PrivateGitRepository => { Some(BrokenReason::MissingGitRepository) }