[INFO] cloning repository https://github.com/ivanscorral/kokodo-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ivanscorral/kokodo-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanscorral%2Fkokodo-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanscorral%2Fkokodo-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01351da7d7c0ecc5ad8e3cbbd5d2038aa6edfd05 [INFO] testing ivanscorral/kokodo-server against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanscorral%2Fkokodo-server" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ivanscorral/kokodo-server on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ivanscorral/kokodo-server [INFO] finished tweaking git repo https://github.com/ivanscorral/kokodo-server [INFO] tweaked toml for git repo https://github.com/ivanscorral/kokodo-server written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ivanscorral/kokodo-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ahash v0.8.6 [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Downloaded diesel_derives v2.1.2 [INFO] [stderr] Downloaded zerocopy v0.7.20 [INFO] [stderr] Downloaded actix-http v3.4.0 [INFO] [stderr] Downloaded zerocopy-derive v0.7.20 [INFO] [stderr] Downloaded actix-web v4.4.0 [INFO] [stderr] Downloaded diesel v2.1.3 [INFO] [stderr] Downloaded libsqlite3-sys v0.26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86fd2c89b6a38e428ccfeb22d14778c08a4a87d89c2849d50f0050a5bfac9aa6 [INFO] running `Command { std: "docker" "start" "-a" "86fd2c89b6a38e428ccfeb22d14778c08a4a87d89c2849d50f0050a5bfac9aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86fd2c89b6a38e428ccfeb22d14778c08a4a87d89c2849d50f0050a5bfac9aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86fd2c89b6a38e428ccfeb22d14778c08a4a87d89c2849d50f0050a5bfac9aa6", kill_on_drop: false }` [INFO] [stdout] 86fd2c89b6a38e428ccfeb22d14778c08a4a87d89c2849d50f0050a5bfac9aa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 197bf9abaad950699d576924e844aaca34fc921f0c52c87fd1b56c43f8dc66e9 [INFO] running `Command { std: "docker" "start" "-a" "197bf9abaad950699d576924e844aaca34fc921f0c52c87fd1b56c43f8dc66e9", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling zerocopy v0.7.20 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling diesel_derives v2.1.2 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling actix-codec v0.5.1 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling diesel v2.1.3 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling actix-http v3.4.0 [INFO] [stderr] Compiling actix-web v4.4.0 [INFO] [stderr] Compiling kokodo-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = users)]` instead [INFO] [stderr] [INFO] [stdout] warning: unused import: `result::DatabaseErrorInformation` [INFO] [stdout] --> src/models/user.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::{Queryable, result::DatabaseErrorInformation, Insertable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/controllers/todo_controller.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn insert_todo(user_id: i32, title: String, description: Option) -> HttpResponse { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/controllers/todo_controller.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn insert_todo(user_id: i32, title: String, description: Option) -> HttpResponse { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `description` [INFO] [stdout] --> src/controllers/todo_controller.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn insert_todo(user_id: i32, title: String, description: Option) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/routes/todo_routes.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn init(cfg: &mut web::ServiceConfig) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_todos` is never used [INFO] [stdout] --> src/controllers/todo_controller.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub async fn get_all_todos() -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_todo` is never used [INFO] [stdout] --> src/controllers/todo_controller.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn insert_todo(user_id: i32, title: String, description: Option) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_DB_URL` is never used [INFO] [stdout] --> src/db.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const DEFAULT_DB_URL: &str = "sqlite::memory:"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DB_URL_KEY` is never used [INFO] [stdout] --> src/db.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const DB_URL_KEY: &str = "DATABASE_URL"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ConnectionError`, `OperationError`, and `InternalError` are never constructed [INFO] [stdout] --> src/db.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum DbError { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 14 | ConnectionError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | OperationError(diesel::result::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | InternalError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DbOperationResult` is never used [INFO] [stdout] --> src/db.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum DbOperationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbOperationResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_database_url` is never used [INFO] [stdout] --> src/db.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | async fn get_database_url() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_with_new_connection` is never used [INFO] [stdout] --> src/db.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn execute_with_new_connection(operation: F) -> DbOperationResult [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 27s [INFO] running `Command { std: "docker" "inspect" "197bf9abaad950699d576924e844aaca34fc921f0c52c87fd1b56c43f8dc66e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "197bf9abaad950699d576924e844aaca34fc921f0c52c87fd1b56c43f8dc66e9", kill_on_drop: false }` [INFO] [stdout] 197bf9abaad950699d576924e844aaca34fc921f0c52c87fd1b56c43f8dc66e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c311ca58f0417aa70644e0b75a1bb94b0cbbe5e8c8ce52b9ee7b2b3e4cec4ab [INFO] running `Command { std: "docker" "start" "-a" "7c311ca58f0417aa70644e0b75a1bb94b0cbbe5e8c8ce52b9ee7b2b3e4cec4ab", kill_on_drop: false }` [INFO] [stderr] Compiling kokodo-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = users)]` instead [INFO] [stderr] [INFO] [stdout] warning: unused import: `result::DatabaseErrorInformation` [INFO] [stdout] --> src/models/user.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::{Queryable, result::DatabaseErrorInformation, Insertable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/controllers/todo_controller.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn insert_todo(user_id: i32, title: String, description: Option) -> HttpResponse { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/controllers/todo_controller.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn insert_todo(user_id: i32, title: String, description: Option) -> HttpResponse { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `description` [INFO] [stdout] --> src/controllers/todo_controller.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn insert_todo(user_id: i32, title: String, description: Option) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/routes/todo_routes.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn init(cfg: &mut web::ServiceConfig) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_todos` is never used [INFO] [stdout] --> src/controllers/todo_controller.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub async fn get_all_todos() -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_todo` is never used [INFO] [stdout] --> src/controllers/todo_controller.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn insert_todo(user_id: i32, title: String, description: Option) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_DB_URL` is never used [INFO] [stdout] --> src/db.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const DEFAULT_DB_URL: &str = "sqlite::memory:"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DB_URL_KEY` is never used [INFO] [stdout] --> src/db.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const DB_URL_KEY: &str = "DATABASE_URL"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ConnectionError`, `OperationError`, and `InternalError` are never constructed [INFO] [stdout] --> src/db.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum DbError { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 14 | ConnectionError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | OperationError(diesel::result::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | InternalError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DbOperationResult` is never used [INFO] [stdout] --> src/db.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum DbOperationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbOperationResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_database_url` is never used [INFO] [stdout] --> src/db.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | async fn get_database_url() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_with_new_connection` is never used [INFO] [stdout] --> src/db.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn execute_with_new_connection(operation: F) -> DbOperationResult [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.53s [INFO] running `Command { std: "docker" "inspect" "7c311ca58f0417aa70644e0b75a1bb94b0cbbe5e8c8ce52b9ee7b2b3e4cec4ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c311ca58f0417aa70644e0b75a1bb94b0cbbe5e8c8ce52b9ee7b2b3e4cec4ab", kill_on_drop: false }` [INFO] [stdout] 7c311ca58f0417aa70644e0b75a1bb94b0cbbe5e8c8ce52b9ee7b2b3e4cec4ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 681bb3d51fd1c504cabb2bbb7199a7ad5ef5ed011a091d67a20633642e4d2048 [INFO] running `Command { std: "docker" "start" "-a" "681bb3d51fd1c504cabb2bbb7199a7ad5ef5ed011a091d67a20633642e4d2048", kill_on_drop: false }` [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = users)]` instead [INFO] [stderr] [INFO] [stderr] warning: unused import: `result::DatabaseErrorInformation` [INFO] [stderr] --> src/models/user.rs:1:25 [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::{Queryable, result::DatabaseErrorInformation, Insertable}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/controllers/todo_controller.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub async fn insert_todo(user_id: i32, title: String, description: Option) -> HttpResponse { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `title` [INFO] [stderr] --> src/controllers/todo_controller.rs:8:40 [INFO] [stderr] | [INFO] [stderr] 8 | pub async fn insert_todo(user_id: i32, title: String, description: Option) -> HttpResponse { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `description` [INFO] [stderr] --> src/controllers/todo_controller.rs:8:55 [INFO] [stderr] | [INFO] [stderr] 8 | pub async fn insert_todo(user_id: i32, title: String, description: Option) -> HttpResponse { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stderr] [INFO] [stderr] warning: function `init` is never used [INFO] [stderr] --> src/routes/todo_routes.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn init(cfg: &mut web::ServiceConfig) { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_all_todos` is never used [INFO] [stderr] --> src/controllers/todo_controller.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | pub async fn get_all_todos() -> HttpResponse { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `insert_todo` is never used [INFO] [stderr] --> src/controllers/todo_controller.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | pub async fn insert_todo(user_id: i32, title: String, description: Option) -> HttpResponse { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEFAULT_DB_URL` is never used [INFO] [stderr] --> src/db.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | const DEFAULT_DB_URL: &str = "sqlite::memory:"; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DB_URL_KEY` is never used [INFO] [stderr] --> src/db.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | const DB_URL_KEY: &str = "DATABASE_URL"; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `ConnectionError`, `OperationError`, and `InternalError` are never constructed [INFO] [stderr] --> src/db.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub enum DbError { [INFO] [stderr] | ------- variants in this enum [INFO] [stderr] 14 | ConnectionError(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 15 | OperationError(diesel::result::Error), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 16 | InternalError(String), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `DbOperationResult` is never used [INFO] [stderr] --> src/db.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | pub enum DbOperationResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DbOperationResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `get_database_url` is never used [INFO] [stderr] --> src/db.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | async fn get_database_url() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `execute_with_new_connection` is never used [INFO] [stderr] --> src/db.rs:44:14 [INFO] [stderr] | [INFO] [stderr] 44 | pub async fn execute_with_new_connection(operation: F) -> DbOperationResult [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `kokodo-server` (bin "kokodo-server" test) generated 13 warnings (run `cargo fix --bin "kokodo-server" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kokodo_server-ad751729effa1883) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "681bb3d51fd1c504cabb2bbb7199a7ad5ef5ed011a091d67a20633642e4d2048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "681bb3d51fd1c504cabb2bbb7199a7ad5ef5ed011a091d67a20633642e4d2048", kill_on_drop: false }` [INFO] [stdout] 681bb3d51fd1c504cabb2bbb7199a7ad5ef5ed011a091d67a20633642e4d2048 [INFO] testing ivanscorral/kokodo-server against beta-2024-06-22 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanscorral%2Fkokodo-server" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ivanscorral/kokodo-server on toolchain beta-2024-06-22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ivanscorral/kokodo-server [INFO] finished tweaking git repo https://github.com/ivanscorral/kokodo-server [INFO] tweaked toml for git repo https://github.com/ivanscorral/kokodo-server written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ivanscorral/kokodo-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-06-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a2a985fa05960176b0df6b9cd55289264081cb78418054cea527fa4a98af5bb [INFO] running `Command { std: "docker" "start" "-a" "1a2a985fa05960176b0df6b9cd55289264081cb78418054cea527fa4a98af5bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a2a985fa05960176b0df6b9cd55289264081cb78418054cea527fa4a98af5bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a2a985fa05960176b0df6b9cd55289264081cb78418054cea527fa4a98af5bb", kill_on_drop: false }` [INFO] [stdout] 1a2a985fa05960176b0df6b9cd55289264081cb78418054cea527fa4a98af5bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 599aabc26706edc8fa3e747708b0eef45cf10871e5b48c4c6cb7a6639a97f550 [INFO] running `Command { std: "docker" "start" "-a" "599aabc26706edc8fa3e747708b0eef45cf10871e5b48c4c6cb7a6639a97f550", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling zerocopy v0.7.20 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.30/src/format_description/parse/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let items = format_items [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(items.into()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `items` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 83 | let items: Box<_> = format_items [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `time` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "599aabc26706edc8fa3e747708b0eef45cf10871e5b48c4c6cb7a6639a97f550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "599aabc26706edc8fa3e747708b0eef45cf10871e5b48c4c6cb7a6639a97f550", kill_on_drop: false }` [INFO] [stdout] 599aabc26706edc8fa3e747708b0eef45cf10871e5b48c4c6cb7a6639a97f550