[INFO] cloning repository https://github.com/s0ssh/happiAPI [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/s0ssh/happiAPI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs0ssh%2FhappiAPI", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs0ssh%2FhappiAPI'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed58d4355de4cccbb7a70a78c4096fabf25197f4 [INFO] checking s0ssh/happiAPI 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%2Fs0ssh%2FhappiAPI" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/s0ssh/happiAPI [INFO] finished tweaking git repo https://github.com/s0ssh/happiAPI [INFO] tweaked toml for git repo https://github.com/s0ssh/happiAPI written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/s0ssh/happiAPI 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/s0ssh/happiAPI 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] fd996d3ff22a94b22325366d8b460a7af4d95fcab60253a351fead5e5870c886 [INFO] running `Command { std: "docker" "start" "-a" "fd996d3ff22a94b22325366d8b460a7af4d95fcab60253a351fead5e5870c886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd996d3ff22a94b22325366d8b460a7af4d95fcab60253a351fead5e5870c886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd996d3ff22a94b22325366d8b460a7af4d95fcab60253a351fead5e5870c886", kill_on_drop: false }` [INFO] [stdout] fd996d3ff22a94b22325366d8b460a7af4d95fcab60253a351fead5e5870c886 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] fd4546783f45291f506e9d2872a547714bdde042bd78d12ba2a058f180b61db2 [INFO] running `Command { std: "docker" "start" "-a" "fd4546783f45291f506e9d2872a547714bdde042bd78d12ba2a058f180b61db2", kill_on_drop: false }` [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking winnow v0.7.10 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking toml_datetime v0.6.9 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking toml_edit v0.22.26 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking toml v0.8.22 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.12 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking happiAPI v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::profile::ProfileConfig` [INFO] [stdout] --> src/routes/v1/responses.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::profile::ProfileConfig; [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: `crate::profile::ProfileConfig` [INFO] [stdout] --> src/routes/v1/responses.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::profile::ProfileConfig; [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 variable: `api_key` [INFO] [stdout] --> src/routes/v1/auth.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn get_auth_check(api_key: ApiKey) -> &'static str { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_key` [INFO] [stdout] --> src/routes/v1/responses.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn get_profile_config(name: String, api_key: ApiKey) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_key` [INFO] [stdout] --> src/routes/v1/responses.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | api_key: ApiKey, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_key` [INFO] [stdout] --> src/routes/v1/auth.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn get_auth_check(api_key: ApiKey) -> &'static str { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_key` [INFO] [stdout] --> src/routes/v1/responses.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn get_profile_config(name: String, api_key: ApiKey) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_key` [INFO] [stdout] --> src/routes/v1/responses.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | api_key: ApiKey, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DataTTT` is more private than the item `get_text_to_text` [INFO] [stdout] --> src/routes/v1/responses.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / pub async fn get_text_to_text( [INFO] [stdout] 24 | | name: String, [INFO] [stdout] 25 | | data: Json, [INFO] [stdout] 26 | | api_key: ApiKey, [INFO] [stdout] 27 | | ) -> Option { [INFO] [stdout] | |___________________^ function `get_text_to_text` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DataTTT` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/routes/v1/responses.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | struct DataTTT { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/auth.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ApiKey(String); [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/routes/v1/responses.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn get_profile_config(name: String, api_key: ApiKey) -> Option { [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/routes/v1/responses.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | name: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DataTTT` is more private than the item `get_text_to_text` [INFO] [stdout] --> src/routes/v1/responses.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / pub async fn get_text_to_text( [INFO] [stdout] 24 | | name: String, [INFO] [stdout] 25 | | data: Json, [INFO] [stdout] 26 | | api_key: ApiKey, [INFO] [stdout] 27 | | ) -> Option { [INFO] [stdout] | |___________________^ function `get_text_to_text` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DataTTT` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/routes/v1/responses.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | struct DataTTT { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/auth.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ApiKey(String); [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/routes/v1/responses.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn get_profile_config(name: String, api_key: ApiKey) -> Option { [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/routes/v1/responses.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | name: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `happiAPI` (bin "happiAPI" test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `happiAPI` (bin "happiAPI") due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fd4546783f45291f506e9d2872a547714bdde042bd78d12ba2a058f180b61db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd4546783f45291f506e9d2872a547714bdde042bd78d12ba2a058f180b61db2", kill_on_drop: false }` [INFO] [stdout] fd4546783f45291f506e9d2872a547714bdde042bd78d12ba2a058f180b61db2