[INFO] cloning repository https://github.com/alank976/todo-service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alank976/todo-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falank976%2Ftodo-service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falank976%2Ftodo-service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5dca39597aea25db2861d95149e3533d124d4855 [INFO] testing alank976/todo-service against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falank976%2Ftodo-service" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alank976/todo-service on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alank976/todo-service [INFO] finished tweaking git repo https://github.com/alank976/todo-service [INFO] tweaked toml for git repo https://github.com/alank976/todo-service written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/alank976/todo-service already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50e64ce8e335d05d0215eb55a6357077f11a6b4c822419915b7784d808a0f8f0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "50e64ce8e335d05d0215eb55a6357077f11a6b4c822419915b7784d808a0f8f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50e64ce8e335d05d0215eb55a6357077f11a6b4c822419915b7784d808a0f8f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50e64ce8e335d05d0215eb55a6357077f11a6b4c822419915b7784d808a0f8f0", kill_on_drop: false }` [INFO] [stdout] 50e64ce8e335d05d0215eb55a6357077f11a6b4c822419915b7784d808a0f8f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89bda6fa8419e648523164fd5227dab8defacc87ee677a1cae1442582197c45a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "89bda6fa8419e648523164fd5227dab8defacc87ee677a1cae1442582197c45a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling standback v0.2.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling parking_lot_core v0.7.1 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling tokio v0.2.18 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling time-macros-impl v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling time v0.2.9 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.15 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling broadcaster v1.0.0 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling actix-rt v1.1.0 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.2 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling sqlx-core v0.3.3 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling validator v0.10.0 [INFO] [stderr] Compiling validator_derive v0.10.0 [INFO] [stderr] Compiling sqlx-macros v0.3.3 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling sqlx v0.3.3 [INFO] [stderr] Compiling todo-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PgQueryAs` [INFO] [stdout] --> src/todo/repository.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::postgres::{PgConnection, PgPool, PgQueryAs}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/todo/domain.rs:47:52 [INFO] [stdout] | [INFO] [stdout] 47 | created_time: time::PrimitiveDateTime::now(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/todo/repository.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn create(&self, item: TodoItem) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/todo/repository.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn get_one(&self, id: Uuid) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pool` [INFO] [stdout] --> src/todo/repository.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pool: Pool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 09s [INFO] running `Command { std: "docker" "inspect" "89bda6fa8419e648523164fd5227dab8defacc87ee677a1cae1442582197c45a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89bda6fa8419e648523164fd5227dab8defacc87ee677a1cae1442582197c45a", kill_on_drop: false }` [INFO] [stdout] 89bda6fa8419e648523164fd5227dab8defacc87ee677a1cae1442582197c45a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c91d0694b2e6a797ceb89cf4ed3d5a88d471c32b614ba4c70a643fab86a9082 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6c91d0694b2e6a797ceb89cf4ed3d5a88d471c32b614ba4c70a643fab86a9082", kill_on_drop: false }` [INFO] [stderr] Compiling nearly_eq v0.2.4 [INFO] [stderr] Compiling nameof v1.2.0 [INFO] [stderr] Compiling mockiato-codegen v0.9.5 [INFO] [stderr] Compiling mockiato v0.9.5 [INFO] [stderr] Compiling todo-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PgQueryAs` [INFO] [stdout] --> src/todo/repository.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::postgres::{PgConnection, PgPool, PgQueryAs}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/todo/domain.rs:47:52 [INFO] [stdout] | [INFO] [stdout] 47 | created_time: time::PrimitiveDateTime::now(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/todo/repository.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn create(&self, item: TodoItem) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/todo/repository.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn get_one(&self, id: Uuid) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pool` [INFO] [stdout] --> src/todo/repository.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pool: Pool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.88s [INFO] running `Command { std: "docker" "inspect" "6c91d0694b2e6a797ceb89cf4ed3d5a88d471c32b614ba4c70a643fab86a9082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c91d0694b2e6a797ceb89cf4ed3d5a88d471c32b614ba4c70a643fab86a9082", kill_on_drop: false }` [INFO] [stdout] 6c91d0694b2e6a797ceb89cf4ed3d5a88d471c32b614ba4c70a643fab86a9082 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 913f17b75a8ba84514f12499402c7ccfe8742863539c40bd3179616ba1e829f4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "913f17b75a8ba84514f12499402c7ccfe8742863539c40bd3179616ba1e829f4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `PgQueryAs` [INFO] [stderr] --> src/todo/repository.rs:5:44 [INFO] [stderr] | [INFO] [stderr] 5 | use sqlx::postgres::{PgConnection, PgPool, PgQueryAs}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stderr] --> src/todo/domain.rs:47:52 [INFO] [stderr] | [INFO] [stderr] 47 | created_time: time::PrimitiveDateTime::now(), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `item` [INFO] [stderr] --> src/todo/repository.rs:25:32 [INFO] [stderr] | [INFO] [stderr] 25 | pub async fn create(&self, item: TodoItem) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/todo/repository.rs:50:33 [INFO] [stderr] | [INFO] [stderr] 50 | pub async fn get_one(&self, id: Uuid) -> Result { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `pool` [INFO] [stderr] --> src/todo/repository.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | pool: Pool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/todo_service-8dc8c28559b16ec3) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_integration::test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_integration::test stdout ---- [INFO] [stdout] thread 'test_integration::test' panicked at 'called `Result::unwrap()` on an `Err` value: NotPresent', src/todo/repository.rs:17:54 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56045b839a60 - std::backtrace_rs::backtrace::libunwind::trace::h1037ca7e6eeef65c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x56045b839a60 - std::backtrace_rs::backtrace::trace_unsynchronized::haaefac1bc3669450 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56045b839a60 - std::sys_common::backtrace::_print_fmt::h863a6f5e6d995885 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x56045b839a60 - ::fmt::h767e17e1aa7df6a8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x56045b85cf1c - core::fmt::write::h7aa6cd0067dca82a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x56045b834775 - std::io::Write::write_fmt::h6f1a9b91376a1376 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x56045b83bc1b - std::sys_common::backtrace::_print::h2769edb26a7eb606 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x56045b83bc1b - std::sys_common::backtrace::print::ha71f3549862b4cb6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x56045b83bc1b - std::panicking::default_hook::{{closure}}::h95488a3bade217f6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x56045b83b72c - std::panicking::default_hook::h290aa602c0fb11df [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x56045b83c2c1 - std::panicking::rust_panic_with_hook::hf32c4fa635e215f2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x56045b83bdc7 - std::panicking::begin_panic_handler::{{closure}}::h95197ccd88846f7a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x56045b839f3c - std::sys_common::backtrace::__rust_end_short_backtrace::h7641df9566f7b7d0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x56045b83bd29 - rust_begin_unwind [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x56045b26fb91 - core::panicking::panic_fmt::hbe99dddd3092ba3c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x56045b26fc83 - core::result::unwrap_failed::hf79563fef9d11ab8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/result.rs:1355:5 [INFO] [stdout] 16: 0x56045b29e3f1 - core::result::Result::unwrap::hcc7338bbe1b60f6f [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/result.rs:1037:23 [INFO] [stdout] 17: 0x56045b2a3e61 - todo_service::todo::repository::TodoRepositoryImpl::new::{{closure}}::h4a631c98acf18f52 [INFO] [stdout] at /opt/rustwide/workdir/src/todo/repository.rs:17:20 [INFO] [stdout] 18: 0x56045b2abdb9 - as core::future::future::Future>::poll::hde87e7456390930a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/future/mod.rs:80:19 [INFO] [stdout] 19: 0x56045b2c646d - todo_service::Components::new::{{closure}}::h14abd763871607d2 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:42:25 [INFO] [stdout] 20: 0x56045b2aa9c9 - as core::future::future::Future>::poll::h1a03395241397025 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/future/mod.rs:80:19 [INFO] [stdout] 21: 0x56045b2c68a1 - todo_service::test_integration::test::{{closure}}::h9ed84f010183256f [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:55:33 [INFO] [stdout] 22: 0x56045b2aaa6b - as core::future::future::Future>::poll::h21b6630f306f431c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/future/mod.rs:80:19 [INFO] [stdout] 23: 0x56045b2b88a7 - as core::future::future::Future>::poll::{{closure}}::ha83107c2a6452d5f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/task/local.rs:523:42 [INFO] [stdout] 24: 0x56045b2b783d - tokio::macros::scoped_tls::ScopedKey::set::h3d06765a5f4c889e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/macros/scoped_tls.rs:64:9 [INFO] [stdout] 25: 0x56045b2b742a - tokio::task::local::LocalSet::with::h22a784d3057469a0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/task/local.rs:440:9 [INFO] [stdout] 26: 0x56045b2b8822 - as core::future::future::Future>::poll::h69d01e81d4abde58 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/task/local.rs:516:9 [INFO] [stdout] 27: 0x56045b2b76fd - tokio::task::local::LocalSet::run_until::{{closure}}::h44a143449608277c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/task/local.rs:390:9 [INFO] [stdout] 28: 0x56045b2abf5b - as core::future::future::Future>::poll::hefa53e09cde4dbc9 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/future/mod.rs:80:19 [INFO] [stdout] 29: 0x56045b27fe70 - tokio::runtime::basic_scheduler::BasicScheduler

::block_on::{{closure}}::{{closure}}::ha33dad8bdf993a6f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/basic_scheduler.rs:131:58 [INFO] [stdout] 30: 0x56045b29f1f9 - tokio::coop::budget::{{closure}}::h4283615737f465bc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/coop.rs:97:9 [INFO] [stdout] 31: 0x56045b2c1ff2 - std::thread::local::LocalKey::try_with::h0f45da2ac8fa237f [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/local.rs:400:16 [INFO] [stdout] 32: 0x56045b2c1bd8 - std::thread::local::LocalKey::with::h5d4ce6ebf6321dfc [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/local.rs:376:9 [INFO] [stdout] 33: 0x56045b27f8d7 - tokio::coop::budget::h44e276079d0292a8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/coop.rs:79:5 [INFO] [stdout] 34: 0x56045b27f8d7 - tokio::runtime::basic_scheduler::BasicScheduler

::block_on::{{closure}}::h0eb5dac558dd39f4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/basic_scheduler.rs:131:35 [INFO] [stdout] 35: 0x56045b2802a5 - tokio::runtime::basic_scheduler::enter::{{closure}}::hcae6a6f4c984eecf [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/basic_scheduler.rs:213:29 [INFO] [stdout] 36: 0x56045b2b7961 - tokio::macros::scoped_tls::ScopedKey::set::h55d6d58bda7242d0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/macros/scoped_tls.rs:64:9 [INFO] [stdout] 37: 0x56045b2801e2 - tokio::runtime::basic_scheduler::enter::h177df2a8c06e713c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/basic_scheduler.rs:213:5 [INFO] [stdout] 38: 0x56045b27f6a6 - tokio::runtime::basic_scheduler::BasicScheduler

::block_on::h053fd1706bae06e5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/basic_scheduler.rs:123:9 [INFO] [stdout] 39: 0x56045b28b5bc - tokio::runtime::Runtime::block_on::{{closure}}::h0516326c6cd9698f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/mod.rs:418:34 [INFO] [stdout] 40: 0x56045b2789d5 - tokio::runtime::context::enter::h141996803eaa975e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/context.rs:72:5 [INFO] [stdout] 41: 0x56045b28032b - tokio::runtime::handle::Handle::enter::hf24ce31db518c5e1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/handle.rs:39:9 [INFO] [stdout] 42: 0x56045b28b4f2 - tokio::runtime::Runtime::block_on::hdd528aa8f004ff9b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/mod.rs:415:9 [INFO] [stdout] 43: 0x56045b2b74ba - tokio::task::local::LocalSet::block_on::h2cd75d498d6cd179 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/task/local.rs:351:9 [INFO] [stdout] 44: 0x56045b2b8ee1 - actix_rt::runtime::Runtime::block_on::hfeef917e7c605212 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-rt-1.1.0/src/runtime.rs:89:9 [INFO] [stdout] 45: 0x56045b2c583d - actix_rt::builder::SystemRunner::block_on::h1ea02629d92a3d8d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-rt-1.1.0/src/builder.rs:187:19 [INFO] [stdout] 46: 0x56045b2c65bc - todo_service::test_integration::test::h3f6cce462daab704 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:53:5 [INFO] [stdout] 47: 0x56045b2c654a - todo_service::test_integration::test::{{closure}}::h6bf3e524d36fc342 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:53:5 [INFO] [stdout] 48: 0x56045b280f9e - core::ops::function::FnOnce::call_once::h646da8043ba1ffca [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 49: 0x56045b2f9563 - core::ops::function::FnOnce::call_once::h673fbe3f96486fd2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 50: 0x56045b2f9563 - test::__rust_begin_short_backtrace::h8eedc24e104ef6a0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:577:5 [INFO] [stdout] 51: 0x56045b2f8010 - as core::ops::function::FnOnce>::call_once::h028d0969d3f94d78 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 52: 0x56045b2f8010 - as core::ops::function::FnOnce<()>>::call_once::h7634b01590b1722b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 53: 0x56045b2f8010 - std::panicking::try::do_call::hf74f869706dec63b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 54: 0x56045b2f8010 - std::panicking::try::hd0b7346ebfaaae44 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 55: 0x56045b2f8010 - std::panic::catch_unwind::hdbf6904f7c253080 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 56: 0x56045b2f8010 - test::run_test_in_process::h87e95a014ac91067 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:600:18 [INFO] [stdout] 57: 0x56045b2f8010 - test::run_test::run_test_inner::{{closure}}::hdd69ae44aaab3470 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:492:39 [INFO] [stdout] 58: 0x56045b2d32e2 - test::run_test::run_test_inner::{{closure}}::hc159305704d5b68a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:519:37 [INFO] [stdout] 59: 0x56045b2d32e2 - std::sys_common::backtrace::__rust_begin_short_backtrace::h33d8a8ad5f788fcc [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 60: 0x56045b2d7058 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h6181011ddf4b8353 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 61: 0x56045b2d7058 - as core::ops::function::FnOnce<()>>::call_once::hf924ea0a0f25a1c0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 62: 0x56045b2d7058 - std::panicking::try::do_call::hd58061792d05fa5c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 63: 0x56045b2d7058 - std::panicking::try::h3080747417e5af37 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 64: 0x56045b2d7058 - std::panic::catch_unwind::hfeba515dcf36cb66 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 65: 0x56045b2d7058 - std::thread::Builder::spawn_unchecked::{{closure}}::h29d57a62faff749b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 66: 0x56045b2d7058 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h44709d312d2a9c59 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 67: 0x56045b841487 - as core::ops::function::FnOnce>::call_once::h902e2cf6655e1b0c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 68: 0x56045b841487 - as core::ops::function::FnOnce>::call_once::h893a5452154309d1 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 69: 0x56045b841487 - std::sys::unix::thread::Thread::new::thread_start::hdedcb57c96ab37cd [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 70: 0x7f7c67a9d609 - start_thread [INFO] [stdout] 71: 0x7f7c67875293 - clone [INFO] [stdout] 72: 0x0 - [INFO] [stdout] Panic in Arbiter thread. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_integration::test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin todo-service' [INFO] running `Command { std: "docker" "inspect" "913f17b75a8ba84514f12499402c7ccfe8742863539c40bd3179616ba1e829f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "913f17b75a8ba84514f12499402c7ccfe8742863539c40bd3179616ba1e829f4", kill_on_drop: false }` [INFO] [stdout] 913f17b75a8ba84514f12499402c7ccfe8742863539c40bd3179616ba1e829f4