[INFO] fetching crate libjwt 0.1.0... [INFO] testing libjwt-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate libjwt 0.1.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libjwt 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--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] 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0374960221c9962fbb8c9613ec56e309a0826cb33f09cc54c809b94d6fff3b0 [INFO] running `Command { std: "docker" "start" "-a" "f0374960221c9962fbb8c9613ec56e309a0826cb33f09cc54c809b94d6fff3b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0374960221c9962fbb8c9613ec56e309a0826cb33f09cc54c809b94d6fff3b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0374960221c9962fbb8c9613ec56e309a0826cb33f09cc54c809b94d6fff3b0", kill_on_drop: false }` [INFO] [stdout] f0374960221c9962fbb8c9613ec56e309a0826cb33f09cc54c809b94d6fff3b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7aea77c0eed64cc437601bf0cc20f78ccd02131f8678fd60a7adc6c97badc2a [INFO] running `Command { std: "docker" "start" "-a" "a7aea77c0eed64cc437601bf0cc20f78ccd02131f8678fd60a7adc6c97badc2a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling error-chain v0.11.0 [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a7aea77c0eed64cc437601bf0cc20f78ccd02131f8678fd60a7adc6c97badc2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7aea77c0eed64cc437601bf0cc20f78ccd02131f8678fd60a7adc6c97badc2a", kill_on_drop: false }` [INFO] [stdout] a7aea77c0eed64cc437601bf0cc20f78ccd02131f8678fd60a7adc6c97badc2a