[INFO] cloning repository https://github.com/teguhkurnia/twitter-clone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teguhkurnia/twitter-clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteguhkurnia%2Ftwitter-clone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteguhkurnia%2Ftwitter-clone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a5c1e3c892625b2a0c09ec85e13b388891e771a [INFO] checking teguhkurnia/twitter-clone against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteguhkurnia%2Ftwitter-clone" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/teguhkurnia/twitter-clone [INFO] finished tweaking git repo https://github.com/teguhkurnia/twitter-clone [INFO] tweaked toml for git repo https://github.com/teguhkurnia/twitter-clone written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/teguhkurnia/twitter-clone on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/teguhkurnia/twitter-clone 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6fcb52be3ea8f563fb9fbd078d888d1a910314e4e35e0f28e0b74e0aac9a803 [INFO] running `Command { std: "docker" "start" "-a" "c6fcb52be3ea8f563fb9fbd078d888d1a910314e4e35e0f28e0b74e0aac9a803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6fcb52be3ea8f563fb9fbd078d888d1a910314e4e35e0f28e0b74e0aac9a803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6fcb52be3ea8f563fb9fbd078d888d1a910314e4e35e0f28e0b74e0aac9a803", kill_on_drop: false }` [INFO] [stdout] c6fcb52be3ea8f563fb9fbd078d888d1a910314e4e35e0f28e0b74e0aac9a803 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb9cade994e26b313f7c109f65c750992c232aa18fde6a6cc5421f9322f1e7bb [INFO] running `Command { std: "docker" "start" "-a" "cb9cade994e26b313f7c109f65c750992c232aa18fde6a6cc5421f9322f1e7bb", kill_on_drop: false }` [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling quick-xml v0.37.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking brotli-decompressor v4.0.3 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking oncemutex v0.1.1 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking brotli v7.0.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling pq-sys v0.7.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking bcrypt v0.17.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling diesel-derive-enum v2.1.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking jwt v0.16.0 [INFO] [stderr] Checking actix-server v2.5.1 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling diesel_derives v2.2.5 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling phonenumber v0.3.7+8.13.52 [INFO] [stderr] Compiling garde_derive v0.22.0 [INFO] [stderr] Checking regex-cache v0.2.1 [INFO] [stderr] Checking card-validate v2.4.0 [INFO] [stderr] Checking diesel v2.2.10 [INFO] [stderr] Checking garde v0.22.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking actix-http v3.10.0 [INFO] [stderr] Checking actix-web v4.10.2 [INFO] [stderr] Checking actix-web-validation v0.8.0 [INFO] [stderr] Checking twitter-clone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `associations::HasTable` [INFO] [stdout] --> src/repositories/postgres/post_repository.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::{associations::HasTable, dsl::insert_into, r2d2::ConnectionManager, ExpressionMethods, PgConnection, QueryDsl, RunQueryDsl, S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `associations::HasTable` [INFO] [stdout] --> src/repositories/postgres/post_repository.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::{associations::HasTable, dsl::insert_into, r2d2::ConnectionManager, ExpressionMethods, PgConnection, QueryDsl, RunQueryDsl, S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id_value` [INFO] [stdout] --> src/repositories/postgres/post_repository.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | user_id_value: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id_value` [INFO] [stdout] --> src/repositories/postgres/post_repository.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | user_id_value: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Email` is never constructed [INFO] [stdout] --> src/repositories/traits/user_repository.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum UserIdentifier{ [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 4 | Username(String), [INFO] [stdout] 5 | Email(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bio`, `background_picture`, `created_at`, and `updated_at` are never read [INFO] [stdout] --> src/models/user.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub bio: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub profile_picture: Option, [INFO] [stdout] 13 | pub background_picture: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub created_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub updated_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Media` is never constructed [INFO] [stdout] --> src/models/media.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Media { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostMedia` is never constructed [INFO] [stdout] --> src/models/post_media.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PostMedia { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `token` are never read [INFO] [stdout] --> src/extractors/auth_extractor.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Authenticated { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 6 | pub id: i32, [INFO] [stdout] 7 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Email` is never constructed [INFO] [stdout] --> src/repositories/traits/user_repository.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum UserIdentifier{ [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 4 | Username(String), [INFO] [stdout] 5 | Email(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bio`, `background_picture`, `created_at`, and `updated_at` are never read [INFO] [stdout] --> src/models/user.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub bio: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub profile_picture: Option, [INFO] [stdout] 13 | pub background_picture: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub created_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub updated_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Media` is never constructed [INFO] [stdout] --> src/models/media.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Media { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostMedia` is never constructed [INFO] [stdout] --> src/models/post_media.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PostMedia { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `token` are never read [INFO] [stdout] --> src/extractors/auth_extractor.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Authenticated { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 6 | pub id: i32, [INFO] [stdout] 7 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.64s [INFO] running `Command { std: "docker" "inspect" "cb9cade994e26b313f7c109f65c750992c232aa18fde6a6cc5421f9322f1e7bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb9cade994e26b313f7c109f65c750992c232aa18fde6a6cc5421f9322f1e7bb", kill_on_drop: false }` [INFO] [stdout] cb9cade994e26b313f7c109f65c750992c232aa18fde6a6cc5421f9322f1e7bb