[INFO] fetching crate tugger-windows-codesign 0.4.0... [INFO] testing tugger-windows-codesign-0.4.0 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate tugger-windows-codesign 0.4.0 into /workspace/builds/worker-116/source [INFO] validating manifest of crates.io crate tugger-windows-codesign 0.4.0 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-116/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3182076a6969962a1f0967b37d09cd66e06dc92aaaeed7ea0dd2372f1577cdd9 [INFO] running `Command { std: "docker" "start" "-a" "3182076a6969962a1f0967b37d09cd66e06dc92aaaeed7ea0dd2372f1577cdd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3182076a6969962a1f0967b37d09cd66e06dc92aaaeed7ea0dd2372f1577cdd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3182076a6969962a1f0967b37d09cd66e06dc92aaaeed7ea0dd2372f1577cdd9", kill_on_drop: false }` [INFO] [stdout] 3182076a6969962a1f0967b37d09cd66e06dc92aaaeed7ea0dd2372f1577cdd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 624a135ae5f242e66ff24e57339f5b2e3fff7501ef2747cef3cac662273215ab [INFO] running `Command { std: "docker" "start" "-a" "624a135ae5f242e66ff24e57339f5b2e3fff7501ef2747cef3cac662273215ab", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling yasna v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling shared_child v0.3.5 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling os_pipe v0.9.2 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling duct v0.13.5 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling flate2 v1.0.21 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling block-cipher v0.8.0 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling des v0.5.0 [INFO] [stderr] Compiling block-modes v0.6.1 [INFO] [stderr] Compiling rc2 v0.5.0 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling p12 v0.2.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling yasna v0.4.0 [INFO] [stderr] Compiling rcgen v0.8.13 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling hyper v0.14.12 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling tugger-common v0.4.0 [INFO] [stderr] Compiling tugger-windows v0.6.0 [INFO] [stderr] Compiling tugger-windows-codesign v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "624a135ae5f242e66ff24e57339f5b2e3fff7501ef2747cef3cac662273215ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "624a135ae5f242e66ff24e57339f5b2e3fff7501ef2747cef3cac662273215ab", kill_on_drop: false }` [INFO] [stdout] 624a135ae5f242e66ff24e57339f5b2e3fff7501ef2747cef3cac662273215ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e648bfe2ae99fb25582e7496432baf753387e893a06de935e073b4b2c75b003 [INFO] running `Command { std: "docker" "start" "-a" "9e648bfe2ae99fb25582e7496432baf753387e893a06de935e073b4b2c75b003", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling oid-registry v0.1.5 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling rusticata-macros v3.2.0 [INFO] [stderr] Compiling der-oid-macro v0.4.0 [INFO] [stderr] Compiling der-parser v5.1.2 [INFO] [stderr] Compiling x509-parser v0.11.0 [INFO] [stderr] Compiling 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" "9e648bfe2ae99fb25582e7496432baf753387e893a06de935e073b4b2c75b003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e648bfe2ae99fb25582e7496432baf753387e893a06de935e073b4b2c75b003", kill_on_drop: false }` [INFO] [stdout] 9e648bfe2ae99fb25582e7496432baf753387e893a06de935e073b4b2c75b003