[INFO] fetching crate qiniu-upload-token 0.2.4... [INFO] testing qiniu-upload-token-0.2.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate qiniu-upload-token 0.2.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate qiniu-upload-token 0.2.4 [INFO] finished tweaking crates.io crate qiniu-upload-token 0.2.4 [INFO] tweaked toml for crates.io crate qiniu-upload-token 0.2.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate qiniu-upload-token 0.2.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate qiniu-upload-token 0.2.4 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-global-executor v2.4.0 [INFO] [stderr] Downloaded qiniu-credential v0.2.4 [INFO] [stderr] Downloaded assert-impl v0.1.3 [INFO] [stderr] Downloaded qiniu-utils v0.2.4 [INFO] [stderr] Downloaded duplicate v0.2.9 [INFO] [stderr] Downloaded async-channel v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d964db4e096b1e2897cca0ef7764c2c99201132850bd830b5a78899f52b105e3 [INFO] running `Command { std: "docker" "start" "-a" "d964db4e096b1e2897cca0ef7764c2c99201132850bd830b5a78899f52b105e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d964db4e096b1e2897cca0ef7764c2c99201132850bd830b5a78899f52b105e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d964db4e096b1e2897cca0ef7764c2c99201132850bd830b5a78899f52b105e3", kill_on_drop: false }` [INFO] [stdout] d964db4e096b1e2897cca0ef7764c2c99201132850bd830b5a78899f52b105e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4ff3fa61d13c07fbd2886eb0100736e445d58bee238b504b928b6b9d6541ea02 [INFO] running `Command { std: "docker" "start" "-a" "4ff3fa61d13c07fbd2886eb0100736e445d58bee238b504b928b6b9d6541ea02", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling version_check v0.9.4 [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 smallvec v1.11.2 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling dyn-clone v1.0.16 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling assert-impl v0.1.3 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling ryu v1.0.15 [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 smallstr v0.3.0 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling auto_impl v1.1.0 [INFO] [stderr] Compiling duplicate v0.2.9 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling qiniu-utils v0.2.4 [INFO] [stderr] Compiling qiniu-credential v0.2.4 [INFO] [stderr] Compiling qiniu-upload-token v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `indirect_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | indirect_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_policy.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn callback_urls(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn callback_urls(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_policy.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn mime_types(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 199 | pub fn mime_types(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_policy.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn keys(&self) -> JsonMapKeys { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 235 | pub fn keys(&self) -> JsonMapKeys<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_policy.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn values(&self) -> JsonMapValues { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 241 | pub fn values(&self) -> JsonMapValues<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_token.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | fn policy(&self, opts: GetPolicyOptions) -> ParseResult; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | fn policy(&self, opts: GetPolicyOptions) -> ParseResult>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_token.rs:728:23 [INFO] [stdout] | [INFO] [stdout] 728 | provider: &CachedUploadTokenProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 799 | / sync_method!( [INFO] [stdout] 800 | | self, [INFO] [stdout] 801 | | upload_token, [INFO] [stdout] 802 | | opts, [INFO] [stdout] ... | [INFO] [stdout] 805 | | ToStringResult> [INFO] [stdout] | | -------- the lifetime gets resolved as `'_` [INFO] [stdout] 806 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `sync_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 805 | ToStringResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.21s [INFO] running `Command { std: "docker" "inspect" "4ff3fa61d13c07fbd2886eb0100736e445d58bee238b504b928b6b9d6541ea02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ff3fa61d13c07fbd2886eb0100736e445d58bee238b504b928b6b9d6541ea02", kill_on_drop: false }` [INFO] [stdout] 4ff3fa61d13c07fbd2886eb0100736e445d58bee238b504b928b6b9d6541ea02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f1c57deb6bf0c6dba2008e2747e2e4b1d7802b6fed93ca7d26df5a70d887a79c [INFO] running `Command { std: "docker" "start" "-a" "f1c57deb6bf0c6dba2008e2747e2e4b1d7802b6fed93ca7d26df5a70d887a79c", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling value-bag v1.4.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling async-task v4.5.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling futures-lite v2.0.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling concurrent-queue v2.3.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling event-listener v3.1.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stdout] warning: lint `indirect_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | indirect_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_policy.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn callback_urls(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn callback_urls(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_policy.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn mime_types(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 199 | pub fn mime_types(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_policy.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn keys(&self) -> JsonMapKeys { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 235 | pub fn keys(&self) -> JsonMapKeys<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_policy.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn values(&self) -> JsonMapValues { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 241 | pub fn values(&self) -> JsonMapValues<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_token.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | fn policy(&self, opts: GetPolicyOptions) -> ParseResult; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | fn policy(&self, opts: GetPolicyOptions) -> ParseResult>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_token.rs:728:23 [INFO] [stdout] | [INFO] [stdout] 728 | provider: &CachedUploadTokenProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 799 | / sync_method!( [INFO] [stdout] 800 | | self, [INFO] [stdout] 801 | | upload_token, [INFO] [stdout] 802 | | opts, [INFO] [stdout] ... | [INFO] [stdout] 805 | | ToStringResult> [INFO] [stdout] | | -------- the lifetime gets resolved as `'_` [INFO] [stdout] 806 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `sync_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 805 | ToStringResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling event-listener-strategy v0.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling async-lock v3.1.1 [INFO] [stderr] Compiling async-channel v2.1.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling async-executor v1.7.2 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling polling v3.3.0 [INFO] [stderr] Compiling async-io v2.2.0 [INFO] [stderr] Compiling async-global-executor v2.4.0 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling qiniu-upload-token v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `indirect_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | indirect_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_policy.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn callback_urls(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn callback_urls(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_policy.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn mime_types(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 199 | pub fn mime_types(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_policy.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn keys(&self) -> JsonMapKeys { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 235 | pub fn keys(&self) -> JsonMapKeys<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_policy.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn values(&self) -> JsonMapValues { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 241 | pub fn values(&self) -> JsonMapValues<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_token.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | fn policy(&self, opts: GetPolicyOptions) -> ParseResult; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | fn policy(&self, opts: GetPolicyOptions) -> ParseResult>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/upload_token.rs:728:23 [INFO] [stdout] | [INFO] [stdout] 728 | provider: &CachedUploadTokenProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 799 | / sync_method!( [INFO] [stdout] 800 | | self, [INFO] [stdout] 801 | | upload_token, [INFO] [stdout] 802 | | opts, [INFO] [stdout] ... | [INFO] [stdout] 805 | | ToStringResult> [INFO] [stdout] | | -------- the lifetime gets resolved as `'_` [INFO] [stdout] 806 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `sync_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 805 | ToStringResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.71s [INFO] running `Command { std: "docker" "inspect" "f1c57deb6bf0c6dba2008e2747e2e4b1d7802b6fed93ca7d26df5a70d887a79c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1c57deb6bf0c6dba2008e2747e2e4b1d7802b6fed93ca7d26df5a70d887a79c", kill_on_drop: false }` [INFO] [stdout] f1c57deb6bf0c6dba2008e2747e2e4b1d7802b6fed93ca7d26df5a70d887a79c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e670e233a893cefe52851dff2884144367ebd5230559385471a9cac89b0d134e [INFO] running `Command { std: "docker" "start" "-a" "e670e233a893cefe52851dff2884144367ebd5230559385471a9cac89b0d134e", kill_on_drop: false }` [INFO] [stderr] warning: lint `indirect_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stderr] --> src/lib.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | indirect_structural_match, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/upload_policy.rs:148:26 [INFO] [stderr] | [INFO] [stderr] 148 | pub fn callback_urls(&self) -> Option> { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 148 | pub fn callback_urls(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/upload_policy.rs:199:23 [INFO] [stderr] | [INFO] [stderr] 199 | pub fn mime_types(&self) -> Option> { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 199 | pub fn mime_types(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/upload_policy.rs:235:17 [INFO] [stderr] | [INFO] [stderr] 235 | pub fn keys(&self) -> JsonMapKeys { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 235 | pub fn keys(&self) -> JsonMapKeys<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/upload_policy.rs:241:19 [INFO] [stderr] | [INFO] [stderr] 241 | pub fn values(&self) -> JsonMapValues { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 241 | pub fn values(&self) -> JsonMapValues<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/upload_token.rs:48:15 [INFO] [stderr] | [INFO] [stderr] 48 | fn policy(&self, opts: GetPolicyOptions) -> ParseResult; [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 48 | fn policy(&self, opts: GetPolicyOptions) -> ParseResult>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/upload_token.rs:728:23 [INFO] [stderr] | [INFO] [stderr] 728 | provider: &CachedUploadTokenProvider, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 799 | / sync_method!( [INFO] [stderr] 800 | | self, [INFO] [stderr] 801 | | upload_token, [INFO] [stderr] 802 | | opts, [INFO] [stderr] ... | [INFO] [stderr] 805 | | ToStringResult> [INFO] [stderr] | | -------- the lifetime gets resolved as `'_` [INFO] [stderr] 806 | | ) [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `sync_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 805 | ToStringResult> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `qiniu-upload-token` (lib) generated 7 warnings (run `cargo fix --lib -p qiniu-upload-token` to apply 6 suggestions) [INFO] [stderr] warning: `qiniu-upload-token` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_for_object ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/qiniu_upload_token-a64c753262ece08e) [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_deadline ... ok [INFO] [stdout] test file_type::tests::test_file_type_serialization_and_deserialization ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_file_size_inclusive_limit ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_for_bucket ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_for_objects_with_prefix ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_file_size_max_limit ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_file_size_min_limit ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_infrequent_storage ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_insert_only ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_callback ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_mime ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_file_size_exclusive_limit ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_lifetime ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_object_lifetime ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_callback_body_with_body_type ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_mime_detection ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_return_url ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_normal_storage ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_save_key ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_save_key_by_force ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_short_object_lifetime ... ok [INFO] [stdout] test upload_token::tests::test_build_upload_token_for_bucket ... ok [INFO] [stdout] test upload_token::tests::test_build_upload_token_from_upload_policy ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_return_body ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e670e233a893cefe52851dff2884144367ebd5230559385471a9cac89b0d134e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e670e233a893cefe52851dff2884144367ebd5230559385471a9cac89b0d134e", kill_on_drop: false }` [INFO] [stdout] e670e233a893cefe52851dff2884144367ebd5230559385471a9cac89b0d134e