[INFO] cloning repository https://github.com/mahidhar-25/patl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahidhar-25/patl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahidhar-25%2Fpatl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahidhar-25%2Fpatl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 613afe1cade3ce621b189656f451ae5d10b7363f [INFO] checking mahidhar-25/patl against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahidhar-25%2Fpatl" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mahidhar-25/patl [INFO] finished tweaking git repo https://github.com/mahidhar-25/patl [INFO] tweaked toml for git repo https://github.com/mahidhar-25/patl written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mahidhar-25/patl on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mahidhar-25/patl 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f593578abadcf55858eb361d89434be3b8356b49c830ad2b5b2b964df80d2efd [INFO] running `Command { std: "docker" "start" "-a" "f593578abadcf55858eb361d89434be3b8356b49c830ad2b5b2b964df80d2efd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f593578abadcf55858eb361d89434be3b8356b49c830ad2b5b2b964df80d2efd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f593578abadcf55858eb361d89434be3b8356b49c830ad2b5b2b964df80d2efd", kill_on_drop: false }` [INFO] [stdout] f593578abadcf55858eb361d89434be3b8356b49c830ad2b5b2b964df80d2efd [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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f522ea5649369f1ad096f226d1f1543b6852ba3a9449b1db12955300d1a89131 [INFO] running `Command { std: "docker" "start" "-a" "f522ea5649369f1ad096f226d1f1543b6852ba3a9449b1db12955300d1a89131", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling diesel_derives v2.2.6 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Compiling migrations_internals v2.2.0 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking diesel v2.2.11 [INFO] [stderr] Checking axum-extra v0.9.6 [INFO] [stderr] Checking diesel_migrations v2.2.0 [INFO] [stderr] Checking patl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `port` is never read [INFO] [stdout] --> src/config.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_jwt` is never used [INFO] [stdout] --> src/services/auth.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn decode_jwt(token: &str, config: &AppConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BadRequest`, `NotFound`, and `Conflict` are never constructed [INFO] [stdout] --> src/utils/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 11 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | Unauthorized(String), [INFO] [stdout] 13 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | Conflict(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, i32> [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, NaiveDateTime> [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, NaiveDateTime> [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `patl` (bin "patl" test) due to 9 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `port` is never read [INFO] [stdout] --> src/config.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_jwt` is never used [INFO] [stdout] --> src/services/auth.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn decode_jwt(token: &str, config: &AppConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BadRequest`, `NotFound`, and `Conflict` are never constructed [INFO] [stdout] --> src/utils/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 11 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | Unauthorized(String), [INFO] [stdout] 13 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | Conflict(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, i32> [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, NaiveDateTime> [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, NaiveDateTime> [INFO] [stdout] --> src/models/user.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `patl` (bin "patl") due to 9 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f522ea5649369f1ad096f226d1f1543b6852ba3a9449b1db12955300d1a89131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f522ea5649369f1ad096f226d1f1543b6852ba3a9449b1db12955300d1a89131", kill_on_drop: false }` [INFO] [stdout] f522ea5649369f1ad096f226d1f1543b6852ba3a9449b1db12955300d1a89131