[INFO] fetching crate ruma-signatures 0.19.0... [INFO] testing ruma-signatures-0.19.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate ruma-signatures 0.19.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate ruma-signatures 0.19.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ruma-signatures 0.19.0 [INFO] tweaked toml for crates.io crate ruma-signatures 0.19.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ruma-signatures 0.19.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ruma-signatures 0.19.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab48fe3ef950f41adc16752152b42be96286810d8d48ad235b0fe69f997d7ad7 [INFO] running `Command { std: "docker" "start" "-a" "ab48fe3ef950f41adc16752152b42be96286810d8d48ad235b0fe69f997d7ad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab48fe3ef950f41adc16752152b42be96286810d8d48ad235b0fe69f997d7ad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab48fe3ef950f41adc16752152b42be96286810d8d48ad235b0fe69f997d7ad7", kill_on_drop: false }` [INFO] [stdout] ab48fe3ef950f41adc16752152b42be96286810d8d48ad235b0fe69f997d7ad7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 819cbd4d0e861bd4f1f496219f23bc67983385853dccb09153a9541abee53efc [INFO] running `Command { std: "docker" "start" "-a" "819cbd4d0e861bd4f1f496219f23bc67983385853dccb09153a9541abee53efc", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling indexmap v2.11.3 [INFO] [stderr] Compiling js_int v0.2.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling ruma-common v0.17.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ruma-signatures v0.19.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling as_variant v1.3.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling wildmatch v2.5.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling toml_datetime v0.7.1 [INFO] [stderr] Compiling serde_spanned v1.0.1 [INFO] [stderr] Compiling toml_edit v0.23.5 [INFO] [stderr] Compiling toml v0.9.6 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling serde_html_form v0.2.8 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ruma-identifiers-validation v0.12.0 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling ruma-macros v0.17.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.68s [INFO] running `Command { std: "docker" "inspect" "819cbd4d0e861bd4f1f496219f23bc67983385853dccb09153a9541abee53efc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "819cbd4d0e861bd4f1f496219f23bc67983385853dccb09153a9541abee53efc", kill_on_drop: false }` [INFO] [stdout] 819cbd4d0e861bd4f1f496219f23bc67983385853dccb09153a9541abee53efc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a276096cc676f4b866aeb199b6016ce3c9053da38aed5328a7ddb6ee4cc0e0df [INFO] running `Command { std: "docker" "start" "-a" "a276096cc676f4b866aeb199b6016ce3c9053da38aed5328a7ddb6ee4cc0e0df", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling assert_matches2 v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling insta v1.43.2 [INFO] [stderr] Compiling ruma-signatures v0.19.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.30s [INFO] running `Command { std: "docker" "inspect" "a276096cc676f4b866aeb199b6016ce3c9053da38aed5328a7ddb6ee4cc0e0df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a276096cc676f4b866aeb199b6016ce3c9053da38aed5328a7ddb6ee4cc0e0df", kill_on_drop: false }` [INFO] [stdout] a276096cc676f4b866aeb199b6016ce3c9053da38aed5328a7ddb6ee4cc0e0df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f57af1fc09f4362740c126d2aa3b0635510274699ae7a0e065677f753c5b170b [INFO] running `Command { std: "docker" "start" "-a" "f57af1fc09f4362740c126d2aa3b0635510274699ae7a0e065677f753c5b170b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ruma_signatures-61ed3e0caa63d674) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test functions::tests::canonical_json_complex ... ok [INFO] [stdout] test functions::tests::servers_to_check_signatures_invite_via_third_party ... ok [INFO] [stdout] test functions::tests::servers_to_check_signatures_restricted ... ok [INFO] [stdout] test functions::tests::servers_to_check_signatures_message ... ok [INFO] [stdout] test functions::tests::verify_canonical_json_bytes_unsupported_algorithm ... ok [INFO] [stdout] test functions::tests::verification_fails_if_missing_signatures_for_authorized_user ... ok [INFO] [stdout] test functions::tests::verify_event_with_single_key_with_unknown_algorithm_should_not_accept_event ... ok [INFO] [stdout] test signatures::tests::unknown_key_id_algorithm ... ok [INFO] [stdout] test functions::tests::verify_event_does_not_check_signatures_invite_via_third_party_id ... ok [INFO] [stdout] test signatures::tests::invalid_key_id_format ... ok [INFO] [stdout] test keys::tests::well_formed_key ... ok [INFO] [stdout] test signatures::tests::valid_key_id ... ok [INFO] [stdout] test functions::tests::verification_fails_if_required_keys_are_not_given ... ok [INFO] [stdout] test tests::fail_verify_json ... ok [INFO] [stdout] test tests::sign_empty_json ... ok [INFO] [stdout] test tests::sign_minimal_event ... ok [INFO] [stdout] test tests::sign_minimal_json ... ok [INFO] [stdout] test tests::canonical_json_examples ... ok [INFO] [stdout] test functions::tests::verify_canonical_json_bytes_wrong_key ... ok [INFO] [stdout] test tests::sign_redacted_event ... ok [INFO] [stdout] test keys::tests::generate_key ... ok [INFO] [stdout] test functions::tests::verify_canonical_json_bytes_success ... ok [INFO] [stdout] test functions::tests::verify_event_fails_with_missing_key_when_event_is_signed_multiple_times_by_same_entity ... ok [INFO] [stdout] test functions::tests::verify_event_fails_if_public_key_is_invalid ... ok [INFO] [stdout] test tests::verify_minimal_json ... ok [INFO] [stdout] test functions::tests::verify_event_check_signatures_for_sender_is_allowed_with_unknown_algorithms_in_key_map ... ok [INFO] [stdout] test functions::tests::verify_event_checks_all_signatures_from_sender_entity ... ok [INFO] [stdout] test tests::verify_empty_json ... ok [INFO] [stdout] test tests::verify_minimal_event ... ok [INFO] [stdout] test functions::tests::verify_event_check_signatures_for_both_sender_and_event_id ... ok [INFO] [stdout] test functions::tests::verify_event_check_signatures_for_authorized_user ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Running tests/it/main.rs (/opt/rustwide/target/debug/deps/it-3763393873c429f7) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test functions::verify_event_check_signatures_for_authorized_user ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests ruma_signatures [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/functions.rs - functions::hash_and_sign_event (line 471) ... ok [INFO] [stdout] test src/functions.rs - functions::canonical_json (line 152) ... ok [INFO] [stdout] test src/functions.rs - functions::verify_json (line 190) ... ok [INFO] [stdout] test src/functions.rs - functions::sign_json (line 64) ... ok [INFO] [stdout] test src/functions.rs - functions::verify_event (line 599) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.71s; merged doctests compilation took 1.64s [INFO] running `Command { std: "docker" "inspect" "f57af1fc09f4362740c126d2aa3b0635510274699ae7a0e065677f753c5b170b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f57af1fc09f4362740c126d2aa3b0635510274699ae7a0e065677f753c5b170b", kill_on_drop: false }` [INFO] [stdout] f57af1fc09f4362740c126d2aa3b0635510274699ae7a0e065677f753c5b170b