[INFO] fetching crate obs-sdk 0.1.2... [INFO] testing obs-sdk-0.1.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate obs-sdk 0.1.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate obs-sdk 0.1.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate obs-sdk 0.1.2 [INFO] tweaked toml for crates.io crate obs-sdk 0.1.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate obs-sdk 0.1.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate obs-sdk 0.1.2 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d68d9f03e77e01fc19cc0c7183200a7cd579dfc57f63ae6b4bbcd3e7a47c353e [INFO] running `Command { std: "docker" "start" "-a" "d68d9f03e77e01fc19cc0c7183200a7cd579dfc57f63ae6b4bbcd3e7a47c353e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d68d9f03e77e01fc19cc0c7183200a7cd579dfc57f63ae6b4bbcd3e7a47c353e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d68d9f03e77e01fc19cc0c7183200a7cd579dfc57f63ae6b4bbcd3e7a47c353e", kill_on_drop: false }` [INFO] [stdout] d68d9f03e77e01fc19cc0c7183200a7cd579dfc57f63ae6b4bbcd3e7a47c353e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f04aad4229758e4f19385683caa9d0ccf599e97064b223bd024d342ab463a539 [INFO] running `Command { std: "docker" "start" "-a" "f04aad4229758e4f19385683caa9d0ccf599e97064b223bd024d342ab463a539", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling md5 v0.8.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling parking_lot v0.12.4 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.47.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 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 tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling obs-sdk v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `md5_str` is never used [INFO] [stdout] --> src/utils.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn md5_str(data: &Vec) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sign_to_hex` is never used [INFO] [stdout] --> src/algorithm.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl HmacSha1 { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn sign_to_hex(&self, data: &str, key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.55s [INFO] running `Command { std: "docker" "inspect" "f04aad4229758e4f19385683caa9d0ccf599e97064b223bd024d342ab463a539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f04aad4229758e4f19385683caa9d0ccf599e97064b223bd024d342ab463a539", kill_on_drop: false }` [INFO] [stdout] f04aad4229758e4f19385683caa9d0ccf599e97064b223bd024d342ab463a539 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83c95bc01672c4dc1e8964fa80de78c4ce7c138afdfe0795686fcb37ad63e20a [INFO] running `Command { std: "docker" "start" "-a" "83c95bc01672c4dc1e8964fa80de78c4ce7c138afdfe0795686fcb37ad63e20a", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling obs-sdk v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `md5_str` is never used [INFO] [stdout] --> src/utils.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn md5_str(data: &Vec) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sign_to_hex` is never used [INFO] [stdout] --> src/algorithm.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl HmacSha1 { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn sign_to_hex(&self, data: &str, key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sign_to_hex` is never used [INFO] [stdout] --> src/algorithm.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl HmacSha1 { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn sign_to_hex(&self, data: &str, key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "83c95bc01672c4dc1e8964fa80de78c4ce7c138afdfe0795686fcb37ad63e20a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c95bc01672c4dc1e8964fa80de78c4ce7c138afdfe0795686fcb37ad63e20a", kill_on_drop: false }` [INFO] [stdout] 83c95bc01672c4dc1e8964fa80de78c4ce7c138afdfe0795686fcb37ad63e20a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 60acf2a7616d345bacc5ea6c339213c46b029ee32d8e11a7d5cc925d85577208 [INFO] running `Command { std: "docker" "start" "-a" "60acf2a7616d345bacc5ea6c339213c46b029ee32d8e11a7d5cc925d85577208", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] warning: function `md5_str` is never used [INFO] [stderr] --> src/utils.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn md5_str(data: &Vec) -> String { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `sign_to_hex` is never used [INFO] [stderr] --> src/algorithm.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl HmacSha1 { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 21 | pub fn sign_to_hex(&self, data: &str, key: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `sign_to_hex` is never used [INFO] [stderr] --> src/algorithm.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl HmacSha1 { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 21 | pub fn sign_to_hex(&self, data: &str, key: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `obs-sdk` (lib) generated 2 warnings [INFO] [stderr] warning: `obs-sdk` (lib test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/obs_sdk-42cf36156859d080) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test utils::tests::test_mime_type ... ok [INFO] [stdout] test tests::test_timestamp ... ok [INFO] [stdout] test utils::tests::test_md5 ... ok [INFO] [stdout] test tests::test_parse_xml ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/samples.rs (/opt/rustwide/target/debug/deps/samples-10175ec4dfc26a17) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_download_file02 ... FAILED [INFO] [stdout] test test_url_sign ... ok [INFO] [stdout] test test_upload_object ... FAILED [INFO] [stdout] test test_download_file01 ... FAILED [INFO] [stdout] test test_list_prefix ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_download_file02 stdout ---- [INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] ---- test_upload_object stdout ---- [INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] ---- test_download_file01 stdout ---- [INFO] [stdout] string_to_sign: GET [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Thu, 02 Oct 2025 03:59:36 GMT [INFO] [stdout] /bucket_name/2hls_stutter-10.mp4 [INFO] [stdout] sign = XKlrbNluRTeT30gEF7xFU/JVErg= [INFO] [stdout] Error: reqwest::Error { kind: Request, url: "https://bucket_name.obs.cn-north-4.myhuaweicloud.com/2hls_stutter-10.mp4", source: hyper_util::client::legacy::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] ---- test_list_prefix stdout ---- [INFO] [stdout] string_to_sign: GET [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Thu, 02 Oct 2025 03:59:36 GMT [INFO] [stdout] /bucket_name/ [INFO] [stdout] sign = KMcuOicNLwFFe6fL9iPzAauFztw= [INFO] [stdout] Error: reqwest::Error { kind: Request, url: "https://bucket_name.obs.cn-north-4.myhuaweicloud.com/?prefix=tmp", source: hyper_util::client::legacy::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_download_file01 [INFO] [stdout] test_download_file02 [INFO] [stdout] test_list_prefix [INFO] [stdout] test_upload_object [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test samples` [INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "60acf2a7616d345bacc5ea6c339213c46b029ee32d8e11a7d5cc925d85577208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60acf2a7616d345bacc5ea6c339213c46b029ee32d8e11a7d5cc925d85577208", kill_on_drop: false }` [INFO] [stdout] 60acf2a7616d345bacc5ea6c339213c46b029ee32d8e11a7d5cc925d85577208