[INFO] fetching crate osauth 0.5.0... [INFO] checking osauth-0.5.0 against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] extracting crate osauth 0.5.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate osauth 0.5.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate osauth 0.5.0 [INFO] tweaked toml for crates.io crate osauth 0.5.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate osauth 0.5.0 on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate osauth 0.5.0 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 610b2a894114f2541b991670b2cf3241770b17ee00c5ced0796fe081b396a533 [INFO] running `Command { std: "docker" "start" "-a" "610b2a894114f2541b991670b2cf3241770b17ee00c5ced0796fe081b396a533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "610b2a894114f2541b991670b2cf3241770b17ee00c5ced0796fe081b396a533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "610b2a894114f2541b991670b2cf3241770b17ee00c5ced0796fe081b396a533", kill_on_drop: false }` [INFO] [stdout] 610b2a894114f2541b991670b2cf3241770b17ee00c5ced0796fe081b396a533 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 805d906a48e1d08f5a34f4105834f91b0124c8e17ad03a0b9d6e4508e3f1170f [INFO] running `Command { std: "docker" "start" "-a" "805d906a48e1d08f5a34f4105834f91b0124c8e17ad03a0b9d6e4508e3f1170f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking unsafe-libyaml v0.2.4 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking iana-time-zone v0.1.46 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking env_logger v0.9.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling osauth-derive v0.1.2 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.23 [INFO] [stderr] Checking futures v0.3.23 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking async-compression v0.4.17 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.9.13 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking hyper v1.5.0 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking osauth v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unused import: `crate::protocol_enum` [INFO] [stdout] --> src/macros.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | use crate::protocol_enum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | fn query_item(&self) -> Result<(&str, Cow), crate::Error>; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 26 | fn query_item(&self) -> Result<(&str, Cow<'_, str>), crate::Error>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | fn query_item(&self) -> Result<(&str, Cow), crate::Error>; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 26 | fn query_item(&self) -> Result<(&str, Cow<'_, str>), crate::Error>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | fn query_item(&self) -> Result<(&str, Cow), Error> { [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 150 | fn query_item(&self) -> Result<(&str, Cow<'_, str>), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `osauth` (lib test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "805d906a48e1d08f5a34f4105834f91b0124c8e17ad03a0b9d6e4508e3f1170f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "805d906a48e1d08f5a34f4105834f91b0124c8e17ad03a0b9d6e4508e3f1170f", kill_on_drop: false }` [INFO] [stdout] 805d906a48e1d08f5a34f4105834f91b0124c8e17ad03a0b9d6e4508e3f1170f