[INFO] cloning repository https://github.com/Sunrisies/rust_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sunrisies/rust_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSunrisies%2Frust_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSunrisies%2Frust_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 713428a0cc7897785ed6b97240e4bf71bf4fc43d [INFO] checking Sunrisies/rust_server against 416264364aa47959f5827723e1d7dabc95d0744b for pr-162242 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSunrisies%2Frust_server" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Sunrisies/rust_server [INFO] finished tweaking git repo https://github.com/Sunrisies/rust_server [INFO] tweaked toml for git repo https://github.com/Sunrisies/rust_server written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sunrisies/rust_server on toolchain 416264364aa47959f5827723e1d7dabc95d0744b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Sunrisies/rust_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" "+416264364aa47959f5827723e1d7dabc95d0744b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b0ae1e39a85ee027c134fdaedd7229a43b1c18a52d7704623612c1574f90a9f7 [INFO] running `Command { std: "docker" "start" "b0ae1e39a85ee027c134fdaedd7229a43b1c18a52d7704623612c1574f90a9f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0ae1e39a85ee027c134fdaedd7229a43b1c18a52d7704623612c1574f90a9f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b0ae1e39a85ee027c134fdaedd7229a43b1c18a52d7704623612c1574f90a9f7" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0ae1e39a85ee027c134fdaedd7229a43b1c18a52d7704623612c1574f90a9f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b0ae1e39a85ee027c134fdaedd7229a43b1c18a52d7704623612c1574f90a9f7" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: web-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-watch` which is missing a lib target [INFO] [stderr] warning: web-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `runtime-tokio` which is missing a lib target [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling libm v0.2.13 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking getrandom v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling winnow v0.7.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Checking hostname v0.4.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling mysql_common v0.34.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking resolv-conf v0.7.1 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Checking rustc_version v0.4.1 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking btoi v0.4.3 [INFO] [stderr] Compiling derive_utils v0.15.0 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling mysql v26.0.0 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking bson v2.14.0 [INFO] [stderr] Compiling io-enum v1.2.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking hickory-proto v0.24.4 [INFO] [stderr] Checking actix-server v2.5.1 [INFO] [stderr] Compiling diesel_derives v2.2.4 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling mongodb-internal-macros v3.2.3 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Compiling derive-where v1.3.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking twox-hash v2.1.0 [INFO] [stderr] Checking features v0.10.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling mysql-common-derive v0.32.1 [INFO] [stderr] Compiling sqlx-mysql v0.8.5 [INFO] [stderr] Checking hickory-resolver v0.24.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking mongodb v3.2.3 [INFO] [stderr] Checking diesel v2.2.9 [INFO] [stderr] Checking actix-http v3.10.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.5 [INFO] [stderr] Compiling sqlx-macros v0.8.5 [INFO] [stderr] Checking sqlx v0.8.5 [INFO] [stderr] Checking actix-web v4.10.2 [INFO] [stderr] Checking web-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mongodb` [INFO] [stdout] --> src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use db::{mongodb, mysql}; [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: `mongodb` [INFO] [stdout] --> src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use db::{mongodb, mysql}; [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: `original_user` [INFO] [stdout] --> src/routes.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let original_user = match collection.find_one(filter.clone()).await { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_user` [INFO] [stdout] --> src/routes.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let original_user = match collection.find_one(filter.clone()).await { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect` is never used [INFO] [stdout] --> src/db/mongodb.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn connect() -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect` is never used [INFO] [stdout] --> src/db/mongodb.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn connect() -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `diesel` [INFO] [stderr] --> Cargo.toml:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | diesel = "2.2.9" [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `diesel` [INFO] [stderr] warning: unused dependency `features` [INFO] [stderr] --> Cargo.toml:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | features = "0.10.0" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `features` [INFO] [stderr] warning: unused dependency `futures` [INFO] [stderr] --> Cargo.toml:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | futures = "0.3.31" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `futures` [INFO] [stderr] warning: unused dependency `mysql` [INFO] [stderr] --> Cargo.toml:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | mysql = "26.0.0" [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `mysql` [INFO] [stderr] warning: `web-server` (manifest) generated 4 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "b0ae1e39a85ee027c134fdaedd7229a43b1c18a52d7704623612c1574f90a9f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0ae1e39a85ee027c134fdaedd7229a43b1c18a52d7704623612c1574f90a9f7", kill_on_drop: false }` [INFO] [stdout] b0ae1e39a85ee027c134fdaedd7229a43b1c18a52d7704623612c1574f90a9f7