[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#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [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 d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros v0.3.3 [INFO] [stderr] Downloaded mockiato v0.9.5 [INFO] [stderr] Downloaded nearly_eq v0.2.4 [INFO] [stderr] Downloaded mockiato-codegen v0.9.5 [INFO] [stderr] Downloaded nameof v1.2.0 [INFO] [stderr] Downloaded sqlx v0.3.3 [INFO] [stderr] Downloaded sqlx-core v0.3.3 [INFO] [stderr] Downloaded validator v0.10.0 [INFO] [stderr] Downloaded validator_derive v0.10.0 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", 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] 531789c4c20cb7e9d0b3723ad2f60d08b50a8b75b467845a259fb6eec6bd06f7 [INFO] running `Command { std: "docker" "start" "-a" "531789c4c20cb7e9d0b3723ad2f60d08b50a8b75b467845a259fb6eec6bd06f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "531789c4c20cb7e9d0b3723ad2f60d08b50a8b75b467845a259fb6eec6bd06f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "531789c4c20cb7e9d0b3723ad2f60d08b50a8b75b467845a259fb6eec6bd06f7", kill_on_drop: false }` [INFO] [stdout] 531789c4c20cb7e9d0b3723ad2f60d08b50a8b75b467845a259fb6eec6bd06f7 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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] 27519d060c7c46a51aeea3ec2cf6ad97bee87a15feaca126c26b857aec7550b7 [INFO] running `Command { std: "docker" "start" "-a" "27519d060c7c46a51aeea3ec2cf6ad97bee87a15feaca126c26b857aec7550b7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling standback v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.4 [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 humantime v1.3.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling heck v0.3.1 [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 num-integer v0.1.42 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [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 flate2 v1.0.14 [INFO] [stderr] Compiling atty v0.2.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 hmac v0.7.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [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 rand_core v0.5.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling tokio v0.2.18 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling backtrace v0.3.46 [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 brotli2 v0.3.2 [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 enum-as-inner v0.3.2 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling time-macros-impl v0.1.0 [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 async-stream v0.2.1 [INFO] [stderr] Compiling time v0.2.9 [INFO] [stderr] Compiling failure v0.1.7 [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 actix-threadpool v0.3.1 [INFO] [stderr] Compiling actix-rt v1.1.0 [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 serde v1.0.106 [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 actix-http v1.0.1 [INFO] [stderr] Compiling sqlx-core v0.3.3 [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 03s [INFO] running `Command { std: "docker" "inspect" "27519d060c7c46a51aeea3ec2cf6ad97bee87a15feaca126c26b857aec7550b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27519d060c7c46a51aeea3ec2cf6ad97bee87a15feaca126c26b857aec7550b7", kill_on_drop: false }` [INFO] [stdout] 27519d060c7c46a51aeea3ec2cf6ad97bee87a15feaca126c26b857aec7550b7 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34ec2ab8bc0b66ae7f691d734f77a9af7cf3816de88fdd55a411dc19b694970a [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" "34ec2ab8bc0b66ae7f691d734f77a9af7cf3816de88fdd55a411dc19b694970a", 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] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/mockiato-0.9.5/src/lib.rs:110:48 [INFO] [stdout] | [INFO] [stdout] 110 | #![cfg_attr(rustc_is_nightly, feature(doc_cfg, external_doc, specialization))] [INFO] [stdout] | ^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: use #[doc = include_str!("filename")] instead, which handles macro invocations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mockiato` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "34ec2ab8bc0b66ae7f691d734f77a9af7cf3816de88fdd55a411dc19b694970a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34ec2ab8bc0b66ae7f691d734f77a9af7cf3816de88fdd55a411dc19b694970a", kill_on_drop: false }` [INFO] [stdout] 34ec2ab8bc0b66ae7f691d734f77a9af7cf3816de88fdd55a411dc19b694970a