[INFO] fetching crate opcua-crypto 0.8.1... [INFO] testing opcua-crypto-0.8.1 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate opcua-crypto 0.8.1 into /workspace/builds/worker-78/source [INFO] validating manifest of crates.io crate opcua-crypto 0.8.1 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate opcua-crypto 0.8.1 [INFO] finished tweaking crates.io crate opcua-crypto 0.8.1 [INFO] tweaked toml for crates.io crate opcua-crypto 0.8.1 written to /workspace/builds/worker-78/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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" "+62efba8a050c64249dab942951bb28f710208bc8" "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-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 870141b5c8e78aabd26bf8a1adc52b14c80ccfc3a25551b22da01057f983e7c2 [INFO] running `Command { std: "docker" "start" "-a" "870141b5c8e78aabd26bf8a1adc52b14c80ccfc3a25551b22da01057f983e7c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "870141b5c8e78aabd26bf8a1adc52b14c80ccfc3a25551b22da01057f983e7c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "870141b5c8e78aabd26bf8a1adc52b14c80ccfc3a25551b22da01057f983e7c2", kill_on_drop: false }` [INFO] [stdout] 870141b5c8e78aabd26bf8a1adc52b14c80ccfc3a25551b22da01057f983e7c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 747afd39d3fe413257bac7db6c8d0aad5e09a10e3cc965e71690f4fe01d3e876 [INFO] running `Command { std: "docker" "start" "-a" "747afd39d3fe413257bac7db6c8d0aad5e09a10e3cc965e71690f4fe01d3e876", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling gethostname v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling opcua-types v0.8.1 [INFO] [stderr] Compiling opcua-crypto v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.15s [INFO] running `Command { std: "docker" "inspect" "747afd39d3fe413257bac7db6c8d0aad5e09a10e3cc965e71690f4fe01d3e876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "747afd39d3fe413257bac7db6c8d0aad5e09a10e3cc965e71690f4fe01d3e876", kill_on_drop: false }` [INFO] [stdout] 747afd39d3fe413257bac7db6c8d0aad5e09a10e3cc965e71690f4fe01d3e876 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67724d5dd1538c00c492970ff6dc423de2503ac7de601ec0e4f8b822c1b4e3f9 [INFO] running `Command { std: "docker" "start" "-a" "67724d5dd1538c00c492970ff6dc423de2503ac7de601ec0e4f8b822c1b4e3f9", kill_on_drop: false }` [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling opcua-console-logging v0.8.1 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling opcua-crypto v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.71s [INFO] running `Command { std: "docker" "inspect" "67724d5dd1538c00c492970ff6dc423de2503ac7de601ec0e4f8b822c1b4e3f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67724d5dd1538c00c492970ff6dc423de2503ac7de601ec0e4f8b822c1b4e3f9", kill_on_drop: false }` [INFO] [stdout] 67724d5dd1538c00c492970ff6dc423de2503ac7de601ec0e4f8b822c1b4e3f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ba00778074fcf3cf29ed857dc96066154f121cd634c0bea76e2cfebc75a785a4 [INFO] running `Command { std: "docker" "start" "-a" "ba00778074fcf3cf29ed857dc96066154f121cd634c0bea76e2cfebc75a785a4", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/opcua_crypto-61c524ad5f099cc6) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test aeskey::tests::test_aeskey_cross_thread ... ok [INFO] [stdout] test tests::authentication::user_name_identity_token_valid ... ok [INFO] [stdout] test tests::authentication::user_name_identity_token_plaintext ... ok [INFO] [stdout] test tests::crypto::ensure_pki_path ... ok [INFO] [stdout] test tests::security_policy::from_str ... ok [INFO] [stdout] test tests::security_policy::is_deprecated ... ok [INFO] [stdout] test tests::security_policy::is_valid_keylength ... ok [INFO] [stdout] test tests::security_policy::to_uri ... ok [INFO] [stderr] 2021-12-02 16:15:38.054 - ERROR - opcua_crypto::x509 - Cannot parse ASN1 date, err = ParseError(TooShort) [INFO] [stdout] test x509::tests::parse_asn1_date_test ... ok [INFO] [stderr] 2021-12-02 16:15:38.054 - ERROR - opcua_crypto::x509 - Cannot parse ASN1 date, err = ParseError(OutOfRange) [INFO] [stdout] test tests::crypto::generate_nonce ... ok [INFO] [stdout] test tests::crypto::aes_test ... ok [INFO] [stdout] test tests::crypto::derive_keys_from_nonce_basic128rsa15 ... ok [INFO] [stdout] test tests::crypto::sign_hmac_sha1 ... ok [INFO] [stdout] test tests::crypto::derive_keys_from_nonce ... ok [INFO] [stdout] test tests::crypto::sign_hmac_sha256 ... ok [INFO] [stdout] test tests::crypto::create_cert ... ok [INFO] [stdout] test tests::authentication::user_name_identity_token_encrypted ... ok [INFO] [stdout] test tests::crypto::encrypt_decrypt_password ... ok [INFO] [stdout] test tests::crypto::test_and_trust_application_instance_cert ... ok [INFO] [stdout] test tests::crypto::create_rejected_cert_in_pki ... ok [INFO] [stdout] test tests::crypto::sign_verify_sha256 ... ok [INFO] [stdout] test tests::crypto::test_and_reject_application_instance_cert ... ok [INFO] [stderr] 2021-12-02 16:15:38.135 - ERROR - opcua_crypto::x509 - Hostname is empty [INFO] [stderr] 2021-12-02 16:15:38.136 - ERROR - opcua_crypto::x509 - Cannot find a matching hostname for input uri:foo, alt names = host2, www.google.com, 192.168.1.1, ::1 [INFO] [stderr] 2021-12-02 16:15:38.136 - ERROR - opcua_crypto::x509 - Cannot find a matching hostname for input 192.168.1.0, alt names = host2, www.google.com, 192.168.1.1, ::1 [INFO] [stderr] 2021-12-02 16:15:38.136 - ERROR - opcua_crypto::x509 - Cannot find a matching hostname for input www.cnn.com, alt names = host2, www.google.com, 192.168.1.1, ::1 [INFO] [stderr] 2021-12-02 16:15:38.136 - ERROR - opcua_crypto::x509 - Cannot find a matching hostname for input host1, alt names = host2, www.google.com, 192.168.1.1, ::1 [INFO] [stdout] test x509::tests::alt_hostnames ... ok [INFO] [stderr] 2021-12-02 16:15:38.159 - ERROR - opcua_crypto::certificate_store - Certificate in memory does not match the one on disk /tmp/pki.oQ53iz4GSk4N/trusted/x [ee282c07a585932aaca54b1b5d966f840deeaa3c].der so cert will automatically be treated as untrusted [INFO] [stdout] test tests::crypto::sign_verify_sha256_pss ... ok [INFO] [stdout] test tests::crypto::test_and_reject_thumbprint_mismatch ... ok [INFO] [stdout] test tests::crypto::sign_verify_sha1 ... ok [INFO] [stdout] test tests::crypto::calculate_cipher_text_size ... ok [INFO] [stderr] 2021-12-02 16:15:38.218 - ERROR - opcua_crypto::x509 - Cert application uri urn:testapplication does not match supplied uri urn:WrongURI [INFO] [stdout] test tests::crypto::certificate_with_application_uri_mismatch ... ok [INFO] [stderr] 2021-12-02 16:15:38.256 - ERROR - opcua_crypto::x509 - Cannot find a matching hostname for input wrong_testhost, alt names = foo, foo2, testhost, foo3 [INFO] [stdout] test tests::crypto::certificate_with_hostname_mismatch ... ok [INFO] [stdout] test tests::crypto::asymmetric_encrypt_and_decrypt ... ok [INFO] [stdout] test tests::crypto::create_own_cert_in_pki ... ok [INFO] [stderr] Doc-tests opcua-crypto [INFO] [stdout] test tests::crypto::calculate_cipher_text_size2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.83s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ba00778074fcf3cf29ed857dc96066154f121cd634c0bea76e2cfebc75a785a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba00778074fcf3cf29ed857dc96066154f121cd634c0bea76e2cfebc75a785a4", kill_on_drop: false }` [INFO] [stdout] ba00778074fcf3cf29ed857dc96066154f121cd634c0bea76e2cfebc75a785a4