[INFO] fetching crate ruma-signatures 0.18.0... [INFO] testing ruma-signatures-0.18.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate ruma-signatures 0.18.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate ruma-signatures 0.18.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ruma-signatures 0.18.0 [INFO] tweaked toml for crates.io crate ruma-signatures 0.18.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ruma-signatures 0.18.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ruma-signatures 0.18.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ruma-identifiers-validation v0.11.0 [INFO] [stderr] Downloaded wildmatch v2.4.0 [INFO] [stderr] Downloaded toml_datetime v0.6.9 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded ruma-macros v0.16.0 [INFO] [stderr] Downloaded hashbrown v0.15.3 [INFO] [stderr] Downloaded smallvec v1.15.0 [INFO] [stderr] Downloaded assert_matches2 v0.1.2 [INFO] [stderr] Downloaded serde_html_form v0.2.7 [INFO] [stderr] Downloaded ruma-common v0.16.0 [INFO] [stderr] Downloaded insta v1.43.1 [INFO] [stderr] Downloaded js_int v0.2.2 [INFO] [stderr] Downloaded toml v0.8.22 [INFO] [stderr] Downloaded winnow v0.7.10 [INFO] [stderr] Downloaded as_variant v1.3.0 [INFO] [stderr] Downloaded toml_edit v0.22.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f7eb7b7d41b3b2e00157e18242e68c4ee52dda2bf44dda7bf6b910392979dd0 [INFO] running `Command { std: "docker" "start" "-a" "9f7eb7b7d41b3b2e00157e18242e68c4ee52dda2bf44dda7bf6b910392979dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f7eb7b7d41b3b2e00157e18242e68c4ee52dda2bf44dda7bf6b910392979dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f7eb7b7d41b3b2e00157e18242e68c4ee52dda2bf44dda7bf6b910392979dd0", kill_on_drop: false }` [INFO] [stdout] 9f7eb7b7d41b3b2e00157e18242e68c4ee52dda2bf44dda7bf6b910392979dd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ba76b20c419e8d6b9ba06b0e80747be992419df42dd817f08f553a927c0a50b [INFO] running `Command { std: "docker" "start" "-a" "0ba76b20c419e8d6b9ba06b0e80747be992419df42dd817f08f553a927c0a50b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling js_int v0.2.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling ruma-common v0.16.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wildmatch v2.4.0 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ruma-signatures v0.18.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling as_variant v1.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling ruma-identifiers-validation v0.11.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [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 idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_html_form v0.2.7 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling ruma-macros v0.16.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "0ba76b20c419e8d6b9ba06b0e80747be992419df42dd817f08f553a927c0a50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ba76b20c419e8d6b9ba06b0e80747be992419df42dd817f08f553a927c0a50b", kill_on_drop: false }` [INFO] [stdout] 0ba76b20c419e8d6b9ba06b0e80747be992419df42dd817f08f553a927c0a50b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 862c28a735948d51853f4f70ec859ac5d8b674d6b1934666602315649142839a [INFO] running `Command { std: "docker" "start" "-a" "862c28a735948d51853f4f70ec859ac5d8b674d6b1934666602315649142839a", 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.1.1 [INFO] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ruma-signatures v0.18.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.01s [INFO] running `Command { std: "docker" "inspect" "862c28a735948d51853f4f70ec859ac5d8b674d6b1934666602315649142839a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "862c28a735948d51853f4f70ec859ac5d8b674d6b1934666602315649142839a", kill_on_drop: false }` [INFO] [stdout] 862c28a735948d51853f4f70ec859ac5d8b674d6b1934666602315649142839a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b6e25cecf8db7e77d6a5c024f36a12a7669acd27fd68232e5ea9071a3fe9a988 [INFO] running `Command { std: "docker" "start" "-a" "b6e25cecf8db7e77d6a5c024f36a12a7669acd27fd68232e5ea9071a3fe9a988", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ruma_signatures-f29aa1c5ad3dd69b) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test functions::tests::servers_to_check_signatures_invite_via_third_party ... ok [INFO] [stdout] test functions::tests::canonical_json_complex ... 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::verification_fails_if_required_keys_are_not_given ... ok [INFO] [stdout] test functions::tests::verify_event_does_not_check_signatures_invite_via_third_party_id ... ok [INFO] [stdout] test functions::tests::verify_canonical_json_bytes_success ... ok [INFO] [stdout] test functions::tests::verify_event_with_single_key_with_unknown_algorithm_should_not_accept_event ... ok [INFO] [stdout] test functions::tests::verify_canonical_json_bytes_wrong_key ... ok [INFO] [stdout] test keys::tests::generate_key ... 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 signatures::tests::unknown_key_id_algorithm ... ok [INFO] [stdout] test tests::canonical_json_examples ... 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::sign_redacted_event ... 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_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_empty_json ... ok [INFO] [stdout] test tests::verify_minimal_event ... ok [INFO] [stdout] test functions::tests::verify_event_checks_all_signatures_from_sender_entity ... ok [INFO] [stdout] test functions::tests::verify_event_check_signatures_for_authorized_user ... ok [INFO] [stdout] test functions::tests::verify_event_check_signatures_for_both_sender_and_event_id ... ok [INFO] [stdout] test tests::verify_minimal_json ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-5f7428ef2153cd18) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test verify_event_check_signatures_for_authorized_user ... ok [INFO] [stderr] Doc-tests ruma_signatures [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.36s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/functions.rs - functions::canonical_json (line 152) ... ok [INFO] [stdout] test src/functions.rs - functions::verify_event (line 599) ... ok [INFO] [stdout] test src/functions.rs - functions::sign_json (line 64) ... ok [INFO] [stdout] test src/functions.rs - functions::hash_and_sign_event (line 471) ... ok [INFO] [stdout] test src/functions.rs - functions::verify_json (line 190) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b6e25cecf8db7e77d6a5c024f36a12a7669acd27fd68232e5ea9071a3fe9a988", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e25cecf8db7e77d6a5c024f36a12a7669acd27fd68232e5ea9071a3fe9a988", kill_on_drop: false }` [INFO] [stdout] b6e25cecf8db7e77d6a5c024f36a12a7669acd27fd68232e5ea9071a3fe9a988