[INFO] cloning repository https://github.com/adamkali/yaddak-encounter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adamkali/yaddak-encounter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamkali%2Fyaddak-encounter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamkali%2Fyaddak-encounter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4dc0073373389c2128fc16e1f961700ca24383e5 [INFO] testing adamkali/yaddak-encounter/4dc0073373389c2128fc16e1f961700ca24383e5 against beta-2024-09-05 for beta-1.82-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamkali%2Fyaddak-encounter" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adamkali/yaddak-encounter on toolchain beta-2024-09-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adamkali/yaddak-encounter [INFO] finished tweaking git repo https://github.com/adamkali/yaddak-encounter [INFO] tweaked toml for git repo https://github.com/adamkali/yaddak-encounter written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/adamkali/yaddak-encounter 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" "+beta-2024-09-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a1af5e8caba454bc3e21d062353bf0d74a5dd19a059807622f070a904cfebdc [INFO] running `Command { std: "docker" "start" "-a" "1a1af5e8caba454bc3e21d062353bf0d74a5dd19a059807622f070a904cfebdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a1af5e8caba454bc3e21d062353bf0d74a5dd19a059807622f070a904cfebdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a1af5e8caba454bc3e21d062353bf0d74a5dd19a059807622f070a904cfebdc", kill_on_drop: false }` [INFO] [stdout] 1a1af5e8caba454bc3e21d062353bf0d74a5dd19a059807622f070a904cfebdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c48069b14ab51083f536561b76644bee8263a3cc03bac278f0962008bfa3563c [INFO] running `Command { std: "docker" "start" "-a" "c48069b14ab51083f536561b76644bee8263a3cc03bac278f0962008bfa3563c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.110 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling axum v0.7.3 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling atomic-write-file v0.1.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rust-embed-utils v8.2.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling rustls-pki-types v1.1.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling rustls-pemfile v2.0.0 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling arc-swap v1.6.0 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Compiling rust-argon2 v2.0.0 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling rustls-webpki v0.101.4 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling inherent v1.0.11 [INFO] [stderr] Compiling rust-embed-impl v8.2.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling dotenv_codegen v0.15.0 [INFO] [stderr] Compiling rust-embed v8.2.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling sea-query-derive v0.4.1 [INFO] [stderr] Compiling utoipa-swagger-ui v6.0.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling sea-query v0.30.6 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tower-http v0.5.0 [INFO] [stderr] Compiling utoipa-gen v4.2.0 [INFO] [stderr] Compiling h2 v0.4.0 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling utoipa v4.2.0 [INFO] [stderr] Compiling hyper v1.1.0 [INFO] [stderr] Compiling sqlx-core v0.7.3 [INFO] [stderr] Compiling hyper-util v0.1.2 [INFO] [stderr] Compiling axum-server v0.6.0 [INFO] [stderr] Compiling sqlx-postgres v0.7.3 [INFO] [stderr] Compiling axum-extra v0.9.2 [INFO] [stderr] Compiling sqlx-macros-core v0.7.3 [INFO] [stderr] Compiling sqlx-macros v0.7.3 [INFO] [stderr] Compiling sqlx v0.7.3 [INFO] [stderr] Compiling sea-query-binder v0.5.0 [INFO] [stderr] Compiling yaddak-encounter-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `query_as` [INFO] [stdout] --> src/models/user.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | query_as, FromRow, query_as_with, query_with [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Hyphenated` [INFO] [stdout] --> src/models/user.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use uuid::{Uuid, fmt::Hyphenated}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::PgPool` [INFO] [stdout] --> src/traits/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper::StatusCode` [INFO] [stdout] --> src/utilities/headers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `con_str` [INFO] [stdout] --> src/models/monsters.rs:342:18 [INFO] [stdout] | [INFO] [stdout] 342 | async fn put(con_str: String, id: Uuid, model: &Monster) -> super::errors::SResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_con_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/models/monsters.rs:342:35 [INFO] [stdout] | [INFO] [stdout] 342 | async fn put(con_str: String, id: Uuid, model: &Monster) -> super::errors::SResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/models/monsters.rs:342:45 [INFO] [stdout] | [INFO] [stdout] 342 | async fn put(con_str: String, id: Uuid, model: &Monster) -> super::errors::SResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Statement` [INFO] [stdout] --> src/models/monsters.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::{FromRow, query, Statement, query_as_with, query_with}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/models/monsters.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | Err(e) => 0.0, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shutdown_future` [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let shutdown_future = shutdown_signal(handle.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `http` is never read [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct Ports { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 29 | http: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ports` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redirect_http_to_https` is never used [INFO] [stdout] --> src/main.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | async fn redirect_http_to_https(ports: Ports, signal: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/user.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl User { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 52 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `database_error` is never used [INFO] [stdout] --> src/models/errors.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl YaddakError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn database_error(message: String) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.43s [INFO] running `Command { std: "docker" "inspect" "c48069b14ab51083f536561b76644bee8263a3cc03bac278f0962008bfa3563c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c48069b14ab51083f536561b76644bee8263a3cc03bac278f0962008bfa3563c", kill_on_drop: false }` [INFO] [stdout] c48069b14ab51083f536561b76644bee8263a3cc03bac278f0962008bfa3563c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a1db7a201fe926ac7882e3d4e389863b7ab3ef783381562210f13d4055dd195 [INFO] running `Command { std: "docker" "start" "-a" "6a1db7a201fe926ac7882e3d4e389863b7ab3ef783381562210f13d4055dd195", kill_on_drop: false }` [INFO] [stderr] Compiling yaddak-encounter-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `query_as` [INFO] [stdout] --> src/models/user.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | query_as, FromRow, query_as_with, query_with [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Hyphenated` [INFO] [stdout] --> src/models/user.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use uuid::{Uuid, fmt::Hyphenated}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::PgPool` [INFO] [stdout] --> src/traits/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper::StatusCode` [INFO] [stdout] --> src/utilities/headers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `con_str` [INFO] [stdout] --> src/models/monsters.rs:342:18 [INFO] [stdout] | [INFO] [stdout] 342 | async fn put(con_str: String, id: Uuid, model: &Monster) -> super::errors::SResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_con_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/models/monsters.rs:342:35 [INFO] [stdout] | [INFO] [stdout] 342 | async fn put(con_str: String, id: Uuid, model: &Monster) -> super::errors::SResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/models/monsters.rs:342:45 [INFO] [stdout] | [INFO] [stdout] 342 | async fn put(con_str: String, id: Uuid, model: &Monster) -> super::errors::SResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Statement` [INFO] [stdout] --> src/models/monsters.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::{FromRow, query, Statement, query_as_with, query_with}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/models/monsters.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | Err(e) => 0.0, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shutdown_future` [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let shutdown_future = shutdown_signal(handle.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `http` is never read [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct Ports { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 29 | http: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ports` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redirect_http_to_https` is never used [INFO] [stdout] --> src/main.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | async fn redirect_http_to_https(ports: Ports, signal: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/user.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl User { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 52 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `database_error` is never used [INFO] [stdout] --> src/models/errors.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl YaddakError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn database_error(message: String) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "6a1db7a201fe926ac7882e3d4e389863b7ab3ef783381562210f13d4055dd195", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a1db7a201fe926ac7882e3d4e389863b7ab3ef783381562210f13d4055dd195", kill_on_drop: false }` [INFO] [stdout] 6a1db7a201fe926ac7882e3d4e389863b7ab3ef783381562210f13d4055dd195 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bfe91ed50faaab7a398d8ec1209000046fa85ad1f741d40b0f4fd92948a87f38 [INFO] running `Command { std: "docker" "start" "-a" "bfe91ed50faaab7a398d8ec1209000046fa85ad1f741d40b0f4fd92948a87f38", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `query_as` [INFO] [stderr] --> src/models/user.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | query_as, FromRow, query_as_with, query_with [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `fmt::Hyphenated` [INFO] [stderr] --> src/models/user.rs:19:18 [INFO] [stderr] | [INFO] [stderr] 19 | use uuid::{Uuid, fmt::Hyphenated}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sqlx::PgPool` [INFO] [stderr] --> src/traits/mod.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use sqlx::PgPool; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hyper::StatusCode` [INFO] [stderr] --> src/utilities/headers.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use hyper::StatusCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `con_str` [INFO] [stderr] --> src/models/monsters.rs:342:18 [INFO] [stderr] | [INFO] [stderr] 342 | async fn put(con_str: String, id: Uuid, model: &Monster) -> super::errors::SResult<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_con_str` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/models/monsters.rs:342:35 [INFO] [stderr] | [INFO] [stderr] 342 | async fn put(con_str: String, id: Uuid, model: &Monster) -> super::errors::SResult<()> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `model` [INFO] [stderr] --> src/models/monsters.rs:342:45 [INFO] [stderr] | [INFO] [stderr] 342 | async fn put(con_str: String, id: Uuid, model: &Monster) -> super::errors::SResult<()> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Statement` [INFO] [stderr] --> src/models/monsters.rs:6:28 [INFO] [stderr] | [INFO] [stderr] 6 | use sqlx::{FromRow, query, Statement, query_as_with, query_with}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/models/monsters.rs:154:21 [INFO] [stderr] | [INFO] [stderr] 154 | Err(e) => 0.0, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shutdown_future` [INFO] [stderr] --> src/main.rs:92:9 [INFO] [stderr] | [INFO] [stderr] 92 | let shutdown_future = shutdown_signal(handle.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_future` [INFO] [stderr] [INFO] [stderr] warning: field `http` is never read [INFO] [stderr] --> src/main.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 28 | struct Ports { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 29 | http: u16, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Ports` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `redirect_http_to_https` is never used [INFO] [stderr] --> src/main.rs:133:10 [INFO] [stderr] | [INFO] [stderr] 133 | async fn redirect_http_to_https(ports: Ports, signal: F) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/models/user.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 51 | impl User { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] 52 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `database_error` is never used [INFO] [stderr] --> src/models/errors.rs:105:12 [INFO] [stderr] | [INFO] [stderr] 97 | impl YaddakError { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 105 | pub fn database_error(message: String) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `yaddak-encounter-server` (bin "yaddak-encounter-server" test) generated 14 warnings (run `cargo fix --bin "yaddak-encounter-server" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/yaddak_encounter_server-c8f2c4e5e3e2ff5c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bfe91ed50faaab7a398d8ec1209000046fa85ad1f741d40b0f4fd92948a87f38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfe91ed50faaab7a398d8ec1209000046fa85ad1f741d40b0f4fd92948a87f38", kill_on_drop: false }` [INFO] [stdout] bfe91ed50faaab7a398d8ec1209000046fa85ad1f741d40b0f4fd92948a87f38