[INFO] fetching crate opcua-crypto 0.8.0... [INFO] testing opcua-crypto-0.8.0 against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] extracting crate opcua-crypto 0.8.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate opcua-crypto 0.8.0 on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate opcua-crypto 0.8.0 [INFO] finished tweaking crates.io crate opcua-crypto 0.8.0 [INFO] tweaked toml for crates.io crate opcua-crypto 0.8.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "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" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 667bc3dc5e5132332cab5fa51c9458ed52e5ec2082ca0105f799ef9ddaa2d32d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "667bc3dc5e5132332cab5fa51c9458ed52e5ec2082ca0105f799ef9ddaa2d32d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "667bc3dc5e5132332cab5fa51c9458ed52e5ec2082ca0105f799ef9ddaa2d32d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "667bc3dc5e5132332cab5fa51c9458ed52e5ec2082ca0105f799ef9ddaa2d32d", kill_on_drop: false }` [INFO] [stdout] 667bc3dc5e5132332cab5fa51c9458ed52e5ec2082ca0105f799ef9ddaa2d32d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24f69f9d1dd1fc9f92ab35baff83a5ac02beffdc649e3c356527fe8dee205c60 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "24f69f9d1dd1fc9f92ab35baff83a5ac02beffdc649e3c356527fe8dee205c60", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling gethostname v0.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling opcua-types v0.8.0 [INFO] [stderr] Compiling opcua-crypto v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 20s [INFO] running `Command { std: "docker" "inspect" "24f69f9d1dd1fc9f92ab35baff83a5ac02beffdc649e3c356527fe8dee205c60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24f69f9d1dd1fc9f92ab35baff83a5ac02beffdc649e3c356527fe8dee205c60", kill_on_drop: false }` [INFO] [stdout] 24f69f9d1dd1fc9f92ab35baff83a5ac02beffdc649e3c356527fe8dee205c60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 90a26aa70808230159453097462c9629ce71889316e4ef75ff6b48e5dc8d4664 [INFO] running `Command { std: "docker" "start" "-a" "90a26aa70808230159453097462c9629ce71889316e4ef75ff6b48e5dc8d4664", kill_on_drop: false }` [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [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.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling opcua-crypto v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.89s [INFO] running `Command { std: "docker" "inspect" "90a26aa70808230159453097462c9629ce71889316e4ef75ff6b48e5dc8d4664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90a26aa70808230159453097462c9629ce71889316e4ef75ff6b48e5dc8d4664", kill_on_drop: false }` [INFO] [stdout] 90a26aa70808230159453097462c9629ce71889316e4ef75ff6b48e5dc8d4664 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2de7ac21d1eb79ecfca557ca135e372593958efdd5562ac1e28cc5f7b8eb2738 [INFO] running `Command { std: "docker" "start" "-a" "2de7ac21d1eb79ecfca557ca135e372593958efdd5562ac1e28cc5f7b8eb2738", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/opcua_crypto-9d3ce777df52ea93 [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test tests::crypto::aes_test ... ok [INFO] [stdout] test tests::authentication::user_name_identity_token_plaintext ... ok [INFO] [stdout] test tests::authentication::user_name_identity_token_valid ... ok [INFO] [stdout] test aeskey::tests::test_aeskey_cross_thread ... ok [INFO] [stdout] test tests::crypto::derive_keys_from_nonce_basic128rsa15 ... ok [INFO] [stdout] test tests::crypto::generate_nonce ... 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::encrypt_decrypt_password ... ok [INFO] [stdout] test tests::crypto::ensure_pki_path ... ok [INFO] [stdout] test tests::crypto::create_rejected_cert_in_pki ... ok [INFO] [stdout] test tests::authentication::user_name_identity_token_encrypted ... ok [INFO] [stdout] test tests::security_policy::from_str ... ok [INFO] [stdout] test tests::crypto::create_cert ... ok [INFO] [stdout] test tests::security_policy::is_deprecated ... ok [INFO] [stdout] test tests::security_policy::is_valid_keylength ... ok [INFO] [stdout] test tests::crypto::test_and_reject_application_instance_cert ... ok [INFO] [stdout] test tests::security_policy::to_uri ... ok [INFO] [stderr] 2020-11-28 19:13:36.927 - ERROR - opcua_crypto::x509 - Cannot parse ASN1 date, err = ParseError(TooShort) [INFO] [stderr] 2020-11-28 19:13:36.927 - ERROR - opcua_crypto::x509 - Cannot parse ASN1 date, err = ParseError(OutOfRange) [INFO] [stdout] test x509::tests::parse_asn1_date_test ... ok [INFO] [stdout] test tests::crypto::test_and_trust_application_instance_cert ... ok [INFO] [stderr] 2020-11-28 19:13:36.950 - 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] [stdout] test tests::crypto::sign_verify_sha256 ... ok [INFO] [stderr] 2020-11-28 19:13:37.077 - ERROR - opcua_crypto::certificate_store - Certificate in memory does not match the one on disk /tmp/pki.jjNOXGAJPvdb/trusted/x [15e1e77a28166562dc004ed0b5e5b5b44df546ca].der so cert will automatically be treated as untrusted [INFO] [stdout] test tests::crypto::test_and_reject_thumbprint_mismatch ... ok [INFO] [stdout] test tests::crypto::calculate_cipher_text_size ... ok [INFO] [stdout] test tests::crypto::sign_verify_sha1 ... ok [INFO] [stderr] 2020-11-28 19:13:37.618 - 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::sign_verify_sha256_pss ... ok [INFO] [stderr] 2020-11-28 19:13:37.846 - ERROR - opcua_crypto::x509 - Hostname is empty [INFO] [stderr] 2020-11-28 19:13:37.863 - 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] 2020-11-28 19:13:37.864 - 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] 2020-11-28 19:13:37.865 - 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] 2020-11-28 19:13:37.866 - 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] [stdout] test tests::crypto::asymmetric_encrypt_and_decrypt ... ok [INFO] [stdout] test tests::crypto::create_own_cert_in_pki ... ok [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 [INFO] [stdout] [INFO] [stderr] Doc-tests opcua-crypto [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2de7ac21d1eb79ecfca557ca135e372593958efdd5562ac1e28cc5f7b8eb2738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2de7ac21d1eb79ecfca557ca135e372593958efdd5562ac1e28cc5f7b8eb2738", kill_on_drop: false }` [INFO] [stdout] 2de7ac21d1eb79ecfca557ca135e372593958efdd5562ac1e28cc5f7b8eb2738