[INFO] cloning repository https://github.com/vfbiby/ntex-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vfbiby/ntex-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvfbiby%2Fntex-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvfbiby%2Fntex-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8c32d7a6cf0e73fd8c71da6b3f04ff463491b59 [INFO] testing vfbiby/ntex-app against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvfbiby%2Fntex-app" "/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/vfbiby/ntex-app [INFO] finished tweaking git repo https://github.com/vfbiby/ntex-app [INFO] tweaked toml for git repo https://github.com/vfbiby/ntex-app written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vfbiby/ntex-app on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vfbiby/ntex-app 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sea-query-derive v0.4.2 [INFO] [stderr] Downloaded cpufeatures v0.2.15 [INFO] [stderr] Downloaded ntex-rt v0.4.20 [INFO] [stderr] Downloaded ouroboros v0.18.4 [INFO] [stderr] Downloaded ouroboros_macro v0.18.4 [INFO] [stderr] Downloaded if_chain v1.0.2 [INFO] [stderr] Downloaded validator_derive v0.16.0 [INFO] [stderr] Downloaded ntex-io v2.8.3 [INFO] [stderr] Downloaded ntex-http v0.1.12 [INFO] [stderr] Downloaded ntex-codec v0.6.2 [INFO] [stderr] Downloaded ntex-h2 v1.4.2 [INFO] [stderr] Downloaded ntex-server v2.5.0 [INFO] [stderr] Downloaded clap_lex v0.7.3 [INFO] [stderr] Downloaded ntex-macros v0.1.3 [INFO] [stderr] Downloaded ntex-net v2.4.0 [INFO] [stderr] Downloaded clap v4.5.21 [INFO] [stderr] Downloaded sea-orm-cli v1.1.1 [INFO] [stderr] Downloaded ordered-float v3.9.2 [INFO] [stderr] Downloaded rustls v0.23.17 [INFO] [stderr] Downloaded sea-orm-migration v1.1.1 [INFO] [stderr] Downloaded ntex-bytes v0.1.27 [INFO] [stderr] Downloaded ntex-util v2.5.0 [INFO] [stderr] Downloaded validator_types v0.16.0 [INFO] [stderr] Downloaded validator v0.16.1 [INFO] [stderr] Downloaded sea-bae v0.2.1 [INFO] [stderr] Downloaded sea-orm-macros v1.1.1 [INFO] [stderr] Downloaded inherent v1.0.11 [INFO] [stderr] Downloaded ntex-tls v2.3.0 [INFO] [stderr] Downloaded sea-query v0.32.0 [INFO] [stderr] Downloaded clap_builder v4.5.21 [INFO] [stderr] Downloaded ntex-service v3.3.3 [INFO] [stderr] Downloaded sea-query-binder v0.7.0 [INFO] [stderr] Downloaded sea-orm v1.1.1 [INFO] [stderr] Downloaded ntex v2.8.0 [INFO] [stderr] Downloaded bigdecimal v0.4.6 [INFO] [stderr] Downloaded sea-schema v0.16.0 [INFO] [stderr] Downloaded ntex-router v0.5.3 [INFO] [stderr] Downloaded ntex-tokio v0.5.3 [INFO] [stderr] Downloaded sea-schema-derive v0.3.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec9b4d2a0be793597e481830d2e774572b9103dda4dff572cb33400016f404d7 [INFO] running `Command { std: "docker" "start" "-a" "ec9b4d2a0be793597e481830d2e774572b9103dda4dff572cb33400016f404d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec9b4d2a0be793597e481830d2e774572b9103dda4dff572cb33400016f404d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec9b4d2a0be793597e481830d2e774572b9103dda4dff572cb33400016f404d7", kill_on_drop: false }` [INFO] [stdout] ec9b4d2a0be793597e481830d2e774572b9103dda4dff572cb33400016f404d7 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5564d51f0cc5d9705c37852996a24952704095bfb39d89bda65af6b9e6a329d [INFO] running `Command { std: "docker" "start" "-a" "b5564d51f0cc5d9705c37852996a24952704095bfb39d89bda65af6b9e6a329d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling value-bag v1.10.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling bigdecimal v0.4.6 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling ntex-rt v0.4.20 [INFO] [stderr] Compiling cpufeatures v0.2.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling rustls v0.23.17 [INFO] [stderr] Compiling oneshot v0.1.8 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Compiling allocator-api2 v0.2.20 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ntex-service v3.3.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling webpki-roots v0.26.6 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling sea-query-derive v0.4.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling inherent v1.0.11 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling futures-lite v2.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling ntex-bytes v0.1.27 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling ntex-util v2.5.0 [INFO] [stderr] Compiling ntex-codec v0.6.2 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sea-query v0.32.0 [INFO] [stderr] Compiling ntex-http v0.1.12 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling ntex-io v2.8.3 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling ouroboros_macro v0.18.4 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling ntex-tokio v0.5.3 [INFO] [stderr] Compiling ntex-net v2.4.0 [INFO] [stderr] Compiling sea-schema-derive v0.3.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sqlx-sqlite v0.8.2 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling ouroboros v0.18.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling sea-schema v0.16.0 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling sea-orm-macros v1.1.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling sea-query-binder v0.7.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling sea-orm-cli v1.1.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling sea-orm v1.1.1 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling async-broadcast v0.7.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling ntex-server v2.5.0 [INFO] [stderr] Compiling ntex-h2 v1.4.2 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling ntex-tls v2.3.0 [INFO] [stderr] Compiling ntex-router v0.5.3 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling ntex v2.8.0 [INFO] [stderr] Compiling validator v0.16.1 [INFO] [stderr] Compiling sea-orm-migration v1.1.1 [INFO] [stderr] Compiling migration v0.1.0 (/opt/rustwide/workdir/migration) [INFO] [stderr] Compiling ntex-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/repositories/video_repository.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{DateTime, Utc}; [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: `video::*` [INFO] [stdout] --> src/entity/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use video::*; [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: `DateTime` [INFO] [stdout] --> src/repositories/video_repository.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscriber` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let subscriber = FmtSubscriber::builder() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 22 | let _subscriber = FmtSubscriber::builder() [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 22 - let subscriber = FmtSubscriber::builder() [INFO] [stdout] 22 + let db::_ = FmtSubscriber::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config_app` is never used [INFO] [stdout] --> src/app.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn config_app(cfg: &mut web::ServiceConfig) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database_url` is never read [INFO] [stdout] --> src/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | pub database_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `order_by` and `order_direction` are never read [INFO] [stdout] --> src/db.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct VideoQuery { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub order_by: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | pub order_direction: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideoQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PaginatedVideos` is never constructed [INFO] [stdout] --> src/db.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PaginatedVideos { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_video` is never used [INFO] [stdout] --> src/db.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn create_video( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_videos` is never used [INFO] [stdout] --> src/db.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn list_videos( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_video` is never used [INFO] [stdout] --> src/db.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | pub async fn get_video( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_video` is never used [INFO] [stdout] --> src/db.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | pub async fn update_video( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_video` is never used [INFO] [stdout] --> src/db.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | pub async fn delete_video( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BadRequest` and `Internal` are never constructed [INFO] [stdout] --> src/error/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Internal(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 09s [INFO] running `Command { std: "docker" "inspect" "b5564d51f0cc5d9705c37852996a24952704095bfb39d89bda65af6b9e6a329d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5564d51f0cc5d9705c37852996a24952704095bfb39d89bda65af6b9e6a329d", kill_on_drop: false }` [INFO] [stdout] b5564d51f0cc5d9705c37852996a24952704095bfb39d89bda65af6b9e6a329d [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea5bd625567c6bd5691981714a619dfb84f7cc65c6a99951d646db07bd10bca4 [INFO] running `Command { std: "docker" "start" "-a" "ea5bd625567c6bd5691981714a619dfb84f7cc65c6a99951d646db07bd10bca4", kill_on_drop: false }` [INFO] [stderr] Compiling ntex-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/repositories/video_repository.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{DateTime, Utc}; [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: `video::*` [INFO] [stdout] --> src/entity/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use video::*; [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: `DateTime` [INFO] [stdout] --> src/repositories/video_repository.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscriber` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let subscriber = FmtSubscriber::builder() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 22 | let _subscriber = FmtSubscriber::builder() [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 22 - let subscriber = FmtSubscriber::builder() [INFO] [stdout] 22 + let db::_ = FmtSubscriber::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config_app` is never used [INFO] [stdout] --> src/app.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn config_app(cfg: &mut web::ServiceConfig) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database_url` is never read [INFO] [stdout] --> src/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | pub database_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `order_by` and `order_direction` are never read [INFO] [stdout] --> src/db.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct VideoQuery { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub order_by: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | pub order_direction: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideoQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PaginatedVideos` is never constructed [INFO] [stdout] --> src/db.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PaginatedVideos { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_video` is never used [INFO] [stdout] --> src/db.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn create_video( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_videos` is never used [INFO] [stdout] --> src/db.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn list_videos( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_video` is never used [INFO] [stdout] --> src/db.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | pub async fn get_video( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_video` is never used [INFO] [stdout] --> src/db.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | pub async fn update_video( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_video` is never used [INFO] [stdout] --> src/db.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | pub async fn delete_video( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BadRequest` and `Internal` are never constructed [INFO] [stdout] --> src/error/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Internal(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `video::*` [INFO] [stdout] --> src/entity/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use video::*; [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: `DateTime` [INFO] [stdout] --> src/repositories/video_repository.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/repositories/video_repository.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{DateTime, Utc}; [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: `subscriber` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let subscriber = FmtSubscriber::builder() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 22 | let _subscriber = FmtSubscriber::builder() [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 22 - let subscriber = FmtSubscriber::builder() [INFO] [stdout] 22 + let db::_ = FmtSubscriber::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database_url` is never read [INFO] [stdout] --> src/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | pub database_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BadRequest` and `Internal` are never constructed [INFO] [stdout] --> src/error/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Internal(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.84s [INFO] running `Command { std: "docker" "inspect" "ea5bd625567c6bd5691981714a619dfb84f7cc65c6a99951d646db07bd10bca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea5bd625567c6bd5691981714a619dfb84f7cc65c6a99951d646db07bd10bca4", kill_on_drop: false }` [INFO] [stdout] ea5bd625567c6bd5691981714a619dfb84f7cc65c6a99951d646db07bd10bca4 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cfb53e46f12efd3530df5dd48c7e1effafb74c6d8093db58687830026b430a1c [INFO] running `Command { std: "docker" "start" "-a" "cfb53e46f12efd3530df5dd48c7e1effafb74c6d8093db58687830026b430a1c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `DateTime` [INFO] [stderr] --> src/repositories/video_repository.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | use chrono::{DateTime, Utc}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `ntex-api` (lib) generated 1 warning (run `cargo fix --lib -p ntex-api` to apply 1 suggestion) [INFO] [stderr] warning: `ntex-api` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: unused import: `video::*` [INFO] [stderr] --> src/entity/mod.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub use video::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `DateTime` [INFO] [stderr] --> src/repositories/video_repository.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | use chrono::{DateTime, Utc}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `subscriber` [INFO] [stderr] --> src/main.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let subscriber = FmtSubscriber::builder() [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 22 | let _subscriber = FmtSubscriber::builder() [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stderr] | [INFO] [stderr] 22 - let subscriber = FmtSubscriber::builder() [INFO] [stderr] 22 + let db::_ = FmtSubscriber::builder() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function `config_app` is never used [INFO] [stderr] --> src/app.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn config_app(cfg: &mut web::ServiceConfig) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `database_url` is never read [INFO] [stderr] --> src/config.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Config { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 6 | pub database_url: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `order_by` and `order_direction` are never read [INFO] [stderr] --> src/db.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct VideoQuery { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | pub order_by: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 19 | pub order_direction: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VideoQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `PaginatedVideos` is never constructed [INFO] [stderr] --> src/db.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct PaginatedVideos { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_video` is never used [INFO] [stderr] --> src/db.rs:48:14 [INFO] [stderr] | [INFO] [stderr] 48 | pub async fn create_video( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `list_videos` is never used [INFO] [stderr] --> src/db.rs:62:14 [INFO] [stderr] | [INFO] [stderr] 62 | pub async fn list_videos( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_video` is never used [INFO] [stderr] --> src/db.rs:121:14 [INFO] [stderr] | [INFO] [stderr] 121 | pub async fn get_video( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_video` is never used [INFO] [stderr] --> src/db.rs:131:14 [INFO] [stderr] | [INFO] [stderr] 131 | pub async fn update_video( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_video` is never used [INFO] [stderr] --> src/db.rs:160:14 [INFO] [stderr] | [INFO] [stderr] 160 | pub async fn delete_video( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `BadRequest` and `Internal` are never constructed [INFO] [stderr] --> src/error/mod.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum AppError { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 17 | BadRequest(String), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | Internal(String), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `database_url` is never read [INFO] [stderr] --> src/config.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Config { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 6 | pub database_url: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `ntex-api` (bin "ntex-api") generated 13 warnings (run `cargo fix --bin "ntex-api"` to apply 3 suggestions) [INFO] [stderr] warning: `ntex-api` (bin "ntex-api" test) generated 5 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ntex_api-e6092916e2618873) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test services::video_service::tests::test_get_video ... ok [INFO] [stdout] test services::video_service::tests::test_delete_video ... ok [INFO] [stdout] test services::video_service::tests::test_list_videos ... ok [INFO] [stdout] test api::tests::test_create_video ... ok [INFO] [stdout] test services::video_service::tests::test_update_video ... ok [INFO] [stdout] test services::video_service::tests::test_create_video ... ok [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ntex_api-3c50f6c399e630ce) [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test services::video_service::tests::test_create_video ... ok [INFO] [stdout] test services::video_service::tests::test_delete_video ... ok [INFO] [stdout] test services::video_service::tests::test_update_video ... ok [INFO] [stdout] test services::video_service::tests::test_list_videos ... ok [INFO] [stdout] test api::tests::test_create_video ... ok [INFO] [stdout] test services::video_service::tests::test_get_video ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/api_tests.rs (/opt/rustwide/target/debug/deps/api_tests-79ec85cb26649475) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test video_tests::test_empty_videos_returns_empty_array ... ok [INFO] [stdout] test video_tests::test_videos_endpoint_returns_200 ... ok [INFO] [stdout] test video_tests::test_videos_endpoint_returns_json ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests ntex_api [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/controllers/video_controller.rs - controllers::video_controller::VideoController::new (line 76) - compile ... ok [INFO] [stdout] test src/controllers/video_controller.rs - controllers::video_controller::VideoController::list_videos (line 189) - compile ... ok [INFO] [stdout] test src/controllers/video_controller.rs - controllers::video_controller::VideoController::get_video (line 247) - compile ... ok [INFO] [stdout] test src/controllers/video_controller.rs - controllers::video_controller::VideoController::delete_video (line 350) - compile ... ok [INFO] [stdout] test src/controllers/video_controller.rs - controllers::video_controller::config (line 381) - compile ... ok [INFO] [stdout] test src/controllers/video_controller.rs - controllers::video_controller::VideoController::create_video (line 126) - compile ... ok [INFO] [stdout] test src/services/video_service.rs - services::video_service::VideoService::get_video (line 119) - compile ... ok [INFO] [stdout] test src/services/video_service.rs - services::video_service::VideoService::create_video (line 69) - compile ... ok [INFO] [stdout] test src/services/video_service.rs - services::video_service::VideoService (line 17) - compile ... ok [INFO] [stdout] test src/services/video_service.rs - services::video_service::VideoService::new (line 41) - compile ... ok [INFO] [stdout] test src/services/video_service.rs - services::video_service::VideoService::delete_video (line 215) - compile ... ok [INFO] [stdout] test src/services/video_service.rs - services::video_service::VideoService::list_videos (line 253) - compile ... ok [INFO] [stdout] test src/controllers/video_controller.rs - controllers::video_controller::VideoController (line 14) - compile ... ok [INFO] [stdout] test src/controllers/video_controller.rs - controllers::video_controller::VideoController::update_video (line 304) - compile ... ok [INFO] [stdout] test src/services/video_service.rs - services::video_service::VideoService::update_video (line 163) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.29s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cfb53e46f12efd3530df5dd48c7e1effafb74c6d8093db58687830026b430a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfb53e46f12efd3530df5dd48c7e1effafb74c6d8093db58687830026b430a1c", kill_on_drop: false }` [INFO] [stdout] cfb53e46f12efd3530df5dd48c7e1effafb74c6d8093db58687830026b430a1c