[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#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [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 c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 623c6b5a52c3be847cd95999028e1b4d9df00106fb65cba697ab19e23da9685b [INFO] running `Command { std: "docker" "start" "-a" "623c6b5a52c3be847cd95999028e1b4d9df00106fb65cba697ab19e23da9685b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "623c6b5a52c3be847cd95999028e1b4d9df00106fb65cba697ab19e23da9685b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "623c6b5a52c3be847cd95999028e1b4d9df00106fb65cba697ab19e23da9685b", kill_on_drop: false }` [INFO] [stdout] 623c6b5a52c3be847cd95999028e1b4d9df00106fb65cba697ab19e23da9685b [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97a105a6d0b6531b812492cb26822e4c04b1d088e26381400489266b1153087d [INFO] running `Command { std: "docker" "start" "-a" "97a105a6d0b6531b812492cb26822e4c04b1d088e26381400489266b1153087d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling time v0.3.41 [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 openssl v0.10.72 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.14 [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 hyper v0.14.32 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [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 17s [INFO] running `Command { std: "docker" "inspect" "97a105a6d0b6531b812492cb26822e4c04b1d088e26381400489266b1153087d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a105a6d0b6531b812492cb26822e4c04b1d088e26381400489266b1153087d", kill_on_drop: false }` [INFO] [stdout] 97a105a6d0b6531b812492cb26822e4c04b1d088e26381400489266b1153087d [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f692329d8ee40d2c70532b0aa03f94f8a8a800d67c7e775d5c6a979458eb7c50 [INFO] running `Command { std: "docker" "start" "-a" "f692329d8ee40d2c70532b0aa03f94f8a8a800d67c7e775d5c6a979458eb7c50", 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 1.82s [INFO] running `Command { std: "docker" "inspect" "f692329d8ee40d2c70532b0aa03f94f8a8a800d67c7e775d5c6a979458eb7c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f692329d8ee40d2c70532b0aa03f94f8a8a800d67c7e775d5c6a979458eb7c50", kill_on_drop: false }` [INFO] [stdout] f692329d8ee40d2c70532b0aa03f94f8a8a800d67c7e775d5c6a979458eb7c50