[INFO] cloning repository https://github.com/5-2-5-equipe-2/nuit-info-2022-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/5-2-5-equipe-2/nuit-info-2022-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5-2-5-equipe-2%2Fnuit-info-2022-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5-2-5-equipe-2%2Fnuit-info-2022-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b3a37d3bbc8d0423541eeea3f09df70f2c8906b [INFO] testing 5-2-5-equipe-2/nuit-info-2022-backend against beta-2025-10-28 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5-2-5-equipe-2%2Fnuit-info-2022-backend" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/5-2-5-equipe-2/nuit-info-2022-backend [INFO] finished tweaking git repo https://github.com/5-2-5-equipe-2/nuit-info-2022-backend [INFO] tweaked toml for git repo https://github.com/5-2-5-equipe-2/nuit-info-2022-backend written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/5-2-5-equipe-2/nuit-info-2022-backend on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/5-2-5-equipe-2/nuit-info-2022-backend 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-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 768b7e3e948fb5cf3d8772de3ef281aacb3e48549f14fc9aefb738e92172479f [INFO] running `Command { std: "docker" "start" "-a" "768b7e3e948fb5cf3d8772de3ef281aacb3e48549f14fc9aefb738e92172479f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "768b7e3e948fb5cf3d8772de3ef281aacb3e48549f14fc9aefb738e92172479f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "768b7e3e948fb5cf3d8772de3ef281aacb3e48549f14fc9aefb738e92172479f", kill_on_drop: false }` [INFO] [stdout] 768b7e3e948fb5cf3d8772de3ef281aacb3e48549f14fc9aefb738e92172479f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92fab263447e32a2cc42c2257c461ab6bb57441a2566596f018f12d562c5ba94 [INFO] running `Command { std: "docker" "start" "-a" "92fab263447e32a2cc42c2257c461ab6bb57441a2566596f018f12d562c5ba94", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.9 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cc v1.0.77 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Compiling tokio v1.22.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling openssl-sys v0.9.78 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling openssl v0.10.43 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rust_decimal v1.27.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.58 [INFO] [stderr] Compiling crc-catalog v2.1.0 [INFO] [stderr] Compiling dotenvy v0.15.6 [INFO] [stderr] Compiling crc v3.0.0 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling sqlformat v0.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling sea-query-derive v0.2.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling hashlink v0.8.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling uuid v1.2.2 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling pest v2.5.0 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling darling_core v0.14.2 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-lock v2.6.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling sea-strum_macros v0.23.0 [INFO] [stderr] Compiling ouroboros_macro v0.15.5 [INFO] [stderr] Compiling bae v0.1.7 [INFO] [stderr] Compiling multer v2.0.4 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling darling_macro v0.14.2 [INFO] [stderr] Compiling async-graphql-value v4.0.16 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling polling v2.5.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling concurrent-queue v1.2.4 [INFO] [stderr] Compiling ouroboros v0.15.5 [INFO] [stderr] Compiling async-graphql-parser v4.0.16 [INFO] [stderr] Compiling darling v0.14.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling sea-query v0.27.2 [INFO] [stderr] Compiling sea-strum v0.23.0 [INFO] [stderr] Compiling sea-orm-macros v0.10.4 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling sqlx-rt v0.6.2 [INFO] [stderr] Compiling concurrent-queue v2.0.0 [INFO] [stderr] Compiling async-io v1.12.0 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling sqlx-core v0.6.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling async-graphql-derive v4.0.16 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling async-channel v1.7.1 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling sea-schema-derive v0.1.0 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling async-compression v0.3.15 [INFO] [stderr] Compiling blocking v1.3.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.16 [INFO] [stderr] Compiling cipher v0.4.3 [INFO] [stderr] Compiling sea-schema v0.10.3 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling async-executor v1.5.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling async-graphql v4.0.16 [INFO] [stderr] Compiling sqlx-macros v0.6.2 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling iri-string v0.4.1 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling headers v0.3.8 [INFO] [stderr] Compiling sea-orm-cli v0.10.5 [INFO] [stderr] Compiling sqlx v0.6.2 [INFO] [stderr] Compiling sea-query-binder v0.2.2 [INFO] [stderr] Compiling sea-orm v0.10.4 [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling async-global-executor v2.3.1 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling axum-core v0.2.9 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling bcrypt v0.13.0 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling pem v1.1.0 [INFO] [stderr] Compiling jsonwebtoken v8.1.1 [INFO] [stderr] Compiling axum v0.5.17 [INFO] [stderr] Compiling sea-orm-migration v0.10.4 [INFO] [stderr] Compiling migration v0.1.0 (/opt/rustwide/workdir/migration) [INFO] [stderr] Compiling entity v0.1.0 (/opt/rustwide/workdir/entity) [INFO] [stderr] Compiling async-graphql-axum v4.0.16 [INFO] [stderr] Compiling graphql-core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: unused import: `::entity::async_graphql::futures_util::AsyncWriteExt` [INFO] [stdout] --> core/src/game/mutation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ::entity::async_graphql::futures_util::AsyncWriteExt; [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: `sea_orm::sea_query::ColumnSpec::Default` [INFO] [stdout] --> core/src/game/mutation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sea_orm::sea_query::ColumnSpec::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::entity::prelude::User` [INFO] [stdout] --> core/src/game/mutation.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ::entity::prelude::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::entity::game` [INFO] [stdout] --> core/src/game/query.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ::entity::game; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea_orm::sea_query::ColumnSpec::Default` [INFO] [stdout] --> core/src/questions/mutation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sea_orm::sea_query::ColumnSpec::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::entity::prelude::User` [INFO] [stdout] --> core/src/questions/mutation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ::entity::prelude::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DEFAULT_COST` [INFO] [stdout] --> core/src/user/mutation.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use bcrypt::{hash, verify, DEFAULT_COST}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `questions` [INFO] [stdout] --> core/src/user/mutation.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use ::entity::{questions, user}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> core/src/game/mutation.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | if let Err(e) = current_game { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> core/src/game/mutation.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | if let Err(e) = question { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> core/src/game/mutation.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let res = Game::update(active_model) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> core/src/game/mutation.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | if let Err(e) = current_game { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling graphql-example-api v0.1.0 (/opt/rustwide/workdir/api) [INFO] [stdout] warning: unused import: `middleware` [INFO] [stdout] --> api/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | middleware, [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: `auth_middleware::auth_middleware` [INFO] [stdout] --> api/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use auth_middleware::auth_middleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Claims` and `TokenType` [INFO] [stdout] --> api/src/graphql/mutation/game.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::jwt::{validate_token, Claims, TokenType}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Extension` [INFO] [stdout] --> api/src/graphql/mutation/game.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::Extension; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `migration::Token` [INFO] [stdout] --> api/src/graphql/mutation/game.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use migration::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenType`, `create_access_token`, and `validate_token` [INFO] [stdout] --> api/src/graphql/mutation/questions.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::jwt::{create_access_token, validate_token, TokenType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::graphql::query::game` [INFO] [stdout] --> api/src/graphql/query/game.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::graphql::query::game; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `note` [INFO] [stdout] --> api/src/graphql/query/note.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use entity::{async_graphql, note}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphql_core::note::Query` [INFO] [stdout] --> api/src/graphql/query/note.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use graphql_core::note::Query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::graphql::query::questions` [INFO] [stdout] --> api/src/graphql/query/questions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::graphql::query::questions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> api/src/graphql/mutation/game.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(game) => Ok(AnswerQuestionResult { success: true }), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> api/src/graphql/mutation/game.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | Ok(game) => Ok(AddGameResult { success: true }), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> api/src/graphql/query/note.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let conn = ctx.data::().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> api/src/graphql/query/note.rs:18:55 [INFO] [stdout] | [INFO] [stdout] 18 | async fn get_note_by_id(&self, ctx: &Context<'_>, id: i32) -> Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> api/src/graphql/query/note.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let conn = ctx.data::().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cors` [INFO] [stdout] --> api/src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let cors = CorsLayer::new().allow_origin(Any); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_middleware` is never used [INFO] [stdout] --> api/src/auth_middleware.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn auth_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddQuestionResult` is never constructed [INFO] [stdout] --> api/src/graphql/mutation/questions.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct AddQuestionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nuit-info v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 40s [INFO] running `Command { std: "docker" "inspect" "92fab263447e32a2cc42c2257c461ab6bb57441a2566596f018f12d562c5ba94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92fab263447e32a2cc42c2257c461ab6bb57441a2566596f018f12d562c5ba94", kill_on_drop: false }` [INFO] [stdout] 92fab263447e32a2cc42c2257c461ab6bb57441a2566596f018f12d562c5ba94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3b2441e5ac2d20f5b491a088c5d293f87be033d6a61b4e0ce9ed9d4f8a76d2f [INFO] running `Command { std: "docker" "start" "-a" "d3b2441e5ac2d20f5b491a088c5d293f87be033d6a61b4e0ce9ed9d4f8a76d2f", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `::entity::async_graphql::futures_util::AsyncWriteExt` [INFO] [stdout] --> core/src/game/mutation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ::entity::async_graphql::futures_util::AsyncWriteExt; [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: `sea_orm::sea_query::ColumnSpec::Default` [INFO] [stdout] --> core/src/game/mutation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sea_orm::sea_query::ColumnSpec::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::entity::prelude::User` [INFO] [stdout] --> core/src/game/mutation.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ::entity::prelude::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::entity::game` [INFO] [stdout] --> core/src/game/query.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ::entity::game; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea_orm::sea_query::ColumnSpec::Default` [INFO] [stdout] --> core/src/questions/mutation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sea_orm::sea_query::ColumnSpec::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::entity::prelude::User` [INFO] [stdout] --> core/src/questions/mutation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ::entity::prelude::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DEFAULT_COST` [INFO] [stdout] --> core/src/user/mutation.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use bcrypt::{hash, verify, DEFAULT_COST}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `questions` [INFO] [stdout] --> core/src/user/mutation.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use ::entity::{questions, user}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> core/src/game/mutation.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | if let Err(e) = current_game { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> core/src/game/mutation.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | if let Err(e) = question { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> core/src/game/mutation.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let res = Game::update(active_model) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> core/src/game/mutation.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | if let Err(e) = current_game { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middleware` [INFO] [stdout] --> api/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | middleware, [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: `auth_middleware::auth_middleware` [INFO] [stdout] --> api/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use auth_middleware::auth_middleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Claims` and `TokenType` [INFO] [stdout] --> api/src/graphql/mutation/game.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::jwt::{validate_token, Claims, TokenType}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Extension` [INFO] [stdout] --> api/src/graphql/mutation/game.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::Extension; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `migration::Token` [INFO] [stdout] --> api/src/graphql/mutation/game.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use migration::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenType`, `create_access_token`, and `validate_token` [INFO] [stdout] --> api/src/graphql/mutation/questions.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::jwt::{create_access_token, validate_token, TokenType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::graphql::query::game` [INFO] [stdout] --> api/src/graphql/query/game.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::graphql::query::game; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `note` [INFO] [stdout] --> api/src/graphql/query/note.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use entity::{async_graphql, note}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphql_core::note::Query` [INFO] [stdout] --> api/src/graphql/query/note.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use graphql_core::note::Query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::graphql::query::questions` [INFO] [stdout] --> api/src/graphql/query/questions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::graphql::query::questions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> api/src/graphql/mutation/game.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(game) => Ok(AnswerQuestionResult { success: true }), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> api/src/graphql/mutation/game.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | Ok(game) => Ok(AddGameResult { success: true }), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> api/src/graphql/query/note.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let conn = ctx.data::().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> api/src/graphql/query/note.rs:18:55 [INFO] [stdout] | [INFO] [stdout] 18 | async fn get_note_by_id(&self, ctx: &Context<'_>, id: i32) -> Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> api/src/graphql/query/note.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let conn = ctx.data::().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cors` [INFO] [stdout] --> api/src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let cors = CorsLayer::new().allow_origin(Any); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_middleware` is never used [INFO] [stdout] --> api/src/auth_middleware.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn auth_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddQuestionResult` is never constructed [INFO] [stdout] --> api/src/graphql/mutation/questions.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct AddQuestionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nuit-info v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `Command { std: "docker" "inspect" "d3b2441e5ac2d20f5b491a088c5d293f87be033d6a61b4e0ce9ed9d4f8a76d2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3b2441e5ac2d20f5b491a088c5d293f87be033d6a61b4e0ce9ed9d4f8a76d2f", kill_on_drop: false }` [INFO] [stdout] d3b2441e5ac2d20f5b491a088c5d293f87be033d6a61b4e0ce9ed9d4f8a76d2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 41203cffc34e6ea6dfe6a0d4eefe4d112ef2bddb4af298f40c351aab26275f62 [INFO] running `Command { std: "docker" "start" "-a" "41203cffc34e6ea6dfe6a0d4eefe4d112ef2bddb4af298f40c351aab26275f62", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `::entity::async_graphql::futures_util::AsyncWriteExt` [INFO] [stderr] --> core/src/game/mutation.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use ::entity::async_graphql::futures_util::AsyncWriteExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `sea_orm::sea_query::ColumnSpec::Default` [INFO] [stderr] --> core/src/game/mutation.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use sea_orm::sea_query::ColumnSpec::Default; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `::entity::prelude::User` [INFO] [stderr] --> core/src/game/mutation.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use ::entity::prelude::User; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `::entity::game` [INFO] [stderr] --> core/src/game/query.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use ::entity::game; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sea_orm::sea_query::ColumnSpec::Default` [INFO] [stderr] --> core/src/questions/mutation.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use sea_orm::sea_query::ColumnSpec::Default; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `::entity::prelude::User` [INFO] [stderr] --> core/src/questions/mutation.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use ::entity::prelude::User; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DEFAULT_COST` [INFO] [stderr] --> core/src/user/mutation.rs:3:28 [INFO] [stderr] | [INFO] [stderr] 3 | use bcrypt::{hash, verify, DEFAULT_COST}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `questions` [INFO] [stderr] --> core/src/user/mutation.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | use ::entity::{questions, user}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> core/src/game/mutation.rs:65:20 [INFO] [stderr] | [INFO] [stderr] 65 | if let Err(e) = current_game { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> core/src/game/mutation.rs:71:20 [INFO] [stderr] | [INFO] [stderr] 71 | if let Err(e) = question { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> core/src/game/mutation.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | let res = Game::update(active_model) [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> core/src/game/mutation.rs:99:20 [INFO] [stderr] | [INFO] [stderr] 99 | if let Err(e) = current_game { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: `graphql-core` (lib) generated 12 warnings (run `cargo fix --lib -p graphql-core` to apply 12 suggestions) [INFO] [stderr] warning: unused import: `middleware` [INFO] [stderr] --> api/src/lib.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | middleware, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `auth_middleware::auth_middleware` [INFO] [stderr] --> api/src/lib.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use auth_middleware::auth_middleware; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Claims` and `TokenType` [INFO] [stderr] --> api/src/graphql/mutation/game.rs:1:34 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::jwt::{validate_token, Claims, TokenType}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `axum::Extension` [INFO] [stderr] --> api/src/graphql/mutation/game.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use axum::Extension; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `migration::Token` [INFO] [stderr] --> api/src/graphql/mutation/game.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use migration::Token; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TokenType`, `create_access_token`, and `validate_token` [INFO] [stderr] --> api/src/graphql/mutation/questions.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::jwt::{create_access_token, validate_token, TokenType}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::graphql::query::game` [INFO] [stderr] --> api/src/graphql/query/game.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::graphql::query::game; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `note` [INFO] [stderr] --> api/src/graphql/query/note.rs:3:29 [INFO] [stderr] | [INFO] [stderr] 3 | use entity::{async_graphql, note}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `graphql_core::note::Query` [INFO] [stderr] --> api/src/graphql/query/note.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use graphql_core::note::Query; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::graphql::query::questions` [INFO] [stderr] --> api/src/graphql/query/questions.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::graphql::query::questions; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game` [INFO] [stderr] --> api/src/graphql/mutation/game.rs:90:16 [INFO] [stderr] | [INFO] [stderr] 90 | Ok(game) => Ok(AnswerQuestionResult { success: true }), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game` [INFO] [stderr] --> api/src/graphql/mutation/game.rs:106:16 [INFO] [stderr] | [INFO] [stderr] 106 | Ok(game) => Ok(AddGameResult { success: true }), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn` [INFO] [stderr] --> api/src/graphql/query/note.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | let conn = ctx.data::().unwrap(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> api/src/graphql/query/note.rs:18:55 [INFO] [stderr] | [INFO] [stderr] 18 | async fn get_note_by_id(&self, ctx: &Context<'_>, id: i32) -> Result> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn` [INFO] [stderr] --> api/src/graphql/query/note.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | let conn = ctx.data::().unwrap(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cors` [INFO] [stderr] --> api/src/lib.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | let cors = CorsLayer::new().allow_origin(Any); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cors` [INFO] [stderr] [INFO] [stderr] warning: function `auth_middleware` is never used [INFO] [stderr] --> api/src/auth_middleware.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | pub async fn auth_middleware( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `AddQuestionResult` is never constructed [INFO] [stderr] --> api/src/graphql/mutation/questions.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct AddQuestionResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `graphql-example-api` (lib) generated 18 warnings (run `cargo fix --lib -p graphql-example-api` to apply 16 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nuit_info-15ac514feacdbc76) [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" "41203cffc34e6ea6dfe6a0d4eefe4d112ef2bddb4af298f40c351aab26275f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41203cffc34e6ea6dfe6a0d4eefe4d112ef2bddb4af298f40c351aab26275f62", kill_on_drop: false }` [INFO] [stdout] 41203cffc34e6ea6dfe6a0d4eefe4d112ef2bddb4af298f40c351aab26275f62