[INFO] cloning repository https://github.com/bandwidth-of-friends/restolink [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bandwidth-of-friends/restolink" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbandwidth-of-friends%2Frestolink", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbandwidth-of-friends%2Frestolink'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 002967e0c074b8864fd72033e682ab08e593084d [INFO] checking bandwidth-of-friends/restolink against master#61cc47e367d7be91e13bcd01e4e96e0e233d4f6d for pr-133502-17 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbandwidth-of-friends%2Frestolink" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bandwidth-of-friends/restolink [INFO] finished tweaking git repo https://github.com/bandwidth-of-friends/restolink [INFO] tweaked toml for git repo https://github.com/bandwidth-of-friends/restolink written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bandwidth-of-friends/restolink on toolchain 61cc47e367d7be91e13bcd01e4e96e0e233d4f6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bandwidth-of-friends/restolink 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" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cryptojs_rust v0.1.4 [INFO] [stderr] Downloaded prettyplease v0.2.34 [INFO] [stderr] Downloaded jsonwebtoken v10.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] befc4be971ff77d165cd030b70782b351b141d72cc84feedaa5a3e02b3276243 [INFO] running `Command { std: "docker" "start" "-a" "befc4be971ff77d165cd030b70782b351b141d72cc84feedaa5a3e02b3276243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "befc4be971ff77d165cd030b70782b351b141d72cc84feedaa5a3e02b3276243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "befc4be971ff77d165cd030b70782b351b141d72cc84feedaa5a3e02b3276243", kill_on_drop: false }` [INFO] [stdout] befc4be971ff77d165cd030b70782b351b141d72cc84feedaa5a3e02b3276243 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5b3b816d1b10e4e84843ec64c72533ab933a584dafc6ae957e67af7e8fdb3a8 [INFO] running `Command { std: "docker" "start" "-a" "d5b3b816d1b10e4e84843ec64c72533ab933a584dafc6ae957e67af7e8fdb3a8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling webpki-roots v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking toml_write v0.1.1 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking winnow v0.7.10 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking cookie v0.18.1 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking toml_datetime v0.6.9 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking uncased v0.9.10 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking toml_edit v0.22.26 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking cryptojs_rust v0.1.4 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Checking toml v0.8.22 [INFO] [stderr] Checking figment v0.10.19 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Checking jsonwebtoken v10.0.0 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Checking rocket v0.5.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking restolink v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde::json::Json` [INFO] [stdout] --> src/routes/user.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::{http::Status, serde::json::Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::json::Json` [INFO] [stdout] --> src/routes/user.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::{http::Status, serde::json::Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::PgPool` [INFO] [stdout] --> src/routes/user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::PgPool` [INFO] [stdout] --> src/routes/user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Claims` is more private than the item `decode_jwt_token` [INFO] [stdout] --> src/services/jwt.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn decode_jwt_token(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `decode_jwt_token` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Claims` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/services/jwt.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct Claims { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_jwt_token` is never used [INFO] [stdout] --> src/services/jwt.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn decode_jwt_token(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Claims` is more private than the item `decode_jwt_token` [INFO] [stdout] --> src/services/jwt.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn decode_jwt_token(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `decode_jwt_token` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Claims` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/services/jwt.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct Claims { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_jwt_token` is never used [INFO] [stdout] --> src/services/jwt.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn decode_jwt_token(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "d5b3b816d1b10e4e84843ec64c72533ab933a584dafc6ae957e67af7e8fdb3a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5b3b816d1b10e4e84843ec64c72533ab933a584dafc6ae957e67af7e8fdb3a8", kill_on_drop: false }` [INFO] [stdout] d5b3b816d1b10e4e84843ec64c72533ab933a584dafc6ae957e67af7e8fdb3a8