[INFO] fetching crate qiniu-credential 0.2.3... [INFO] testing qiniu-credential-0.2.3 against master#ff2c56344c764af598ad33027e9c7a48881808ef for pr-118825 [INFO] extracting crate qiniu-credential 0.2.3 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate qiniu-credential 0.2.3 on toolchain ff2c56344c764af598ad33027e9c7a48881808ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate qiniu-credential 0.2.3 [INFO] finished tweaking crates.io crate qiniu-credential 0.2.3 [INFO] tweaked toml for crates.io crate qiniu-credential 0.2.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert-impl v0.1.3 [INFO] [stderr] Downloaded smallstr v0.3.0 [INFO] [stderr] Downloaded qiniu-utils v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20c7f835422a837b957d8dbf785c290bfec99b360459578f0c65af43065f0e22 [INFO] running `Command { std: "docker" "start" "-a" "20c7f835422a837b957d8dbf785c290bfec99b360459578f0c65af43065f0e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20c7f835422a837b957d8dbf785c290bfec99b360459578f0c65af43065f0e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20c7f835422a837b957d8dbf785c290bfec99b360459578f0c65af43065f0e22", kill_on_drop: false }` [INFO] [stdout] 20c7f835422a837b957d8dbf785c290bfec99b360459578f0c65af43065f0e22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] feaeb1ef9bccd8f586bb3663e0470fac8341ec0173032ebd393a31df962a2f2d [INFO] running `Command { std: "docker" "start" "-a" "feaeb1ef9bccd8f586bb3663e0470fac8341ec0173032ebd393a31df962a2f2d", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling smallstr v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling dyn-clone v1.0.16 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling assert-impl v0.1.3 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling qiniu-utils v0.2.3 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling auto_impl v1.1.0 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling qiniu-credential v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.29s [INFO] running `Command { std: "docker" "inspect" "feaeb1ef9bccd8f586bb3663e0470fac8341ec0173032ebd393a31df962a2f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feaeb1ef9bccd8f586bb3663e0470fac8341ec0173032ebd393a31df962a2f2d", kill_on_drop: false }` [INFO] [stdout] feaeb1ef9bccd8f586bb3663e0470fac8341ec0173032ebd393a31df962a2f2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf5c6ba71f36a3e45cdc29f062b3a46bf56e4b6628ced284afce505083992669 [INFO] running `Command { std: "docker" "start" "-a" "bf5c6ba71f36a3e45cdc29f062b3a46bf56e4b6628ced284afce505083992669", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling value-bag v1.4.2 [INFO] [stderr] Compiling futures-lite v2.1.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling async-task v4.5.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling event-listener v4.0.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling async-lock v3.2.0 [INFO] [stderr] Compiling async-channel v2.1.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling polling v3.3.1 [INFO] [stderr] Compiling async-io v2.2.2 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling qiniu-credential v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.79s [INFO] running `Command { std: "docker" "inspect" "bf5c6ba71f36a3e45cdc29f062b3a46bf56e4b6628ced284afce505083992669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf5c6ba71f36a3e45cdc29f062b3a46bf56e4b6628ced284afce505083992669", kill_on_drop: false }` [INFO] [stdout] bf5c6ba71f36a3e45cdc29f062b3a46bf56e4b6628ced284afce505083992669 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e7e8082a27698cdc9733b2d29e2ccab274958b9d7ad1ce06478fc53135da755 [INFO] running `Command { std: "docker" "start" "-a" "8e7e8082a27698cdc9733b2d29e2ccab274958b9d7ad1ce06478fc53135da755", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qiniu_credential-6853ec97558cce6f) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test key::tests::test_serialize ... ok [INFO] [stdout] test key::tests::test_deserialize ... ok [INFO] [stdout] test tests::test_authorization_v1_with_body_reader ... ok [INFO] [stdout] test tests::test_chain_credentials ... ok [INFO] [stdout] test tests::test_sign_download_url ... ok [INFO] [stdout] test tests::test_sign ... ok [INFO] [stdout] test tests::test_sign_with_data ... ok [INFO] [stdout] test tests::test_build_empty_chain_credentials - should panic ... ok [INFO] [stdout] test tests::test_authorization_v2_with_body_reader ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_authorization_v2_with_body_reader stdout ---- [INFO] [stdout] Error: GlobalCredentialProvider is not setuped, please call GlobalCredentialProvider::setup() to do it [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.75/src/error.rs:551:25 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/result.rs:1959:27 [INFO] [stdout] 2: qiniu_credential::tests::test_authorization_v2_with_body_reader [INFO] [stdout] at ./src/lib.rs:1275:13 [INFO] [stdout] 3: qiniu_credential::tests::test_authorization_v2_with_body_reader::{{closure}} [INFO] [stdout] at ./src/lib.rs:1216:52 [INFO] [stdout] 4: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 5: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 6: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:627:18 [INFO] [stdout] 7: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:650:60 [INFO] [stdout] 8: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 9: std::panicking::try::do_call [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:552:40 [INFO] [stdout] 10: std::panicking::try [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:516:19 [INFO] [stdout] 11: std::panic::catch_unwind [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panic.rs:142:14 [INFO] [stdout] 12: test::run_test_in_process [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:650:27 [INFO] [stdout] 13: test::run_test::{{closure}} [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:573:43 [INFO] [stdout] 14: test::run_test::{{closure}} [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:601:41 [INFO] [stdout] 15: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 16: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 17: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 18: std::panicking::try::do_call [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:552:40 [INFO] [stdout] 19: std::panicking::try [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:516:19 [INFO] [stdout] 20: std::panic::catch_unwind [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panic.rs:142:14 [INFO] [stdout] 21: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 22: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 24: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 25: std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 26: [INFO] [stdout] 27: __clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_authorization_v2_with_body_reader [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "8e7e8082a27698cdc9733b2d29e2ccab274958b9d7ad1ce06478fc53135da755", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e7e8082a27698cdc9733b2d29e2ccab274958b9d7ad1ce06478fc53135da755", kill_on_drop: false }` [INFO] [stdout] 8e7e8082a27698cdc9733b2d29e2ccab274958b9d7ad1ce06478fc53135da755 [INFO] testing qiniu-credential-0.2.3 against try#5e4273472e1b2f223618a9b3def795f6224f241d for pr-118825 [INFO] extracting crate qiniu-credential 0.2.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate qiniu-credential 0.2.3 on toolchain 5e4273472e1b2f223618a9b3def795f6224f241d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate qiniu-credential 0.2.3 [INFO] finished tweaking crates.io crate qiniu-credential 0.2.3 [INFO] tweaked toml for crates.io crate qiniu-credential 0.2.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d496e57ea1bb77b56de491a44888529ca405b4796225615385082e1b0d782861 [INFO] running `Command { std: "docker" "start" "-a" "d496e57ea1bb77b56de491a44888529ca405b4796225615385082e1b0d782861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d496e57ea1bb77b56de491a44888529ca405b4796225615385082e1b0d782861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d496e57ea1bb77b56de491a44888529ca405b4796225615385082e1b0d782861", kill_on_drop: false }` [INFO] [stdout] d496e57ea1bb77b56de491a44888529ca405b4796225615385082e1b0d782861 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38b36d0e6eeb9d36a93fa31535b849ce4834adc86a393cf7b742036a3610c0c4 [INFO] running `Command { std: "docker" "start" "-a" "38b36d0e6eeb9d36a93fa31535b849ce4834adc86a393cf7b742036a3610c0c4", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling smallstr v0.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling dyn-clone v1.0.16 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling assert-impl v0.1.3 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling qiniu-utils v0.2.3 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling auto_impl v1.1.0 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling qiniu-credential v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.04s [INFO] running `Command { std: "docker" "inspect" "38b36d0e6eeb9d36a93fa31535b849ce4834adc86a393cf7b742036a3610c0c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38b36d0e6eeb9d36a93fa31535b849ce4834adc86a393cf7b742036a3610c0c4", kill_on_drop: false }` [INFO] [stdout] 38b36d0e6eeb9d36a93fa31535b849ce4834adc86a393cf7b742036a3610c0c4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92a8e2b70946fdec7f0103c87856b85668c5ea842129e1ddc4b11fbcdbf60857 [INFO] running `Command { std: "docker" "start" "-a" "92a8e2b70946fdec7f0103c87856b85668c5ea842129e1ddc4b11fbcdbf60857", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling value-bag v1.4.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling futures-lite v2.1.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling event-listener v4.0.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling async-task v4.5.0 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling async-lock v3.2.0 [INFO] [stderr] Compiling async-channel v2.1.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling polling v3.3.1 [INFO] [stderr] Compiling async-io v2.2.2 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling qiniu-credential v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.38s [INFO] running `Command { std: "docker" "inspect" "92a8e2b70946fdec7f0103c87856b85668c5ea842129e1ddc4b11fbcdbf60857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92a8e2b70946fdec7f0103c87856b85668c5ea842129e1ddc4b11fbcdbf60857", kill_on_drop: false }` [INFO] [stdout] 92a8e2b70946fdec7f0103c87856b85668c5ea842129e1ddc4b11fbcdbf60857 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 008d1008dee3f7985ec2cca5cafe90085542029d6666a6535acb44ece6f963d4 [INFO] running `Command { std: "docker" "start" "-a" "008d1008dee3f7985ec2cca5cafe90085542029d6666a6535acb44ece6f963d4", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qiniu_credential-6853ec97558cce6f) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test key::tests::test_deserialize ... ok [INFO] [stdout] test key::tests::test_serialize ... ok [INFO] [stdout] test tests::test_authorization_v1_with_body_reader ... ok [INFO] [stdout] test tests::test_chain_credentials ... ok [INFO] [stdout] test tests::test_sign_download_url ... ok [INFO] [stdout] test tests::test_authorization_v2_with_body_reader ... ok [INFO] [stdout] test tests::test_sign ... ok [INFO] [stdout] test tests::test_sign_with_data ... ok [INFO] [stdout] test tests::test_build_empty_chain_credentials - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests qiniu-credential [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/lib.rs - Credential::sign (line 176) ... ok [INFO] [stdout] test src/lib.rs - (line 42) ... ok [INFO] [stdout] test src/lib.rs - Credential::authorization_v1_for_request (line 247) ... ok [INFO] [stdout] test src/lib.rs - (line 84) ... ok [INFO] [stdout] test src/lib.rs - Credential::authorization_v1_for_request_with_body_reader (line 272) ... ok [INFO] [stdout] test src/lib.rs - (line 62) ... ok [INFO] [stdout] test src/lib.rs - Credential::authorization_v2_for_request (line 300) ... ok [INFO] [stdout] test src/lib.rs - Credential::authorization_v2_for_request_with_body_reader (line 328) ... ok [INFO] [stdout] test src/lib.rs - Credential::sign_with_data (line 228) ... ok [INFO] [stdout] test src/lib.rs - Credential::sign_reader (line 201) ... ok [INFO] [stdout] test src/lib.rs - Credential::sign_download_url (line 361) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.67s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "008d1008dee3f7985ec2cca5cafe90085542029d6666a6535acb44ece6f963d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "008d1008dee3f7985ec2cca5cafe90085542029d6666a6535acb44ece6f963d4", kill_on_drop: false }` [INFO] [stdout] 008d1008dee3f7985ec2cca5cafe90085542029d6666a6535acb44ece6f963d4