[INFO] fetching crate tugger-windows-codesign 0.4.0... [INFO] checking tugger-windows-codesign-0.4.0 against try#07fecb9cf34c4979a772ba38c99d6d9144768413 for pr-87710 [INFO] extracting crate tugger-windows-codesign 0.4.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate tugger-windows-codesign 0.4.0 on toolchain 07fecb9cf34c4979a772ba38c99d6d9144768413 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tugger-windows-codesign 0.4.0 [INFO] finished tweaking crates.io crate tugger-windows-codesign 0.4.0 [INFO] tweaked toml for crates.io crate tugger-windows-codesign 0.4.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded x509-parser v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c610127202713c05880b1304fb0a595e7a4a343e79c8390825c41d2a7458548 [INFO] running `Command { std: "docker" "start" "-a" "7c610127202713c05880b1304fb0a595e7a4a343e79c8390825c41d2a7458548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c610127202713c05880b1304fb0a595e7a4a343e79c8390825c41d2a7458548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c610127202713c05880b1304fb0a595e7a4a343e79c8390825c41d2a7458548", kill_on_drop: false }` [INFO] [stdout] 7c610127202713c05880b1304fb0a595e7a4a343e79c8390825c41d2a7458548 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+07fecb9cf34c4979a772ba38c99d6d9144768413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c6219112b09dd339c7c5971d8d3fb40e5b2373c0a734f39c24aa77777da7585 [INFO] running `Command { std: "docker" "start" "-a" "7c6219112b09dd339c7c5971d8d3fb40e5b2373c0a734f39c24aa77777da7585", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling oid-registry v0.1.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking yasna v0.3.2 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking shared_child v0.3.5 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking duct v0.13.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking futures-channel v0.3.16 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.10.1 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking block-cipher v0.8.0 [INFO] [stderr] Checking crypto-mac v0.9.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking des v0.5.0 [INFO] [stderr] Checking block-modes v0.6.1 [INFO] [stderr] Checking rc2 v0.5.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking hmac v0.9.0 [INFO] [stderr] Checking p12 v0.2.0 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking yasna v0.4.0 [INFO] [stderr] Checking rcgen v0.8.13 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking rusticata-macros v3.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling der-oid-macro v0.4.0 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking der-parser v5.1.2 [INFO] [stderr] Checking x509-parser v0.10.0 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking hyper v0.14.12 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking tugger-common v0.4.0 [INFO] [stderr] Checking tugger-windows v0.6.0 [INFO] [stderr] Checking tugger-windows-codesign v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `contains_key` found for reference `&[X509Extension<'_>]` in the current scope [INFO] [stdout] --> src/signing.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 236 | .contains_key(&subject_key_identifier_oid)); [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `contains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[X509Extension<'_>]` cannot be indexed by `&Oid<'_>` [INFO] [stdout] --> src/signing.rs:238:40 [INFO] [stdout] | [INFO] [stdout] 238 | generated.extensions().get(&subject_key_identifier_oid), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[X509Extension<'_>]>` is not implemented for `&Oid<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[X509Extension<'_>]` cannot be indexed by `&Oid<'_>` [INFO] [stdout] --> src/signing.rs:239:41 [INFO] [stdout] | [INFO] [stdout] 239 | powershell.extensions().get(&subject_key_identifier_oid), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[X509Extension<'_>]>` is not implemented for `&Oid<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_key` found for reference `&[X509Extension<'_>]` in the current scope [INFO] [stdout] --> src/signing.rs:242:40 [INFO] [stdout] | [INFO] [stdout] 242 | assert!(generated.extensions().contains_key(&basic_constraints_oid)); [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `contains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_key` found for reference `&[X509Extension<'_>]` in the current scope [INFO] [stdout] --> src/signing.rs:243:42 [INFO] [stdout] | [INFO] [stdout] 243 | assert!(!powershell.extensions().contains_key(&basic_constraints_oid)); [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `contains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_key` found for reference `&[X509Extension<'_>]` in the current scope [INFO] [stdout] --> src/signing.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | .contains_key(&subject_alternative_name_oid)); [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `contains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[X509Extension<'_>]` cannot be indexed by `&Oid<'_>` [INFO] [stdout] --> src/signing.rs:249:40 [INFO] [stdout] | [INFO] [stdout] 249 | generated.extensions().get(&subject_alternative_name_oid), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[X509Extension<'_>]>` is not implemented for `&Oid<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[X509Extension<'_>]` cannot be indexed by `&Oid<'_>` [INFO] [stdout] --> src/signing.rs:250:41 [INFO] [stdout] | [INFO] [stdout] 250 | powershell.extensions().get(&subject_alternative_name_oid), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[X509Extension<'_>]>` is not implemented for `&Oid<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_key` found for reference `&[X509Extension<'_>]` in the current scope [INFO] [stdout] --> src/signing.rs:254:40 [INFO] [stdout] | [INFO] [stdout] 254 | assert!(generated.extensions().contains_key(&extended_usage_oid)); [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `contains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[X509Extension<'_>]` cannot be indexed by `&Oid<'_>` [INFO] [stdout] --> src/signing.rs:256:40 [INFO] [stdout] | [INFO] [stdout] 256 | generated.extensions().get(&extended_usage_oid), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[X509Extension<'_>]>` is not implemented for `&Oid<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[X509Extension<'_>]` cannot be indexed by `&Oid<'_>` [INFO] [stdout] --> src/signing.rs:257:41 [INFO] [stdout] | [INFO] [stdout] 257 | powershell.extensions().get(&extended_usage_oid), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[X509Extension<'_>]>` is not implemented for `&Oid<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_key` found for reference `&[X509Extension<'_>]` in the current scope [INFO] [stdout] --> src/signing.rs:261:40 [INFO] [stdout] | [INFO] [stdout] 261 | assert!(generated.extensions().contains_key(&key_usage_oid)); [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `contains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[X509Extension<'_>]` cannot be indexed by `&Oid<'_>` [INFO] [stdout] --> src/signing.rs:263:40 [INFO] [stdout] | [INFO] [stdout] 263 | generated.extensions().get(&key_usage_oid), [INFO] [stdout] | ^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[X509Extension<'_>]>` is not implemented for `&Oid<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[X509Extension<'_>]` cannot be indexed by `&Oid<'_>` [INFO] [stdout] --> src/signing.rs:264:41 [INFO] [stdout] | [INFO] [stdout] 264 | powershell.extensions().get(&key_usage_oid), [INFO] [stdout] | ^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[X509Extension<'_>]>` is not implemented for `&Oid<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/signing.rs:273:26 [INFO] [stdout] | [INFO] [stdout] 273 | .filter_map(|(k, ext)| { [INFO] [stdout] | ^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | expected struct `X509Extension`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected struct `X509Extension<'_>` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/signing.rs:284:26 [INFO] [stdout] | [INFO] [stdout] 284 | .filter_map(|(k, ext)| { [INFO] [stdout] | ^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | expected struct `X509Extension`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected struct `X509Extension<'_>` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tugger-windows-codesign` due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "7c6219112b09dd339c7c5971d8d3fb40e5b2373c0a734f39c24aa77777da7585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c6219112b09dd339c7c5971d8d3fb40e5b2373c0a734f39c24aa77777da7585", kill_on_drop: false }` [INFO] [stdout] 7c6219112b09dd339c7c5971d8d3fb40e5b2373c0a734f39c24aa77777da7585