[INFO] fetching crate libjwt 0.1.0... [INFO] checking libjwt-0.1.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate libjwt 0.1.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libjwt 0.1.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 43 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05e36bba0528810367470dafc98a14fb94374300109366840514eb82f80746ac [INFO] running `Command { std: "docker" "start" "-a" "05e36bba0528810367470dafc98a14fb94374300109366840514eb82f80746ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05e36bba0528810367470dafc98a14fb94374300109366840514eb82f80746ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05e36bba0528810367470dafc98a14fb94374300109366840514eb82f80746ac", kill_on_drop: false }` [INFO] [stdout] 05e36bba0528810367470dafc98a14fb94374300109366840514eb82f80746ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c54100dd1549a536c38421666147a89297704b0019c5dff29fb137699193f34 [INFO] running `Command { std: "docker" "start" "-a" "1c54100dd1549a536c38421666147a89297704b0019c5dff29fb137699193f34", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking 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::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: 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | fn into_parts (&'c self) -> Result; [INFO] [stdout] | ^^ ----- [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'c` [INFO] [stdout] | | the lifetimes get resolved as `'c` [INFO] [stdout] | | the lifetimes get resolved as `'c` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | fn into_parts (&'jwt self) -> error::Result { [INFO] [stdout] | ^^^^ ----- [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'jwt` [INFO] [stdout] | | the lifetimes get resolved as `'jwt` [INFO] [stdout] | | the lifetimes get resolved as `'jwt` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'jwt` [INFO] [stdout] | [INFO] [stdout] 115 | fn into_parts (&'jwt self) -> error::Result> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | fn into_parts (&'c self) -> Result; [INFO] [stdout] | ^^ ----- [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'c` [INFO] [stdout] | | the lifetimes get resolved as `'c` [INFO] [stdout] | | the lifetimes get resolved as `'c` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | fn into_parts (&'jwt self) -> error::Result { [INFO] [stdout] | ^^^^ ----- [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'jwt` [INFO] [stdout] | | the lifetimes get resolved as `'jwt` [INFO] [stdout] | | the lifetimes get resolved as `'jwt` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `libjwt` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "1c54100dd1549a536c38421666147a89297704b0019c5dff29fb137699193f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c54100dd1549a536c38421666147a89297704b0019c5dff29fb137699193f34", kill_on_drop: false }` [INFO] [stdout] 1c54100dd1549a536c38421666147a89297704b0019c5dff29fb137699193f34