[INFO] fetching crate biscuit 0.7.0... [INFO] testing biscuit-0.7.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate biscuit 0.7.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate biscuit 0.7.0 [INFO] finished tweaking crates.io crate biscuit 0.7.0 [INFO] tweaked toml for crates.io crate biscuit 0.7.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate biscuit 0.7.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 59 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf02704054470f2d67c4e97b53eeca6ec811a39e863817b6e7ea070309303b67 [INFO] running `Command { std: "docker" "start" "-a" "cf02704054470f2d67c4e97b53eeca6ec811a39e863817b6e7ea070309303b67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf02704054470f2d67c4e97b53eeca6ec811a39e863817b6e7ea070309303b67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf02704054470f2d67c4e97b53eeca6ec811a39e863817b6e7ea070309303b67", kill_on_drop: false }` [INFO] [stdout] cf02704054470f2d67c4e97b53eeca6ec811a39e863817b6e7ea070309303b67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c282d7a4bedda697b425172cf9c463e6456a4cba211099919639e26c678ebd6 [INFO] running `Command { std: "docker" "start" "-a" "0c282d7a4bedda697b425172cf9c463e6456a4cba211099919639e26c678ebd6", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling biscuit v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/jwa.rs:309:19 [INFO] [stdout] | [INFO] [stdout] 309 | let rng = rand::SystemRandom::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 309 - let rng = rand::SystemRandom::new(); [INFO] [stdout] 309 + let rng = SystemRandom::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/jwa.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | let rng = rand::SystemRandom::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 338 - let rng = rand::SystemRandom::new(); [INFO] [stdout] 338 + let rng = SystemRandom::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/jwa.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use ring::constant_time::verify_slices_are_equal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ring::deprecated_constant_time::verify_slices_are_equal`: To be removed. Internal function not intended for external use with no promises regarding side channels. [INFO] [stdout] --> src/jwa.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | verify_slices_are_equal(expected_signature, actual_signature.as_ref())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/lib.rs:701:26 [INFO] [stdout] | [INFO] [stdout] 701 | DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:702:28 [INFO] [stdout] | [INFO] [stdout] 702 | NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/lib.rs:724:39 [INFO] [stdout] | [INFO] [stdout] 724 | Ok(Timestamp(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:725:28 [INFO] [stdout] | [INFO] [stdout] 725 | NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::max_value`: Use `TimeDelta::MAX` instead [INFO] [stdout] --> src/lib.rs:845:55 [INFO] [stdout] | [INFO] [stdout] 845 | issued_at: Validation::Validate(Duration::max_value()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/serde_custom/base64_url_uint.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn wrap(data: &BigUint) -> Wrapper { [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] 51 | pub fn wrap(data: &BigUint) -> Wrapper<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/serde_custom/byte_sequence.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn wrap(data: &[u8]) -> Wrapper { [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] 47 | pub fn wrap(data: &[u8]) -> Wrapper<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `biscuit` (lib) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0c282d7a4bedda697b425172cf9c463e6456a4cba211099919639e26c678ebd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c282d7a4bedda697b425172cf9c463e6456a4cba211099919639e26c678ebd6", kill_on_drop: false }` [INFO] [stdout] 0c282d7a4bedda697b425172cf9c463e6456a4cba211099919639e26c678ebd6