[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 try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falank976%2Ftodo-service" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alank976/todo-service on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46f8ba9307f8db09a45417119b330ecfc81329dcbd44ae18c78980ab72e2e91d [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" "46f8ba9307f8db09a45417119b330ecfc81329dcbd44ae18c78980ab72e2e91d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46f8ba9307f8db09a45417119b330ecfc81329dcbd44ae18c78980ab72e2e91d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46f8ba9307f8db09a45417119b330ecfc81329dcbd44ae18c78980ab72e2e91d", kill_on_drop: false }` [INFO] [stdout] 46f8ba9307f8db09a45417119b330ecfc81329dcbd44ae18c78980ab72e2e91d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ab9cc0e9820ef0dbc3f12c21df36dabc41db884d24600daa076a9a19f8f7bb9c [INFO] running `Command { std: "docker" "start" "-a" "ab9cc0e9820ef0dbc3f12c21df36dabc41db884d24600daa076a9a19f8f7bb9c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling standback v0.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [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 indexmap v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.7.1 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [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 time v0.1.42 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio v0.2.18 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [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 pin-project-internal v0.4.8 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.30 [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 time v0.2.9 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling async-stream v0.2.1 [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 actix-threadpool v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-rt v1.1.0 [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-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.2 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling async-native-tls v0.3.3 [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 awc v1.0.1 [INFO] [stderr] Compiling sqlx-macros v0.3.3 [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 item 'time::PrimitiveDateTime::now': This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/todo/domain.rs:47:27 [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 4m 27s [INFO] running `Command { std: "docker" "inspect" "ab9cc0e9820ef0dbc3f12c21df36dabc41db884d24600daa076a9a19f8f7bb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab9cc0e9820ef0dbc3f12c21df36dabc41db884d24600daa076a9a19f8f7bb9c", kill_on_drop: false }` [INFO] [stdout] ab9cc0e9820ef0dbc3f12c21df36dabc41db884d24600daa076a9a19f8f7bb9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 470fefe4bdcf62d0d46da06eedd46bca8e1d22db0a75fc39d787872eda5b1eb0 [INFO] running `Command { std: "docker" "start" "-a" "470fefe4bdcf62d0d46da06eedd46bca8e1d22db0a75fc39d787872eda5b1eb0", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nameof v1.2.0 [INFO] [stderr] Compiling nearly_eq v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [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 item 'time::PrimitiveDateTime::now': This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/todo/domain.rs:47:27 [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 23.47s [INFO] running `Command { std: "docker" "inspect" "470fefe4bdcf62d0d46da06eedd46bca8e1d22db0a75fc39d787872eda5b1eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "470fefe4bdcf62d0d46da06eedd46bca8e1d22db0a75fc39d787872eda5b1eb0", kill_on_drop: false }` [INFO] [stdout] 470fefe4bdcf62d0d46da06eedd46bca8e1d22db0a75fc39d787872eda5b1eb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a10ec1d9157f5d1abd338ed56b4343634f4d7744882bdfb9e931568e6ca64874 [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" "a10ec1d9157f5d1abd338ed56b4343634f4d7744882bdfb9e931568e6ca64874", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 item 'time::PrimitiveDateTime::now': This method returns a value that assumes an offset of UTC. [INFO] [stderr] --> src/todo/domain.rs:47:27 [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.52s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/todo_service-2b3d463b175fc1bf [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: 0x5571504dce35 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5571504dce35 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5571504dce35 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5571504dce35 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x557150505f5c - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x55714ff02385 - std::io::Write::write_fmt::h4be0daababb55bba [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x5571504d4cf1 - std::io::impls::>::write_fmt::h83c1e1aa73f374f5 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x5571504df5a0 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5571504df5a0 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5571504df5a0 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5571504df29a - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x5571504dfbe3 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x5571504df7db - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x557150504641 - core::panicking::panic_fmt::h78830ea6a34e7206 [INFO] [stdout] at src/libcore/panicking.rs:85 [INFO] [stdout] 14: 0x557150504463 - core::option::expect_none_failed::hf79bbb5ca7e09e08 [INFO] [stdout] at src/libcore/option.rs:1269 [INFO] [stdout] 15: 0x55714fea4bbd - core::result::Result::unwrap::h67eac37900fff60e [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x55714feea683 - todo_service::todo::repository::TodoRepositoryImpl::new::{{closure}}::hfbf68d50cb0d0a93 [INFO] [stdout] at src/todo/repository.rs:17 [INFO] [stdout] 17: 0x55714febcfdb - as core::future::future::Future>::poll::hff60a1c88dfb8d06 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/future/mod.rs:78 [INFO] [stdout] 18: 0x55714fefd2ee - todo_service::Components::new::{{closure}}::h78bb3a1187187c4e [INFO] [stdout] at src/main.rs:42 [INFO] [stdout] 19: 0x55714febc88b - as core::future::future::Future>::poll::ha40039766e4291ff [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/future/mod.rs:78 [INFO] [stdout] 20: 0x55714fec27df - todo_service::test_integration::test::{{closure}}::h9c025479dd82ff3f [INFO] [stdout] at src/main.rs:55 [INFO] [stdout] 21: 0x55714febcba9 - as core::future::future::Future>::poll::hc8e68a8b741a74a2 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/future/mod.rs:78 [INFO] [stdout] 22: 0x55714fee70be - as core::future::future::Future>::poll::{{closure}}::h5df4a6ed07c468eb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/task/local.rs:523 [INFO] [stdout] 23: 0x55714fef1fa6 - tokio::macros::scoped_tls::ScopedKey::set::he98fc0759c7e8892 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/macros/scoped_tls.rs:64 [INFO] [stdout] 24: 0x55714fee6aa1 - tokio::task::local::LocalSet::with::h65f8130f34205e77 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/task/local.rs:440 [INFO] [stdout] 25: 0x55714fee7032 - as core::future::future::Future>::poll::ha8139b7c93f781fb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/task/local.rs:516 [INFO] [stdout] 26: 0x55714fee6d4e - tokio::task::local::LocalSet::run_until::{{closure}}::hd725c6186b4f27a3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/task/local.rs:390 [INFO] [stdout] 27: 0x55714febbda9 - as core::future::future::Future>::poll::h327a5d7e3eed2b65 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/future/mod.rs:78 [INFO] [stdout] 28: 0x55714feadc83 - tokio::runtime::basic_scheduler::BasicScheduler

::block_on::{{closure}}::{{closure}}::h13fe100b70eb4fcc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/basic_scheduler.rs:131 [INFO] [stdout] 29: 0x55714fed6507 - tokio::coop::budget::{{closure}}::h8bb23dc924a451e6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/coop.rs:97 [INFO] [stdout] 30: 0x55714fe9adbf - std::thread::local::LocalKey::try_with::h8200ff1260dff9b6 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:263 [INFO] [stdout] 31: 0x55714fe9a7a8 - std::thread::local::LocalKey::with::h4abc1fb1a667ea65 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/local.rs:239 [INFO] [stdout] 32: 0x55714fead705 - tokio::coop::budget::h85a1efd582b2c74e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/coop.rs:79 [INFO] [stdout] 33: 0x55714fead705 - tokio::runtime::basic_scheduler::BasicScheduler

::block_on::{{closure}}::ha279e3b4080c4f79 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/basic_scheduler.rs:131 [INFO] [stdout] 34: 0x55714feae193 - tokio::runtime::basic_scheduler::enter::{{closure}}::he13be2852ad292dd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/basic_scheduler.rs:213 [INFO] [stdout] 35: 0x55714fef1ea0 - tokio::macros::scoped_tls::ScopedKey::set::h479e8b633bd56a6b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/macros/scoped_tls.rs:64 [INFO] [stdout] 36: 0x55714feae057 - tokio::runtime::basic_scheduler::enter::hfda9b893079e9022 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/basic_scheduler.rs:213 [INFO] [stdout] 37: 0x55714fead51e - tokio::runtime::basic_scheduler::BasicScheduler

::block_on::h84ad0b93b2dd6407 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/basic_scheduler.rs:123 [INFO] [stdout] 38: 0x55714fec5233 - tokio::runtime::Runtime::block_on::{{closure}}::h83f62b2ed9f39001 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/mod.rs:418 [INFO] [stdout] 39: 0x55714fef2140 - tokio::runtime::context::enter::hf948e1a50d38b97c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/context.rs:72 [INFO] [stdout] 40: 0x55714feb49fc - tokio::runtime::handle::Handle::enter::h258168e04b01a856 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/handle.rs:39 [INFO] [stdout] 41: 0x55714fec51aa - tokio::runtime::Runtime::block_on::h0bbef384cd421da2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/runtime/mod.rs:415 [INFO] [stdout] 42: 0x55714fee6b38 - tokio::task::local::LocalSet::block_on::h352bab5dfec56304 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.18/src/task/local.rs:351 [INFO] [stdout] 43: 0x55714fee7f3c - actix_rt::runtime::Runtime::block_on::h11089322fcac4fbd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-rt-1.1.0/src/runtime.rs:89 [INFO] [stdout] 44: 0x55714febb3b7 - actix_rt::builder::SystemRunner::block_on::h77e4acc60cd5006c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-rt-1.1.0/src/builder.rs:187 [INFO] [stdout] 45: 0x55714fec2670 - todo_service::test_integration::test::h319366da588b7441 [INFO] [stdout] at src/main.rs:53 [INFO] [stdout] 46: 0x55714fec25ea - todo_service::test_integration::test::{{closure}}::hc1bf36fd118664d2 [INFO] [stdout] at src/main.rs:53 [INFO] [stdout] 47: 0x55714fee0d9e - core::ops::function::FnOnce::call_once::he69e8a37b9e2778a [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 48: 0x55714ff298fc - as core::ops::function::FnOnce>::call_once::h8340ba6798e0c4ff [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] 49: 0x55714ff298fc - as core::ops::function::FnOnce<()>>::call_once::h5590e98676605094 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 50: 0x55714ff298fc - std::panicking::try::do_call::hd8680a2dbb0ed3c4 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 51: 0x55714ff298fc - std::panicking::try::h46b4de2d705e7a8d [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 52: 0x55714ff298fc - std::panic::catch_unwind::h059b3f06991e0a9c [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 53: 0x55714ff298fc - test::run_test_in_process::h5ae08a65430494a4 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 54: 0x55714ff298fc - test::run_test::run_test_inner::{{closure}}::h4b36073838376ae8 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 55: 0x55714ff01876 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0169d0be588b8bf0 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 56: 0x55714ff06865 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h71bfc37e887d3973 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/mod.rs:475 [INFO] [stdout] 57: 0x55714ff06865 - as core::ops::function::FnOnce<()>>::call_once::h36c65072907dc180 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:318 [INFO] [stdout] 58: 0x55714ff06865 - std::panicking::try::do_call::h4e0f426e17cd216c [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:348 [INFO] [stdout] 59: 0x55714ff06865 - std::panicking::try::hd05e4ef6b4303d29 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panicking.rs:325 [INFO] [stdout] 60: 0x55714ff06865 - std::panic::catch_unwind::h19a1127ec729c5dd [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/panic.rs:394 [INFO] [stdout] 61: 0x55714ff06865 - std::thread::Builder::spawn_unchecked::{{closure}}::h011300735f06b1e2 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libstd/thread/mod.rs:474 [INFO] [stdout] 62: 0x55714ff06865 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1e3c55f31f1d122e [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/libcore/ops/function.rs:233 [INFO] [stdout] 63: 0x5571504e661a - as core::ops::function::FnOnce>::call_once::hc0e15d78a519721e [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] 64: 0x5571504e661a - as core::ops::function::FnOnce>::call_once::h211da8fffb09f192 [INFO] [stdout] at /rustc/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/src/liballoc/boxed.rs:1081 [INFO] [stdout] 65: 0x5571504e661a - std::sys::unix::thread::Thread::new::thread_start::h29594ddebf23e421 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 66: 0x7fe5ca5fd609 - start_thread [INFO] [stdout] 67: 0x7fe5ca509103 - __clone [INFO] [stdout] 68: 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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin todo-service' [INFO] running `Command { std: "docker" "inspect" "a10ec1d9157f5d1abd338ed56b4343634f4d7744882bdfb9e931568e6ca64874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a10ec1d9157f5d1abd338ed56b4343634f4d7744882bdfb9e931568e6ca64874", kill_on_drop: false }` [INFO] [stdout] a10ec1d9157f5d1abd338ed56b4343634f4d7744882bdfb9e931568e6ca64874