[INFO] fetching crate quantumapi 0.1.1-beta.1... [INFO] testing quantumapi-0.1.1-beta.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate quantumapi 0.1.1-beta.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate quantumapi 0.1.1-beta.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate quantumapi 0.1.1-beta.1 [INFO] tweaked toml for crates.io crate quantumapi 0.1.1-beta.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate quantumapi 0.1.1-beta.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate quantumapi 0.1.1-beta.1 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.63 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.113 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.113 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.113 [INFO] [stderr] Downloaded js-sys v0.3.90 [INFO] [stderr] Downloaded wasm-bindgen v0.2.113 [INFO] [stderr] Downloaded web-sys v0.3.90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15deec137ab4e624bd5126ff1eff6ea812ca010076fc430038eb4458a8b4461c [INFO] running `Command { std: "docker" "start" "-a" "15deec137ab4e624bd5126ff1eff6ea812ca010076fc430038eb4458a8b4461c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15deec137ab4e624bd5126ff1eff6ea812ca010076fc430038eb4458a8b4461c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15deec137ab4e624bd5126ff1eff6ea812ca010076fc430038eb4458a8b4461c", kill_on_drop: false }` [INFO] [stdout] 15deec137ab4e624bd5126ff1eff6ea812ca010076fc430038eb4458a8b4461c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 111b21fc367daa610d5a25dbe8d038cc7578cffff95df798eebee3b3ae0857e3 [INFO] running `Command { std: "docker" "start" "-a" "111b21fc367daa610d5a25dbe8d038cc7578cffff95df798eebee3b3ae0857e3", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling uuid v1.21.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling quantumapi v0.1.1-beta.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "111b21fc367daa610d5a25dbe8d038cc7578cffff95df798eebee3b3ae0857e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "111b21fc367daa610d5a25dbe8d038cc7578cffff95df798eebee3b3ae0857e3", kill_on_drop: false }` [INFO] [stdout] 111b21fc367daa610d5a25dbe8d038cc7578cffff95df798eebee3b3ae0857e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43eda6157da801d0dd13477006f7b65b3625fea903aaaeb65153a281633c89ca [INFO] running `Command { std: "docker" "start" "-a" "43eda6157da801d0dd13477006f7b65b3625fea903aaaeb65153a281633c89ca", kill_on_drop: false }` [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling colored v3.1.1 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling mockito v1.7.2 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling quantumapi v0.1.1-beta.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `custom_client` [INFO] [stdout] --> examples/06_configuration.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let custom_client = QuantumAPIClient::builder(&config.api_key) [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `production_client` [INFO] [stdout] --> examples/06_configuration.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let production_client = QuantumAPIClient::builder( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_production_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `staging_client` [INFO] [stdout] --> examples/06_configuration.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let staging_client = QuantumAPIClient::builder( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_staging_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `retries` is never read [INFO] [stdout] --> examples/06_configuration.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | retries: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "43eda6157da801d0dd13477006f7b65b3625fea903aaaeb65153a281633c89ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43eda6157da801d0dd13477006f7b65b3625fea903aaaeb65153a281633c89ca", kill_on_drop: false }` [INFO] [stdout] 43eda6157da801d0dd13477006f7b65b3625fea903aaaeb65153a281633c89ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f4eafdc93365bf2ba95fb8a6b6b63c593222c23a0d1e7bf636345ebe930786b6 [INFO] running `Command { std: "docker" "start" "-a" "f4eafdc93365bf2ba95fb8a6b6b63c593222c23a0d1e7bf636345ebe930786b6", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `custom_client` [INFO] [stderr] --> examples/06_configuration.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | let custom_client = QuantumAPIClient::builder(&config.api_key) [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom_client` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `production_client` [INFO] [stderr] --> examples/06_configuration.rs:114:9 [INFO] [stderr] | [INFO] [stderr] 114 | let production_client = QuantumAPIClient::builder( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_production_client` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `staging_client` [INFO] [stderr] --> examples/06_configuration.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 120 | let staging_client = QuantumAPIClient::builder( [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_staging_client` [INFO] [stderr] [INFO] [stderr] warning: field `retries` is never read [INFO] [stderr] --> examples/06_configuration.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 14 | struct AppConfig { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | retries: u32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `quantumapi` (example "06_configuration") generated 4 warnings (run `cargo fix --example "06_configuration" -p quantumapi` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quantumapi-ffb7b44665a898ec) [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] [stderr] Running tests/unit_tests.rs (/opt/rustwide/target/debug/deps/unit_tests-cc6efda7d273cd58) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test config_builder_builds_correctly ... ok [INFO] [stdout] test config_builder_rejects_missing_api_key ... ok [INFO] [stdout] test config_new_accepts_valid_api_key ... ok [INFO] [stdout] test config_new_rejects_empty_api_key ... ok [INFO] [stdout] test create_share_link_request_defaults_to_no_expiry ... ok [INFO] [stdout] test create_secret_request_builder_works ... ok [INFO] [stdout] test create_secret_request_metadata_builder ... ok [INFO] [stdout] test create_share_link_request_builder_works ... ok [INFO] [stdout] test decrypt_request_from_payload_serialises_correctly ... ok [INFO] [stdout] test encrypt_request_serialises_correctly ... ok [INFO] [stdout] test error_display_rate_limit ... ok [INFO] [stdout] test key_type_round_trips_through_json ... ok [INFO] [stdout] test update_key_request_serialises_correctly ... ok [INFO] [stdout] test error_display_authentication ... ok [INFO] [stdout] test error_display_not_found ... ok [INFO] [stdout] test error_status_code_maps_correctly ... ok [INFO] [stdout] test update_key_request_skips_none_fields ... ok [INFO] [stdout] test quantum_api_error_is_alias_for_error ... ok [INFO] [stdout] test verify_signature_rejects_empty_secret ... ok [INFO] [stdout] test verify_signature_rejects_invalid_hex ... ok [INFO] [stdout] test verify_signature_rejects_wrong_secret ... ok [INFO] [stdout] test verify_signature_rejects_tampered_payload ... ok [INFO] [stdout] test verify_signature_accepts_valid_hmac ... ok [INFO] [stdout] test error_display_validation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] Doc-tests quantumapi [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/client.rs - client::QuantumAPIClient::builder (line 377) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 8) - compile ... ok [INFO] [stdout] test src/client.rs - client::QuantumAPIClient (line 320) - compile ... ok [INFO] [stdout] test src/webhooks.rs - webhooks::verify_signature (line 21) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f4eafdc93365bf2ba95fb8a6b6b63c593222c23a0d1e7bf636345ebe930786b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4eafdc93365bf2ba95fb8a6b6b63c593222c23a0d1e7bf636345ebe930786b6", kill_on_drop: false }` [INFO] [stdout] f4eafdc93365bf2ba95fb8a6b6b63c593222c23a0d1e7bf636345ebe930786b6