[INFO] fetching crate qiniu-upload-token 0.2.4... [INFO] testing qiniu-upload-token-0.2.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate qiniu-upload-token 0.2.4 into /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate qiniu-upload-token 0.2.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f9709cfc191dd96fddc7622f7fbfdf5ba95e29d35fe56e40a79448bb57fa97b [INFO] running `Command { std: "docker" "start" "-a" "8f9709cfc191dd96fddc7622f7fbfdf5ba95e29d35fe56e40a79448bb57fa97b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f9709cfc191dd96fddc7622f7fbfdf5ba95e29d35fe56e40a79448bb57fa97b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f9709cfc191dd96fddc7622f7fbfdf5ba95e29d35fe56e40a79448bb57fa97b", kill_on_drop: false }` [INFO] [stdout] 8f9709cfc191dd96fddc7622f7fbfdf5ba95e29d35fe56e40a79448bb57fa97b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1e06c865c6d0376f71bc7d8e0c58d78147061cd15379fa15a7b5a16257beec7 [INFO] running `Command { std: "docker" "start" "-a" "e1e06c865c6d0376f71bc7d8e0c58d78147061cd15379fa15a7b5a16257beec7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling dyn-clone v1.0.16 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling assert-impl v0.1.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling smallstr v0.3.0 [INFO] [stderr] Compiling http v0.2.11 [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 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 sha-1 v0.9.8 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling syn v2.0.39 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_policy.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn callback_urls(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn callback_urls(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_policy.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn mime_types(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | pub fn mime_types(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_policy.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn keys(&self) -> JsonMapKeys { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 235 | pub fn keys(&self) -> JsonMapKeys<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_policy.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn values(&self) -> JsonMapValues { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 241 | pub fn values(&self) -> JsonMapValues<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_token.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | fn policy(&self, opts: GetPolicyOptions) -> ParseResult; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | fn policy(&self, opts: GetPolicyOptions) -> ParseResult>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_token.rs:728:23 [INFO] [stdout] | [INFO] [stdout] 728 | provider: &CachedUploadTokenProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [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 same lifetime is hidden here [INFO] [stdout] 806 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 805 | ToStringResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.67s [INFO] running `Command { std: "docker" "inspect" "e1e06c865c6d0376f71bc7d8e0c58d78147061cd15379fa15a7b5a16257beec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1e06c865c6d0376f71bc7d8e0c58d78147061cd15379fa15a7b5a16257beec7", kill_on_drop: false }` [INFO] [stdout] e1e06c865c6d0376f71bc7d8e0c58d78147061cd15379fa15a7b5a16257beec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8653b39ee3435f564aaf53b3e1b63197cef14dbc4fb5f114876ff8d6272f6d0 [INFO] running `Command { std: "docker" "start" "-a" "a8653b39ee3435f564aaf53b3e1b63197cef14dbc4fb5f114876ff8d6272f6d0", 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 parking v2.2.0 [INFO] [stderr] Compiling futures-core v0.3.29 [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 rustix v0.38.25 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling value-bag v1.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling async-task v4.5.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling futures-lite v2.0.1 [INFO] [stderr] Compiling concurrent-queue v2.3.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-attributes v1.1.2 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_policy.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn callback_urls(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn callback_urls(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_policy.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn mime_types(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | pub fn mime_types(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_policy.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn keys(&self) -> JsonMapKeys { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 235 | pub fn keys(&self) -> JsonMapKeys<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_policy.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn values(&self) -> JsonMapValues { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 241 | pub fn values(&self) -> JsonMapValues<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_token.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | fn policy(&self, opts: GetPolicyOptions) -> ParseResult; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | fn policy(&self, opts: GetPolicyOptions) -> ParseResult>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_token.rs:728:23 [INFO] [stdout] | [INFO] [stdout] 728 | provider: &CachedUploadTokenProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [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 same lifetime is hidden here [INFO] [stdout] 806 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 805 | ToStringResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling event-listener v3.1.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling event-listener-strategy v0.3.0 [INFO] [stderr] Compiling async-lock v3.1.1 [INFO] [stderr] Compiling async-channel v2.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.10 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_policy.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn callback_urls(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn callback_urls(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_policy.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn mime_types(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | pub fn mime_types(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_policy.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn keys(&self) -> JsonMapKeys { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 235 | pub fn keys(&self) -> JsonMapKeys<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_policy.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn values(&self) -> JsonMapValues { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 241 | pub fn values(&self) -> JsonMapValues<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_token.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | fn policy(&self, opts: GetPolicyOptions) -> ParseResult; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | fn policy(&self, opts: GetPolicyOptions) -> ParseResult>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/upload_token.rs:728:23 [INFO] [stdout] | [INFO] [stdout] 728 | provider: &CachedUploadTokenProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [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 same lifetime is hidden here [INFO] [stdout] 806 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 805 | ToStringResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.77s [INFO] running `Command { std: "docker" "inspect" "a8653b39ee3435f564aaf53b3e1b63197cef14dbc4fb5f114876ff8d6272f6d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8653b39ee3435f564aaf53b3e1b63197cef14dbc4fb5f114876ff8d6272f6d0", kill_on_drop: false }` [INFO] [stdout] a8653b39ee3435f564aaf53b3e1b63197cef14dbc4fb5f114876ff8d6272f6d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d69bfda91f5c2add0759ac2ad772a6076dd98e75c85aba4cbd164e19744be8f5 [INFO] running `Command { std: "docker" "start" "-a" "d69bfda91f5c2add0759ac2ad772a6076dd98e75c85aba4cbd164e19744be8f5", 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/upload_policy.rs:148:26 [INFO] [stderr] | [INFO] [stderr] 148 | pub fn callback_urls(&self) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 148 | pub fn callback_urls(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/upload_policy.rs:199:23 [INFO] [stderr] | [INFO] [stderr] 199 | pub fn mime_types(&self) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 199 | pub fn mime_types(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/upload_policy.rs:235:17 [INFO] [stderr] | [INFO] [stderr] 235 | pub fn keys(&self) -> JsonMapKeys { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 235 | pub fn keys(&self) -> JsonMapKeys<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/upload_policy.rs:241:19 [INFO] [stderr] | [INFO] [stderr] 241 | pub fn values(&self) -> JsonMapValues { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 241 | pub fn values(&self) -> JsonMapValues<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/upload_token.rs:48:15 [INFO] [stderr] | [INFO] [stderr] 48 | fn policy(&self, opts: GetPolicyOptions) -> ParseResult; [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 48 | fn policy(&self, opts: GetPolicyOptions) -> ParseResult>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/upload_token.rs:728:23 [INFO] [stderr] | [INFO] [stderr] 728 | provider: &CachedUploadTokenProvider, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [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 same lifetime is hidden here [INFO] [stderr] 806 | | ) [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [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: use `'_` for type 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.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qiniu_upload_token-6cc3d99f746cca37) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test file_type::tests::test_file_type_serialization_and_deserialization ... 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_callback ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_for_object ... 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_deadline ... 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_file_size_max_limit ... 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_with_file_size_min_limit ... 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_infrequent_storage ... 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_mime ... 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_normal_storage ... 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_return_url ... ok [INFO] [stdout] test upload_policy::tests::test_build_upload_policy_with_return_body ... 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_save_key ... 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_from_upload_policy ... ok [INFO] [stdout] test upload_token::tests::test_build_upload_token_for_bucket ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests qiniu_upload_token [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: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/upload_policy.rs - upload_policy::UploadPolicy (line 45) ... ok [INFO] [stdout] test src/lib.rs - (line 60) ... ok [INFO] [stdout] test src/lib.rs - (line 43) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d69bfda91f5c2add0759ac2ad772a6076dd98e75c85aba4cbd164e19744be8f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d69bfda91f5c2add0759ac2ad772a6076dd98e75c85aba4cbd164e19744be8f5", kill_on_drop: false }` [INFO] [stdout] d69bfda91f5c2add0759ac2ad772a6076dd98e75c85aba4cbd164e19744be8f5