[INFO] cloning repository https://github.com/Samarinara/pokemon-arena-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Samarinara/pokemon-arena-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamarinara%2Fpokemon-arena-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamarinara%2Fpokemon-arena-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c06b965dc157cd7a13262d349c8d78d6eb962912 [INFO] testing Samarinara/pokemon-arena-server against 1.91.0 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamarinara%2Fpokemon-arena-server" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Samarinara/pokemon-arena-server [INFO] finished tweaking git repo https://github.com/Samarinara/pokemon-arena-server [INFO] tweaked toml for git repo https://github.com/Samarinara/pokemon-arena-server written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Samarinara/pokemon-arena-server on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Samarinara/pokemon-arena-server 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v0.7.4 [INFO] [stderr] Downloaded postgres v0.19.10 [INFO] [stderr] Downloaded tokio-openssl v0.6.5 [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded actix-ws v0.3.0 [INFO] [stderr] Downloaded lettre_email v0.9.4 [INFO] [stderr] Downloaded email-encoding v0.4.1 [INFO] [stderr] Downloaded quoted_printable v0.5.1 [INFO] [stderr] Downloaded actix-rt v2.11.0 [INFO] [stderr] Downloaded fast_chemail v0.9.6 [INFO] [stderr] Downloaded lettre v0.9.6 [INFO] [stderr] Downloaded postgres-protocol v0.6.8 [INFO] [stderr] Downloaded actix-server v2.6.0 [INFO] [stderr] Downloaded env v1.0.1 [INFO] [stderr] Downloaded stacker v0.1.21 [INFO] [stderr] Downloaded postgres-types v0.2.9 [INFO] [stderr] Downloaded actix-service v2.0.3 [INFO] [stderr] Downloaded lettre v0.11.18 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded jiff-static v0.2.15 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [INFO] [stderr] Downloaded actix-web v4.11.0 [INFO] [stderr] Downloaded tokio-postgres v0.7.13 [INFO] [stderr] Downloaded ascii_utils v0.9.3 [INFO] [stderr] Downloaded base64 v0.10.1 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded jiff v0.2.15 [INFO] [stderr] Downloaded deadpool v0.12.3 [INFO] [stderr] Downloaded email_address v0.2.9 [INFO] [stderr] Downloaded email v0.0.20 [INFO] [stderr] Downloaded chumsky v0.9.3 [INFO] [stderr] Downloaded psm v0.1.26 [INFO] [stderr] Downloaded actix-http v3.11.0 [INFO] [stderr] Downloaded postgres-openssl v0.5.1 [INFO] [stderr] Downloaded deadpool-postgres v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8efaf5c49ce5e8cb6b638019cc4dfee78bd6ff87248d2056682b4f3d7a9b4b4a [INFO] running `Command { std: "docker" "start" "-a" "8efaf5c49ce5e8cb6b638019cc4dfee78bd6ff87248d2056682b4f3d7a9b4b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8efaf5c49ce5e8cb6b638019cc4dfee78bd6ff87248d2056682b4f3d7a9b4b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8efaf5c49ce5e8cb6b638019cc4dfee78bd6ff87248d2056682b4f3d7a9b4b4a", kill_on_drop: false }` [INFO] [stdout] 8efaf5c49ce5e8cb6b638019cc4dfee78bd6ff87248d2056682b4f3d7a9b4b4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a37805239fcf9d3b455834067fa584c59e17d65cfdcca0f381f31f66e2a9842 [INFO] running `Command { std: "docker" "start" "-a" "2a37805239fcf9d3b455834067fa584c59e17d65cfdcca0f381f31f66e2a9842", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling lettre v0.9.6 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling email-encoding v0.4.1 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling quoted_printable v0.5.1 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling env v1.0.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling chumsky v0.9.3 [INFO] [stderr] Compiling lettre_email v0.9.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling derive_more v2.0.1 [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 icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling lettre v0.11.18 [INFO] [stderr] Compiling deadpool v0.12.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling deadpool-postgres v0.14.1 [INFO] [stderr] Compiling postgres v0.19.10 [INFO] [stderr] Compiling postgres-openssl v0.5.1 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling actix-ws v0.3.0 [INFO] [stderr] Compiling pokemon-arena-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio_postgres::Client` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_postgres::Client; [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: `client` [INFO] [stdout] --> src/user_management.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let client = match client { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dex_number` [INFO] [stdout] --> src/pokedex.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let dex_number = dex.to_string().parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dex_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `database_url` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let database_url = env::var("DATABASE_URL") [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_json` is never used [INFO] [stdout] --> src/serde_handler.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn load_json(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 39s [INFO] running `Command { std: "docker" "inspect" "2a37805239fcf9d3b455834067fa584c59e17d65cfdcca0f381f31f66e2a9842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a37805239fcf9d3b455834067fa584c59e17d65cfdcca0f381f31f66e2a9842", kill_on_drop: false }` [INFO] [stdout] 2a37805239fcf9d3b455834067fa584c59e17d65cfdcca0f381f31f66e2a9842 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dbc83a7633d56d8728792756d3dd82998158f9fcd11b2cd43e8f58242c83245 [INFO] running `Command { std: "docker" "start" "-a" "7dbc83a7633d56d8728792756d3dd82998158f9fcd11b2cd43e8f58242c83245", kill_on_drop: false }` [INFO] [stderr] Compiling pokemon-arena-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio_postgres::Client` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_postgres::Client; [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: `client` [INFO] [stdout] --> src/user_management.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let client = match client { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dex_number` [INFO] [stdout] --> src/pokedex.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let dex_number = dex.to_string().parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dex_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `database_url` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let database_url = env::var("DATABASE_URL") [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_json` is never used [INFO] [stdout] --> src/serde_handler.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn load_json(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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.87s [INFO] running `Command { std: "docker" "inspect" "7dbc83a7633d56d8728792756d3dd82998158f9fcd11b2cd43e8f58242c83245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dbc83a7633d56d8728792756d3dd82998158f9fcd11b2cd43e8f58242c83245", kill_on_drop: false }` [INFO] [stdout] 7dbc83a7633d56d8728792756d3dd82998158f9fcd11b2cd43e8f58242c83245 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8fed72dd669676015424f025f6c7b2fe8249cd75d80b9da377be40cc6ae4e771 [INFO] running `Command { std: "docker" "start" "-a" "8fed72dd669676015424f025f6c7b2fe8249cd75d80b9da377be40cc6ae4e771", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `tokio_postgres::Client` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio_postgres::Client; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> src/user_management.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let client = match client { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dex_number` [INFO] [stderr] --> src/pokedex.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | let dex_number = dex.to_string().parse::().unwrap(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dex_number` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `database_url` [INFO] [stderr] --> src/main.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | let database_url = env::var("DATABASE_URL") [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database_url` [INFO] [stderr] [INFO] [stderr] warning: function `load_json` is never used [INFO] [stderr] --> src/serde_handler.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn load_json(path: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `pokemon-arena-server` (bin "pokemon-arena-server" test) generated 5 warnings (run `cargo fix --bin "pokemon-arena-server" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pokemon_arena_server-fcf0f1fcb4784b0f) [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" "8fed72dd669676015424f025f6c7b2fe8249cd75d80b9da377be40cc6ae4e771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fed72dd669676015424f025f6c7b2fe8249cd75d80b9da377be40cc6ae4e771", kill_on_drop: false }` [INFO] [stdout] 8fed72dd669676015424f025f6c7b2fe8249cd75d80b9da377be40cc6ae4e771