[INFO] fetching crate libjwt 0.1.0... [INFO] testing libjwt-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate libjwt 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate libjwt 0.1.0 [INFO] finished tweaking crates.io crate libjwt 0.1.0 [INFO] tweaked toml for crates.io crate libjwt 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libjwt 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 37 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.9.3 (available: v0.22.1) [INFO] [stderr] Adding error-chain v0.11.0 (available: v0.12.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded error-chain v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c0f9766c5951448c788eb996d377c512e8a7794b8f266dace9b17d628e67eec [INFO] running `Command { std: "docker" "start" "-a" "8c0f9766c5951448c788eb996d377c512e8a7794b8f266dace9b17d628e67eec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c0f9766c5951448c788eb996d377c512e8a7794b8f266dace9b17d628e67eec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c0f9766c5951448c788eb996d377c512e8a7794b8f266dace9b17d628e67eec", kill_on_drop: false }` [INFO] [stdout] 8c0f9766c5951448c788eb996d377c512e8a7794b8f266dace9b17d628e67eec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd2b82795576cf18c15af8ba8bb834f86fd3f185215a2908fbd15dc501c25f50 [INFO] running `Command { std: "docker" "start" "-a" "fd2b82795576cf18c15af8ba8bb834f86fd3f185215a2908fbd15dc501c25f50", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling libjwt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain!{ [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | Io(::std::io::Error); [INFO] [stdout] 15 | | Serde(::serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | #![deny(missing_docs, unsafe_code, unused_extern_crates, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain!{ [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | Io(::std::io::Error); [INFO] [stdout] 15 | | Serde(::serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn decode(&self, key: &K, algorithm: Option) -> error::Result { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn decode(&self, key: &K, algorithm: Option) -> error::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 109 | fn into_parts (&'c self) -> Result; [INFO] [stdout] | -- ^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'c` [INFO] [stdout] | [INFO] [stdout] 109 | fn into_parts (&'c self) -> Result, Self::Error>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:115:49 [INFO] [stdout] | [INFO] [stdout] 115 | fn into_parts (&'jwt self) -> error::Result { [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'jwt` [INFO] [stdout] | [INFO] [stdout] 115 | fn into_parts (&'jwt self) -> error::Result> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libjwt` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "fd2b82795576cf18c15af8ba8bb834f86fd3f185215a2908fbd15dc501c25f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd2b82795576cf18c15af8ba8bb834f86fd3f185215a2908fbd15dc501c25f50", kill_on_drop: false }` [INFO] [stdout] fd2b82795576cf18c15af8ba8bb834f86fd3f185215a2908fbd15dc501c25f50