[INFO] cloning repository https://github.com/darthsteedious/heroes-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darthsteedious/heroes-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarthsteedious%2Fheroes-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarthsteedious%2Fheroes-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 82f3914596b287c4fdfc5b794976a1526914a241
[INFO] testing darthsteedious/heroes-api against beta-2020-10-09 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarthsteedious%2Fheroes-api" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/darthsteedious/heroes-api on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/darthsteedious/heroes-api
[INFO] finished tweaking git repo https://github.com/darthsteedious/heroes-api
[INFO] tweaked toml for git repo https://github.com/darthsteedious/heroes-api written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/darthsteedious/heroes-api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-pg-mapper v0.1.8
[INFO] [stderr]   Downloaded deadpool-postgres v0.5.6
[INFO] [stderr]   Downloaded deadpool v0.5.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6cf96216ac8994b677f236b36cef3358fdc67253727b44f866986672d9f42eab
[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" "6cf96216ac8994b677f236b36cef3358fdc67253727b44f866986672d9f42eab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6cf96216ac8994b677f236b36cef3358fdc67253727b44f866986672d9f42eab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6cf96216ac8994b677f236b36cef3358fdc67253727b44f866986672d9f42eab", kill_on_drop: false }`
[INFO] [stdout] 6cf96216ac8994b677f236b36cef3358fdc67253727b44f866986672d9f42eab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a3f9174bc0aaef3fef6eb069f64d1c29f346cf973788742c0072be9e87362798
[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" "a3f9174bc0aaef3fef6eb069f64d1c29f346cf973788742c0072be9e87362798", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling futures-io v0.3.5
[INFO] [stderr]    Compiling instant v0.1.6
[INFO] [stderr]    Compiling serde v1.0.116
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.3
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling copyless v0.1.5
[INFO] [stderr]    Compiling either v1.6.0
[INFO] [stderr]    Compiling const_fn v0.4.2
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling cc v1.0.59
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling serde v0.8.23
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling lexical-core v0.7.4
[INFO] [stderr]    Compiling siphasher v0.3.3
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling hashbrown v0.9.0
[INFO] [stderr]    Compiling arrayvec v0.5.1
[INFO] [stderr]    Compiling encoding_rs v0.8.24
[INFO] [stderr]    Compiling rust-ini v0.13.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling standback v0.2.10
[INFO] [stderr]    Compiling time v0.2.19
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling cookie v0.14.2
[INFO] [stderr]    Compiling tracing-core v0.1.16
[INFO] [stderr]    Compiling bytestring v0.1.5
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling miniz_oxide v0.4.1
[INFO] [stderr]    Compiling addr2line v0.13.0
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling yaml-rust v0.4.4
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling tracing v0.1.19
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling net2 v0.2.35
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling signal-hook-registry v1.2.1
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling backtrace v0.3.50
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling flate2 v1.0.17
[INFO] [stderr]    Compiling socket2 v0.3.15
[INFO] [stderr]    Compiling sha2 v0.9.1
[INFO] [stderr]    Compiling sha-1 v0.9.1
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling serde_test v0.8.23
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling resolv-conf v0.6.3
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling linked-hash-map v0.3.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling serde-hjson v0.9.1
[INFO] [stderr]    Compiling postgres-protocol v0.5.2
[INFO] [stderr]    Compiling postgres-types v0.1.2
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling async-trait v0.1.40
[INFO] [stderr]    Compiling serde_derive v1.0.116
[INFO] [stderr]    Compiling derive_more v0.99.10
[INFO] [stderr]    Compiling actix-macros v0.1.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling actix-web-codegen v0.3.0
[INFO] [stderr]    Compiling time-macros v0.1.0
[INFO] [stderr]    Compiling thiserror v1.0.20
[INFO] [stderr]    Compiling pin-project v0.4.23
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling actix-codec v0.3.0
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling actix-service v1.0.6
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling h2 v0.2.6
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling trust-dns-proto v0.19.5
[INFO] [stderr]    Compiling tokio-postgres v0.5.5
[INFO] [stderr]    Compiling actix-utils v2.0.0
[INFO] [stderr]    Compiling actix-server v1.0.4
[INFO] [stderr]    Compiling actix-tls v2.0.0
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.5
[INFO] [stderr]    Compiling tokio-pg-mapper v0.1.8
[INFO] [stderr]    Compiling tokio-pg-mapper-derive v0.1.5
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling actix-router v0.2.4
[INFO] [stderr]    Compiling actix-connect v2.0.0
[INFO] [stderr]    Compiling config v0.10.1
[INFO] [stderr]    Compiling actix-http v2.0.0
[INFO] [stderr]    Compiling deadpool v0.5.2
[INFO] [stderr]    Compiling deadpool-postgres v0.5.6
[INFO] [stderr]    Compiling awc v2.0.0
[INFO] [stderr]    Compiling actix-web v3.0.1
[INFO] [stderr]    Compiling heroes-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `errors::HeroNotFound`
[INFO] [stdout]  --> src/infrastructure/handlers/hero.rs:6:42
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::domain::hero::{HeroDto, Hero, errors::HeroNotFound};
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_postgres::error::SqlState`
[INFO] [stdout]  --> src/infrastructure/repositories/postgres_hero_repository.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio_postgres::error::SqlState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_hero_repository.rs:61:27
[INFO] [stdout]    |
[INFO] [stdout] 61 |             .query_one(q, params)
[INFO] [stdout]    |                           ^^^^^^ expected slice, found array `[&i32; 1]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&[&dyn ToSql + Sync]`
[INFO] [stdout]               found reference `&[&i32; 1]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `heroes-api`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "a3f9174bc0aaef3fef6eb069f64d1c29f346cf973788742c0072be9e87362798", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3f9174bc0aaef3fef6eb069f64d1c29f346cf973788742c0072be9e87362798", kill_on_drop: false }`
[INFO] [stdout] a3f9174bc0aaef3fef6eb069f64d1c29f346cf973788742c0072be9e87362798
