[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] building s0ssh/happiAPI against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs0ssh%2FhappiAPI" "/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/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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/s0ssh/happiAPI on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 177524aeba57941481748af0b5a485e7260870da4735602b45146dba6ef5a94e [INFO] running `Command { std: "docker" "start" "-a" "177524aeba57941481748af0b5a485e7260870da4735602b45146dba6ef5a94e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "177524aeba57941481748af0b5a485e7260870da4735602b45146dba6ef5a94e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "177524aeba57941481748af0b5a485e7260870da4735602b45146dba6ef5a94e", kill_on_drop: false }` [INFO] [stdout] 177524aeba57941481748af0b5a485e7260870da4735602b45146dba6ef5a94e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 575b0dc8d8bd65462a9cc32364e95da90f9fc5664b2fa8d97d579ec09e8a17ca [INFO] running `Command { std: "docker" "start" "-a" "575b0dc8d8bd65462a9cc32364e95da90f9fc5664b2fa8d97d579ec09e8a17ca", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.12 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling 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 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "575b0dc8d8bd65462a9cc32364e95da90f9fc5664b2fa8d97d579ec09e8a17ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575b0dc8d8bd65462a9cc32364e95da90f9fc5664b2fa8d97d579ec09e8a17ca", kill_on_drop: false }` [INFO] [stdout] 575b0dc8d8bd65462a9cc32364e95da90f9fc5664b2fa8d97d579ec09e8a17ca [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65b4e0fe9dfcc0a47d335a8e2012ba096c6731b89ec2d3dda748548e92d38617 [INFO] running `Command { std: "docker" "start" "-a" "65b4e0fe9dfcc0a47d335a8e2012ba096c6731b89ec2d3dda748548e92d38617", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.33s [INFO] running `Command { std: "docker" "inspect" "65b4e0fe9dfcc0a47d335a8e2012ba096c6731b89ec2d3dda748548e92d38617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65b4e0fe9dfcc0a47d335a8e2012ba096c6731b89ec2d3dda748548e92d38617", kill_on_drop: false }` [INFO] [stdout] 65b4e0fe9dfcc0a47d335a8e2012ba096c6731b89ec2d3dda748548e92d38617