[INFO] cloning repository https://github.com/rcarubbi/rustApi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rcarubbi/rustApi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcarubbi%2FrustApi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcarubbi%2FrustApi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa5c98886ca894e8d8aba678462cfa422a86b41c [INFO] checking rcarubbi/rustApi against master#f4d794ea0b845413344621d89f6c945062748485 for pr-119369 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcarubbi%2FrustApi" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rcarubbi/rustApi on toolchain f4d794ea0b845413344621d89f6c945062748485 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4d794ea0b845413344621d89f6c945062748485" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rcarubbi/rustApi [INFO] finished tweaking git repo https://github.com/rcarubbi/rustApi [INFO] tweaked toml for git repo https://github.com/rcarubbi/rustApi written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rcarubbi/rustApi 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" "+f4d794ea0b845413344621d89f6c945062748485" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+f4d794ea0b845413344621d89f6c945062748485" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4fa9b60f1fb6940ed0f2096c87f99911c0dfb43ec319d0693a368d8fcf3c4cf [INFO] running `Command { std: "docker" "start" "-a" "c4fa9b60f1fb6940ed0f2096c87f99911c0dfb43ec319d0693a368d8fcf3c4cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4fa9b60f1fb6940ed0f2096c87f99911c0dfb43ec319d0693a368d8fcf3c4cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4fa9b60f1fb6940ed0f2096c87f99911c0dfb43ec319d0693a368d8fcf3c4cf", kill_on_drop: false }` [INFO] [stdout] c4fa9b60f1fb6940ed0f2096c87f99911c0dfb43ec319d0693a368d8fcf3c4cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+f4d794ea0b845413344621d89f6c945062748485" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28a2faf4d5c58b1bc8a1e619caaa515a473881e45c2bc6bf41fb2996e378fbc7 [INFO] running `Command { std: "docker" "start" "-a" "28a2faf4d5c58b1bc8a1e619caaa515a473881e45c2bc6bf41fb2996e378fbc7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking value-bag v1.4.2 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking futures-lite v2.1.0 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking event-listener v4.0.0 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking async-lock v3.2.0 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking async-task v4.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking deranged v0.3.10 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking zerocopy v0.7.29 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking connection-string v0.2.0 [INFO] [stderr] Checking pretty-hex v0.3.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling enumflags2_derive v0.7.8 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Checking enumflags2 v0.7.8 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking polling v3.3.1 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking async-io v2.2.1 [INFO] [stderr] Checking actix-codec v0.5.1 [INFO] [stderr] Checking async-global-executor v2.4.0 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking async-native-tls v0.4.0 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Checking asynchronous-codec v0.6.2 [INFO] [stderr] Checking tiberius v0.12.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking actix-http v3.4.0 [INFO] [stderr] Checking actix-web v4.4.0 [INFO] [stderr] Checking rust-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{sync::Arc, env}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{sync::Arc, env}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/data_access/repository/todo_repository.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/data_access/repository/todo_repository.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/data_access/dbcontext.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut client = Client::connect(config, tcp).await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/data_access/dbcontext.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut client = Client::connect(config, tcp).await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `todo` [INFO] [stdout] --> src/data_access/repository/todo_repository.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | fn create_todo(&self, todo: Todo) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_todo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `todo` [INFO] [stdout] --> src/data_access/repository/todo_repository.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | fn create_todo(&self, todo: Todo) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_todo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/data_access/repository/todo_repository.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | fn get_todo_by_id(&self, id: &String) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/data_access/repository/todo_repository.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | fn update_todo_by_id(&self, id: &str, todo: Todo) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/data_access/repository/todo_repository.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | fn get_todo_by_id(&self, id: &String) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `todo` [INFO] [stdout] --> src/data_access/repository/todo_repository.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | fn update_todo_by_id(&self, id: &str, todo: Todo) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_todo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/data_access/repository/todo_repository.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | fn update_todo_by_id(&self, id: &str, todo: Todo) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/data_access/repository/todo_repository.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | fn delete_todo_by_id(&self, id: &str) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `todo` [INFO] [stdout] --> src/data_access/repository/todo_repository.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | fn update_todo_by_id(&self, id: &str, todo: Todo) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_todo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/data_access/repository/todo_repository.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | fn delete_todo_by_id(&self, id: &str) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data_access/repository/todo_memory_repository.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl TodoMemoryRepository { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 60 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data_access/repository/todo_memory_repository.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl TodoMemoryRepository { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 60 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONN_STR_PORT` is never used [INFO] [stdout] --> src/data_access/dbcontext.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static CONN_STR_PORT: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONN_STR_PORT` is never used [INFO] [stdout] --> src/data_access/dbcontext.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static CONN_STR_PORT: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect` is never used [INFO] [stdout] --> src/data_access/dbcontext.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn connect() -> Result, Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect` is never used [INFO] [stdout] --> src/data_access/dbcontext.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn connect() -> Result, Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.15s [INFO] running `Command { std: "docker" "inspect" "28a2faf4d5c58b1bc8a1e619caaa515a473881e45c2bc6bf41fb2996e378fbc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28a2faf4d5c58b1bc8a1e619caaa515a473881e45c2bc6bf41fb2996e378fbc7", kill_on_drop: false }` [INFO] [stdout] 28a2faf4d5c58b1bc8a1e619caaa515a473881e45c2bc6bf41fb2996e378fbc7 [INFO] checking rcarubbi/rustApi against try#3832a95f57d4260fb5641e183906f49b4e5c6bdd for pr-119369 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcarubbi%2FrustApi" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rcarubbi/rustApi on toolchain 3832a95f57d4260fb5641e183906f49b4e5c6bdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rcarubbi/rustApi [INFO] finished tweaking git repo https://github.com/rcarubbi/rustApi [INFO] tweaked toml for git repo https://github.com/rcarubbi/rustApi written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rcarubbi/rustApi 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" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecdb0aeff1e218d73aecd15a8b66ce221a675756606a5a172ff61a672093c076 [INFO] running `Command { std: "docker" "start" "-a" "ecdb0aeff1e218d73aecd15a8b66ce221a675756606a5a172ff61a672093c076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecdb0aeff1e218d73aecd15a8b66ce221a675756606a5a172ff61a672093c076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecdb0aeff1e218d73aecd15a8b66ce221a675756606a5a172ff61a672093c076", kill_on_drop: false }` [INFO] [stdout] ecdb0aeff1e218d73aecd15a8b66ce221a675756606a5a172ff61a672093c076 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d80c4cfc9e9d6140b388c92994d263f1b0d102d321a73e659263ff5f88bb18f5 [INFO] running `Command { std: "docker" "start" "-a" "d80c4cfc9e9d6140b388c92994d263f1b0d102d321a73e659263ff5f88bb18f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking value-bag v1.4.2 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking futures-lite v2.1.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Checking event-listener v4.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking async-lock v3.2.0 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking async-task v4.5.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking deranged v0.3.10 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking zerocopy v0.7.29 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/3832a95f57d4260fb5641e183906f49b4e5c6bdd/bin/rustc --crate-name syn --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.39/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit-mut"' -C metadata=7006968d10f51468 -C extra-filename=-7006968d10f51468 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-90f63ccd04acb0cd.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-e42a5656a0600e1d.rmeta --extern unicode_ident=/opt/rustwide/target/debug/deps/libunicode_ident-f8d62a079c79a15a.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d80c4cfc9e9d6140b388c92994d263f1b0d102d321a73e659263ff5f88bb18f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d80c4cfc9e9d6140b388c92994d263f1b0d102d321a73e659263ff5f88bb18f5", kill_on_drop: false }` [INFO] [stdout] d80c4cfc9e9d6140b388c92994d263f1b0d102d321a73e659263ff5f88bb18f5