[INFO] fetching crate onshape-client-core 0.4.0... [INFO] testing onshape-client-core-0.4.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate onshape-client-core 0.4.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate onshape-client-core 0.4.0 [INFO] finished tweaking crates.io crate onshape-client-core 0.4.0 [INFO] tweaked toml for crates.io crate onshape-client-core 0.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate onshape-client-core 0.4.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 onshape-client-core 0.4.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ba63f9f8c1f776ebcb04d7e9a7ef9dba5fa7b3a65c73c02da46a792b77ca54be [INFO] running `Command { std: "docker" "start" "-a" "ba63f9f8c1f776ebcb04d7e9a7ef9dba5fa7b3a65c73c02da46a792b77ca54be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba63f9f8c1f776ebcb04d7e9a7ef9dba5fa7b3a65c73c02da46a792b77ca54be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba63f9f8c1f776ebcb04d7e9a7ef9dba5fa7b3a65c73c02da46a792b77ca54be", kill_on_drop: false }` [INFO] [stdout] ba63f9f8c1f776ebcb04d7e9a7ef9dba5fa7b3a65c73c02da46a792b77ca54be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f7372bce7a96286d9d1fbebdf4450a416f3271347772c90ea2c8a8a6516f286a [INFO] running `Command { std: "docker" "start" "-a" "f7372bce7a96286d9d1fbebdf4450a416f3271347772c90ea2c8a8a6516f286a", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [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 serde_path_to_error v0.1.20 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling schemars_derive v1.2.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [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 chrono v0.4.44 [INFO] [stderr] Compiling schemars v1.2.1 [INFO] [stderr] Compiling secrecy v0.10.3 [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 oauth2 v5.0.0 [INFO] [stderr] Compiling onshape-client-core v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.39s [INFO] running `Command { std: "docker" "inspect" "f7372bce7a96286d9d1fbebdf4450a416f3271347772c90ea2c8a8a6516f286a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7372bce7a96286d9d1fbebdf4450a416f3271347772c90ea2c8a8a6516f286a", kill_on_drop: false }` [INFO] [stdout] f7372bce7a96286d9d1fbebdf4450a416f3271347772c90ea2c8a8a6516f286a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4935464be3b425b46c13ed3bcca6f61527a034b36698ba64622f187c04c48e87 [INFO] running `Command { std: "docker" "start" "-a" "4935464be3b425b46c13ed3bcca6f61527a034b36698ba64622f187c04c48e87", kill_on_drop: false }` [INFO] [stderr] Compiling onshape-client-core v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "4935464be3b425b46c13ed3bcca6f61527a034b36698ba64622f187c04c48e87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4935464be3b425b46c13ed3bcca6f61527a034b36698ba64622f187c04c48e87", kill_on_drop: false }` [INFO] [stdout] 4935464be3b425b46c13ed3bcca6f61527a034b36698ba64622f187c04c48e87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6dcc5374e418e1248d58c6060e6b4f792d80d5c85cae70fac6acd338b6f5a050 [INFO] running `Command { std: "docker" "start" "-a" "6dcc5374e418e1248d58c6060e6b4f792d80d5c85cae70fac6acd338b6f5a050", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/onshape_client_core-bbb05dfc6442559f) [INFO] [stdout] [INFO] [stdout] running 80 tests [INFO] [stdout] test auth::tests::auth_method_auto_serializes_to_snake_case ... ok [INFO] [stdout] test auth::tests::auth_method_oauth_deserializes_from_snake_case ... ok [INFO] [stdout] test auth::tests::auth_method_deserializes_from_snake_case ... ok [INFO] [stdout] test auth::tests::auth_method_serializes_to_snake_case ... ok [INFO] [stdout] test auth::tests::auth_method_oauth_serializes_to_snake_case ... ok [INFO] [stdout] test auth::tests::basic_auth_encodes_correctly ... ok [INFO] [stdout] test auth::tests::basic_auth_handles_empty_keys ... ok [INFO] [stdout] test auth::tests::basic_auth_handles_colon_in_keys ... ok [INFO] [stdout] test auth::tests::basic_auth_handles_special_characters ... ok [INFO] [stdout] test auth::tests::basic_auth_matches_known_value ... ok [INFO] [stdout] test auth::tests::basic_auth_starts_with_basic_prefix ... ok [INFO] [stdout] test oauth::tests::apply_external_tokens_rejects_same_or_earlier_expiry ... ok [INFO] [stdout] test oauth::tests::apply_external_tokens_rejects_when_file_has_none_expiry ... ok [INFO] [stdout] test oauth::tests::apply_refresh_updates_tokens_without_expiry ... ok [INFO] [stdout] test oauth::tests::apply_refresh_updates_tokens_with_expiry ... ok [INFO] [stdout] test oauth::tests::from_response_preserves_scopes ... ok [INFO] [stdout] test oauth::tests::build_authorize_url_contains_required_params ... ok [INFO] [stdout] test auth::tests::bearer_auth_starts_with_bearer_prefix ... ok [INFO] [stdout] test oauth::tests::apply_external_tokens_adopts_fresher_tokens ... ok [INFO] [stdout] test oauth::tests::from_response_with_expiry ... ok [INFO] [stdout] test oauth::tests::build_authorize_url_with_no_scopes ... ok [INFO] [stdout] test oauth::tests::from_response_without_expiry ... ok [INFO] [stdout] test oauth::tests::default_token_file_path_returns_some ... ok [INFO] [stdout] test oauth::tests::is_expired_returns_false_when_future ... ok [INFO] [stdout] test oauth::tests::default_token_type_is_bearer ... ok [INFO] [stdout] test oauth::tests::from_raw_creates_token_data ... ok [INFO] [stdout] test oauth::tests::is_expired_returns_false_when_no_expiry ... ok [INFO] [stdout] test oauth::tests::is_expired_returns_true_when_exactly_at_expiry ... ok [INFO] [stdout] test oauth::tests::onshape_auth_url_is_valid ... ok [INFO] [stdout] test oauth::tests::is_expired_returns_true_when_past ... ok [INFO] [stdout] test oauth::tests::is_expiring_soon_false_when_well_before_margin ... ok [INFO] [stdout] test oauth::tests::onshape_token_url_is_valid ... ok [INFO] [stdout] test oauth::tests::is_expiring_soon_true_at_exact_margin_boundary ... ok [INFO] [stdout] test oauth::tests::is_expiring_soon_true_when_already_expired ... ok [INFO] [stdout] test oauth::tests::post_execute_done_on_200 ... ok [INFO] [stdout] test oauth::tests::post_execute_done_on_401_already_refreshed ... ok [INFO] [stdout] test oauth::tests::is_expiring_soon_true_when_within_margin ... ok [INFO] [stdout] test oauth::tests::apply_external_tokens_rejects_expired_file_tokens ... ok [INFO] [stdout] test oauth::tests::onshape_oauth_client_builds_successfully ... ok [INFO] [stdout] test oauth::tests::pre_execute_proceed_when_no_expiry ... ok [INFO] [stdout] test oauth::tests::is_expiring_soon_false_when_no_expiry ... ok [INFO] [stdout] test auth::tests::bearer_auth_handles_empty_token ... ok [INFO] [stdout] test oauth::tests::pre_execute_proceed_when_well_before_expiry ... ok [INFO] [stdout] test oauth::tests::post_execute_done_on_403 ... ok [INFO] [stdout] test oauth::tests::pre_execute_refresh_when_within_margin ... ok [INFO] [stdout] test oauth::tests::post_execute_refresh_and_retry_on_401_not_refreshed ... ok [INFO] [stdout] test oauth::tests::pre_execute_refresh_when_already_expired ... ok [INFO] [stdout] test oauth::tests::scopes_default_to_none_when_absent ... ok [INFO] [stdout] test oauth::tests::token_data_deserializes_from_json ... ok [INFO] [stdout] test oauth::tests::token_data_proxy_url_omitted_from_json_when_none ... ok [INFO] [stdout] test oauth::tests::token_data_json_shape_backward_compatible ... ok [INFO] [stdout] test auth::tests::bearer_auth_contains_token ... ok [INFO] [stdout] test oauth::tests::token_data_roundtrips_with_proxy_url ... ok [INFO] [stdout] test oauth::tests::scopes_deserialize_when_present ... ok [INFO] [stdout] test oauth::tests::token_data_roundtrips_with_expiry ... ok [INFO] [stdout] test oauth::tests::token_type_bearer_all_caps ... ok [INFO] [stdout] test oauth::tests::token_data_serializes_to_json ... ok [INFO] [stdout] test oauth::tests::scopes_omitted_from_json_when_none ... ok [INFO] [stdout] test oauth::tests::token_type_bearer_case_insensitive ... ok [INFO] [stdout] test oauth::tests::token_type_invalid_rejects ... ok [INFO] [stdout] test oauth::tests::scopes_serialize_when_present ... ok [INFO] [stdout] test oauth::tests::token_data_backward_compat_without_proxy_url ... ok [INFO] [stdout] test oauth::tests::validate_callback_detects_invalid_url ... ok [INFO] [stdout] test oauth::tests::validate_callback_detects_missing_state ... ok [INFO] [stdout] test oauth::tests::validate_callback_detects_oauth_error ... ok [INFO] [stdout] test request::tests::http_method_deserializes_uppercase ... ok [INFO] [stdout] test oauth::tests::validate_callback_extracts_code ... ok [INFO] [stdout] test request::tests::http_method_from_str_lowercase ... ok [INFO] [stdout] test oauth::tests::validate_callback_detects_state_mismatch ... ok [INFO] [stdout] test request::tests::http_method_from_str_mixed_case ... ok [INFO] [stdout] test request::tests::http_method_from_str_unknown ... ok [INFO] [stdout] test request::tests::api_request_serializes ... ok [INFO] [stdout] test request::tests::http_method_from_str_uppercase ... ok [INFO] [stdout] test oauth::tests::apply_external_tokens_rejects_when_both_none_expiry ... ok [INFO] [stdout] test oauth::tests::validate_callback_detects_missing_code ... ok [INFO] [stdout] test request::tests::http_method_display ... ok [INFO] [stdout] test request::tests::api_request_with_json_body_serializes ... ok [INFO] [stdout] test request::tests::request_body_as_json ... ok [INFO] [stdout] test auth::tests::auth_method_auto_deserializes_from_snake_case ... ok [INFO] [stdout] test request::tests::http_method_serializes_uppercase ... ok [INFO] [stderr] Doc-tests onshape_client_core [INFO] [stdout] [INFO] [stdout] test result: ok. 80 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/auth.rs - auth::basic_authorization_header_value (line 75) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.61s; merged doctests compilation took 0.58s [INFO] running `Command { std: "docker" "inspect" "6dcc5374e418e1248d58c6060e6b4f792d80d5c85cae70fac6acd338b6f5a050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dcc5374e418e1248d58c6060e6b4f792d80d5c85cae70fac6acd338b6f5a050", kill_on_drop: false }` [INFO] [stdout] 6dcc5374e418e1248d58c6060e6b4f792d80d5c85cae70fac6acd338b6f5a050