[INFO] fetching crate rest-api 0.1.8... [INFO] testing rest-api-0.1.8 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rest-api 0.1.8 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rest-api 0.1.8 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rest-api 0.1.8 [INFO] tweaked toml for crates.io crate rest-api 0.1.8 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rest-api 0.1.8 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rest-api 0.1.8 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c36f758fd03948e4d1f0f350e5146dea5ec209abe37e39aed507484f0c1ac64 [INFO] running `Command { std: "docker" "start" "-a" "3c36f758fd03948e4d1f0f350e5146dea5ec209abe37e39aed507484f0c1ac64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c36f758fd03948e4d1f0f350e5146dea5ec209abe37e39aed507484f0c1ac64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c36f758fd03948e4d1f0f350e5146dea5ec209abe37e39aed507484f0c1ac64", kill_on_drop: false }` [INFO] [stdout] 3c36f758fd03948e4d1f0f350e5146dea5ec209abe37e39aed507484f0c1ac64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c06cad117b29abe107d8e80f03cc42679295d52b71431df40e2bb330d07a5245 [INFO] running `Command { std: "docker" "start" "-a" "c06cad117b29abe107d8e80f03cc42679295d52b71431df40e2bb330d07a5245", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling data-encoding v2.7.0 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling candid v0.10.12 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling rest-api v0.1.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.66s [INFO] running `Command { std: "docker" "inspect" "c06cad117b29abe107d8e80f03cc42679295d52b71431df40e2bb330d07a5245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c06cad117b29abe107d8e80f03cc42679295d52b71431df40e2bb330d07a5245", kill_on_drop: false }` [INFO] [stdout] c06cad117b29abe107d8e80f03cc42679295d52b71431df40e2bb330d07a5245 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1744c7c11b037572277024d67005e64edb4c420e2b355aee0983229257b8102d [INFO] running `Command { std: "docker" "start" "-a" "1744c7c11b037572277024d67005e64edb4c420e2b355aee0983229257b8102d", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling rest-api v0.1.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.85s [INFO] running `Command { std: "docker" "inspect" "1744c7c11b037572277024d67005e64edb4c420e2b355aee0983229257b8102d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1744c7c11b037572277024d67005e64edb4c420e2b355aee0983229257b8102d", kill_on_drop: false }` [INFO] [stdout] 1744c7c11b037572277024d67005e64edb4c420e2b355aee0983229257b8102d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a1cfe35396e08fbcef285a38e6d55502ad5d5ad3cd645bc4d9af16256b5b5720 [INFO] running `Command { std: "docker" "start" "-a" "a1cfe35396e08fbcef285a38e6d55502ad5d5ad3cd645bc4d9af16256b5b5720", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rest_api-2e85d37c80b81efc) [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/get.rs (/opt/rustwide/target/debug/deps/get-d12a7e921bfb8762) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_query_params_with_unicode ... ok [INFO] [stdout] test test_query_params_with_special_chars ... ok [INFO] [stdout] test test_query_params_encoding ... ok [INFO] [stdout] test test_query_params_empty ... ok [INFO] [stdout] test test_get_with_query ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--test get` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_get_with_query stdout ---- [INFO] [stdout] "https://jsonplaceholder.typicode.com/posts?id=1" [INFO] [stdout] Error: ApiError { _message: "error sending request for url (https://jsonplaceholder.typicode.com/posts?id=1)" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_get_with_query [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a1cfe35396e08fbcef285a38e6d55502ad5d5ad3cd645bc4d9af16256b5b5720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1cfe35396e08fbcef285a38e6d55502ad5d5ad3cd645bc4d9af16256b5b5720", kill_on_drop: false }` [INFO] [stdout] a1cfe35396e08fbcef285a38e6d55502ad5d5ad3cd645bc4d9af16256b5b5720