[INFO] fetching crate qiniu-credential 0.2.3... [INFO] testing qiniu-credential-0.2.3 against try#d724b5ab2f4ac098ff483349a80b6a3799a5177b for pr-113843 [INFO] extracting crate qiniu-credential 0.2.3 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate qiniu-credential 0.2.3 on toolchain d724b5ab2f4ac098ff483349a80b6a3799a5177b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d724b5ab2f4ac098ff483349a80b6a3799a5177b" "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-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d724b5ab2f4ac098ff483349a80b6a3799a5177b" "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" "+d724b5ab2f4ac098ff483349a80b6a3799a5177b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d724b5ab2f4ac098ff483349a80b6a3799a5177b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e54ea8bb7fbf04837e4222cf984d183333d98e3c84342f8858e1d0c6e9ccf36 [INFO] running `Command { std: "docker" "start" "-a" "3e54ea8bb7fbf04837e4222cf984d183333d98e3c84342f8858e1d0c6e9ccf36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e54ea8bb7fbf04837e4222cf984d183333d98e3c84342f8858e1d0c6e9ccf36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e54ea8bb7fbf04837e4222cf984d183333d98e3c84342f8858e1d0c6e9ccf36", kill_on_drop: false }` [INFO] [stdout] 3e54ea8bb7fbf04837e4222cf984d183333d98e3c84342f8858e1d0c6e9ccf36 [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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d724b5ab2f4ac098ff483349a80b6a3799a5177b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1bad7148e6ad8892df893c046f4e128fdbbbdefcd70cc21e4986fe450d833fa [INFO] running `Command { std: "docker" "start" "-a" "b1bad7148e6ad8892df893c046f4e128fdbbbdefcd70cc21e4986fe450d833fa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling dyn-clone v1.0.12 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling assert-impl v0.1.3 [INFO] [stderr] Compiling smallstr v0.3.0 [INFO] [stderr] Compiling qiniu-utils v0.2.3 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling quote v1.0.31 [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 sha-1 v0.9.8 [INFO] [stderr] Compiling hmac v0.11.0 [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.86s [INFO] running `Command { std: "docker" "inspect" "b1bad7148e6ad8892df893c046f4e128fdbbbdefcd70cc21e4986fe450d833fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1bad7148e6ad8892df893c046f4e128fdbbbdefcd70cc21e4986fe450d833fa", kill_on_drop: false }` [INFO] [stdout] b1bad7148e6ad8892df893c046f4e128fdbbbdefcd70cc21e4986fe450d833fa [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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d724b5ab2f4ac098ff483349a80b6a3799a5177b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82ddb1d55f47b3cab7985fb463dda10c0277420131ce2f8c10c172b7de449e13 [INFO] running `Command { std: "docker" "start" "-a" "82ddb1d55f47b3cab7985fb463dda10c0277420131ce2f8c10c172b7de449e13", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling value-bag v1.4.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling parking v2.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling async-task v4.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling atomic-waker v1.1.1 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling async-lock v2.7.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling concurrent-queue v2.2.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling blocking v1.3.1 [INFO] [stderr] Compiling async-executor v1.5.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling async-global-executor v2.3.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 7.60s [INFO] running `Command { std: "docker" "inspect" "82ddb1d55f47b3cab7985fb463dda10c0277420131ce2f8c10c172b7de449e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82ddb1d55f47b3cab7985fb463dda10c0277420131ce2f8c10c172b7de449e13", kill_on_drop: false }` [INFO] [stdout] 82ddb1d55f47b3cab7985fb463dda10c0277420131ce2f8c10c172b7de449e13 [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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d724b5ab2f4ac098ff483349a80b6a3799a5177b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 66289201e8f8a1e6cd3221ad74a0058c7538c7e0e513358927f614221a730dbb [INFO] running `Command { std: "docker" "start" "-a" "66289201e8f8a1e6cd3221ad74a0058c7538c7e0e513358927f614221a730dbb", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qiniu_credential-f4d572fc1cebf58b) [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_chain_credentials ... ok [INFO] [stdout] test tests::test_authorization_v1_with_body_reader ... ok [INFO] [stdout] test tests::test_sign_download_url ... ok [INFO] [stdout] test tests::test_sign_with_data ... ok [INFO] [stdout] test tests::test_sign ... 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.72/src/error.rs:547:25 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/core/src/result.rs:1961: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/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 5: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 6: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/test/src/lib.rs:626:18 [INFO] [stdout] 7: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/test/src/lib.rs:649:60 [INFO] [stdout] 8: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 9: std::panicking::try::do_call [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/std/src/panicking.rs:500:40 [INFO] [stdout] 10: std::panicking::try [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/std/src/panicking.rs:464:19 [INFO] [stdout] 11: std::panic::catch_unwind [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/std/src/panic.rs:142:14 [INFO] [stdout] 12: test::run_test_in_process [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/test/src/lib.rs:649:27 [INFO] [stdout] 13: test::run_test::{{closure}} [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/test/src/lib.rs:572:43 [INFO] [stdout] 14: test::run_test::{{closure}} [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/test/src/lib.rs:600:41 [INFO] [stdout] 15: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/std/src/sys_common/backtrace.rs:135:18 [INFO] [stdout] 16: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 17: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 18: std::panicking::try::do_call [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/std/src/panicking.rs:500:40 [INFO] [stdout] 19: std::panicking::try [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/std/src/panicking.rs:464:19 [INFO] [stdout] 20: std::panic::catch_unwind [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/std/src/panic.rs:142:14 [INFO] [stdout] 21: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 22: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 24: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 25: std::sys::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/d724b5ab2f4ac098ff483349a80b6a3799a5177b/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.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "66289201e8f8a1e6cd3221ad74a0058c7538c7e0e513358927f614221a730dbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66289201e8f8a1e6cd3221ad74a0058c7538c7e0e513358927f614221a730dbb", kill_on_drop: false }` [INFO] [stdout] 66289201e8f8a1e6cd3221ad74a0058c7538c7e0e513358927f614221a730dbb