[INFO] cloning repository https://github.com/bloveless/spacetraders-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bloveless/spacetraders-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbloveless%2Fspacetraders-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbloveless%2Fspacetraders-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bd2765604b65a1969e2f88daa17438bc8cdca66 [INFO] testing bloveless/spacetraders-rs against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbloveless%2Fspacetraders-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bloveless/spacetraders-rs 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/bloveless/spacetraders-rs [INFO] finished tweaking git repo https://github.com/bloveless/spacetraders-rs [INFO] tweaked toml for git repo https://github.com/bloveless/spacetraders-rs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/bloveless/spacetraders-rs 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 963f389d773a894413bfb84b0e2e90278e42e0d8b8a28eba133e0f6c993f542e [INFO] running `Command { std: "docker" "start" "-a" "963f389d773a894413bfb84b0e2e90278e42e0d8b8a28eba133e0f6c993f542e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "963f389d773a894413bfb84b0e2e90278e42e0d8b8a28eba133e0f6c993f542e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "963f389d773a894413bfb84b0e2e90278e42e0d8b8a28eba133e0f6c993f542e", kill_on_drop: false }` [INFO] [stdout] 963f389d773a894413bfb84b0e2e90278e42e0d8b8a28eba133e0f6c993f542e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 7c050145f9719a6916fad6291b8232fd8631fde8a714b13e76b8a236ae4a8cf6 [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" "7c050145f9719a6916fad6291b8232fd8631fde8a714b13e76b8a236ae4a8cf6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling httparse v1.3.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling local-waker v0.1.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling const_fn v0.4.6 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling actix-service v2.0.0-beta.5 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling actix-utils v3.0.0-beta.4 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling tokio-util v0.6.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling actix-rt v2.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.5 [INFO] [stderr] Compiling sqlx-rt v0.3.0 [INFO] [stderr] Compiling actix-server v2.0.0-beta.4 [INFO] [stderr] Compiling h2 v0.3.2 [INFO] [stderr] Compiling actix-codec v0.4.0-beta.1 [INFO] [stderr] Compiling actix-tls v3.0.0-beta.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-http v3.0.0-beta.5 [INFO] [stderr] Compiling sqlx-core v0.5.1 [INFO] [stderr] Compiling hyper v0.14.5 [INFO] [stderr] Compiling actix-web v4.0.0-beta.5 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.2 [INFO] [stderr] Compiling sqlx-macros v0.5.1 [INFO] [stderr] Compiling actix-cors v0.6.0-beta.1 [INFO] [stderr] Compiling spacetraders v0.1.0-alpha.5 (/opt/rustwide/workdir/spacetraders) [INFO] [stderr] Compiling sqlx v0.5.1 [INFO] [stderr] Compiling spacemonger-api v0.1.0 (/opt/rustwide/workdir/api) [INFO] [stderr] Compiling spacemonger-daemon v0.1.0 (/opt/rustwide/workdir/daemon) [INFO] [stdout] warning: function is never used: `get_system_location` [INFO] [stdout] --> daemon/src/db.rs:260:14 [INFO] [stdout] | [INFO] [stdout] 260 | pub async fn get_system_location(pg_pool: PgPool, location_symbol: String) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_distance_between_locations` [INFO] [stdout] --> daemon/src/db.rs:293:14 [INFO] [stdout] | [INFO] [stdout] 293 | pub async fn get_distance_between_locations(pg_pool: PgPool, origin: &str, destination: &str) -> anyhow::Result daemon/src/db.rs:541:14 [INFO] [stdout] | [INFO] [stdout] 541 | pub async fn persist_request_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_migrations` [INFO] [stdout] --> api/src/db.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn run_migrations(pg_pool: PgPool) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 46s [INFO] running `Command { std: "docker" "inspect" "7c050145f9719a6916fad6291b8232fd8631fde8a714b13e76b8a236ae4a8cf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c050145f9719a6916fad6291b8232fd8631fde8a714b13e76b8a236ae4a8cf6", kill_on_drop: false }` [INFO] [stdout] 7c050145f9719a6916fad6291b8232fd8631fde8a714b13e76b8a236ae4a8cf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 3ec2260ada24d74e9bbb7ba59c80b7cb48cbb805ce82d561fa77a359d63e77db [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" "3ec2260ada24d74e9bbb7ba59c80b7cb48cbb805ce82d561fa77a359d63e77db", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling spacetraders v0.1.0-alpha.5 (/opt/rustwide/workdir/spacetraders) [INFO] [stderr] Compiling spacemonger-api v0.1.0 (/opt/rustwide/workdir/api) [INFO] [stderr] Compiling spacemonger-daemon v0.1.0 (/opt/rustwide/workdir/daemon) [INFO] [stdout] warning: function is never used: `get_system_location` [INFO] [stdout] --> daemon/src/db.rs:260:14 [INFO] [stdout] | [INFO] [stdout] 260 | pub async fn get_system_location(pg_pool: PgPool, location_symbol: String) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_distance_between_locations` [INFO] [stdout] --> daemon/src/db.rs:293:14 [INFO] [stdout] | [INFO] [stdout] 293 | pub async fn get_distance_between_locations(pg_pool: PgPool, origin: &str, destination: &str) -> anyhow::Result daemon/src/db.rs:541:14 [INFO] [stdout] | [INFO] [stdout] 541 | pub async fn persist_request_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_migrations` [INFO] [stdout] --> api/src/db.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn run_migrations(pg_pool: PgPool) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3m 27s [INFO] running `Command { std: "docker" "inspect" "3ec2260ada24d74e9bbb7ba59c80b7cb48cbb805ce82d561fa77a359d63e77db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec2260ada24d74e9bbb7ba59c80b7cb48cbb805ce82d561fa77a359d63e77db", kill_on_drop: false }` [INFO] [stdout] 3ec2260ada24d74e9bbb7ba59c80b7cb48cbb805ce82d561fa77a359d63e77db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] e1867dd578cebc0b60e8dc97aedc6da54615aab1e40b038cf4bc68c15f33e5b7 [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" "e1867dd578cebc0b60e8dc97aedc6da54615aab1e40b038cf4bc68c15f33e5b7", kill_on_drop: false }` [INFO] [stderr] warning: function is never used: `run_migrations` [INFO] [stderr] --> api/src/db.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | pub async fn run_migrations(pg_pool: PgPool) -> Result<(), anyhow::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_system_location` [INFO] [stderr] --> daemon/src/db.rs:260:14 [INFO] [stderr] | [INFO] [stderr] 260 | pub async fn get_system_location(pg_pool: PgPool, location_symbol: String) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_distance_between_locations` [INFO] [stderr] --> daemon/src/db.rs:293:14 [INFO] [stderr] | [INFO] [stderr] 293 | pub async fn get_distance_between_locations(pg_pool: PgPool, origin: &str, destination: &str) -> anyhow::Result daemon/src/db.rs:541:14 [INFO] [stderr] | [INFO] [stderr] 541 | pub async fn persist_request_response( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/spacemonger_api-e184a75b6e57fb2b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/spacemongerd-88b2e47847cd1437) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/spacetraders-ef03f3ff45ec9d66) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/responses.rs (/opt/rustwide/target/debug/deps/responses-b801e7a612706a8f) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test parse_flight_plan ... ok [INFO] [stdout] test parses_location_info ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- parses_location_info stdout ---- [INFO] [stdout] [INFO] [stdout] { [INFO] [stdout] "location":{ [INFO] [stdout] "symbol":"OE-XV-91-2", [INFO] [stdout] "type":"WORMHOLE", [INFO] [stdout] "name":"Wormhole", [INFO] [stdout] "x":0, [INFO] [stdout] "y":145, [INFO] [stdout] "ships":[ [INFO] [stdout] [INFO] [stdout] ], [INFO] [stdout] "messages":[ [INFO] [stdout] "Extensive research has revealed a partially functioning warp gate harnessing the power of an unstable but traversable wormhole.", [INFO] [stdout] "The scientific community has determined a means of stabilizing the ancient structure.", [INFO] [stdout] "Enter at your own risk.", [INFO] [stdout] "POST https://api.spacetraders.io/game/structures/:structureId/deposit shipId=:shipId good=:goodSymbol quantity=:quantity", [INFO] [stdout] "POST https://api.spacetraders.io/users/{username}/warp-jump shipId=:shipId" [INFO] [stdout] ], [INFO] [stdout] "structures":[ [INFO] [stdout] { [INFO] [stdout] "id":"ckmu843xh1451mlwwgkfvmpdw", [INFO] [stdout] "name":"Warp Gate", [INFO] [stdout] "completed":true, [INFO] [stdout] "materials":[ [INFO] [stdout] { [INFO] [stdout] "good":"ELECTRONICS", [INFO] [stdout] "quantity":9912, [INFO] [stdout] "targetQuantity":20000 [INFO] [stdout] }, [INFO] [stdout] { [INFO] [stdout] "good":"MACHINERY", [INFO] [stdout] "quantity":15630, [INFO] [stdout] "targetQuantity":55000 [INFO] [stdout] }, [INFO] [stdout] { [INFO] [stdout] "good":"CONSTRUCTION_MATERIALS", [INFO] [stdout] "quantity":25000, [INFO] [stdout] "targetQuantity":25000 [INFO] [stdout] }, [INFO] [stdout] { [INFO] [stdout] "good":"METALS", [INFO] [stdout] "quantity":248880, [INFO] [stdout] "targetQuantity":250000 [INFO] [stdout] } [INFO] [stdout] ], [INFO] [stdout] "stability":0.8554914285714286 [INFO] [stdout] } [INFO] [stdout] ] [INFO] [stdout] }, [INFO] [stdout] "dockedShips":5 [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] thread 'parses_location_info' panicked at 'called `Result::unwrap()` on an `Err` value: Error("unknown field `ships`, expected one of `symbol`, `type`, `name`, `x`, `y`, `ansibleProgress`, `anomaly`, `structures`, `messages`, `allowsConstruction`", line: 9, column: 23)', spacetraders/tests/responses.rs:58:78 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557bd0381fe0 - 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: 0x557bd0381fe0 - 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: 0x557bd0381fe0 - std::sys_common::backtrace::_print_fmt::h863a6f5e6d995885 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x557bd0381fe0 - ::fmt::h767e17e1aa7df6a8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x557bd03a479c - core::fmt::write::h7aa6cd0067dca82a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x557bd037f055 - std::io::Write::write_fmt::h6f1a9b91376a1376 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x557bd038414b - std::sys_common::backtrace::_print::h2769edb26a7eb606 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x557bd038414b - std::sys_common::backtrace::print::ha71f3549862b4cb6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x557bd038414b - std::panicking::default_hook::{{closure}}::h95488a3bade217f6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x557bd0383c5c - std::panicking::default_hook::h290aa602c0fb11df [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x557bd03847f1 - std::panicking::rust_panic_with_hook::hf32c4fa635e215f2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x557bd03842f7 - std::panicking::begin_panic_handler::{{closure}}::h95197ccd88846f7a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x557bd03824bc - 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: 0x557bd0384259 - rust_begin_unwind [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x557bd02d74b1 - core::panicking::panic_fmt::hbe99dddd3092ba3c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x557bd02d75a3 - core::result::unwrap_failed::hf79563fef9d11ab8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/result.rs:1355:5 [INFO] [stdout] 16: 0x557bd02f4eab - core::result::Result::unwrap::h5164556ba2c885e9 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/result.rs:1037:23 [INFO] [stdout] 17: 0x557bd02f1558 - responses::parses_location_info::hee50b6b8ba518cf8 [INFO] [stdout] at /opt/rustwide/workdir/spacetraders/tests/responses.rs:58:5 [INFO] [stdout] 18: 0x557bd02f148a - responses::parses_location_info::{{closure}}::h509d51ab8f2617b6 [INFO] [stdout] at /opt/rustwide/workdir/spacetraders/tests/responses.rs:2:1 [INFO] [stdout] 19: 0x557bd02f1cce - core::ops::function::FnOnce::call_once::haceef54a3cbdb63e [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x557bd0359643 - core::ops::function::FnOnce::call_once::h673fbe3f96486fd2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x557bd0359643 - test::__rust_begin_short_backtrace::h8eedc24e104ef6a0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:577:5 [INFO] [stdout] 22: 0x557bd03580f0 - as core::ops::function::FnOnce>::call_once::h028d0969d3f94d78 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 23: 0x557bd03580f0 - as core::ops::function::FnOnce<()>>::call_once::h7634b01590b1722b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 24: 0x557bd03580f0 - std::panicking::try::do_call::hf74f869706dec63b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x557bd03580f0 - std::panicking::try::hd0b7346ebfaaae44 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x557bd03580f0 - std::panic::catch_unwind::hdbf6904f7c253080 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 27: 0x557bd03580f0 - test::run_test_in_process::h87e95a014ac91067 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:600:18 [INFO] [stdout] 28: 0x557bd03580f0 - test::run_test::run_test_inner::{{closure}}::hdd69ae44aaab3470 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x557bd03333c2 - test::run_test::run_test_inner::{{closure}}::hc159305704d5b68a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x557bd03333c2 - 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] 31: 0x557bd0337138 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h6181011ddf4b8353 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 32: 0x557bd0337138 - as core::ops::function::FnOnce<()>>::call_once::hf924ea0a0f25a1c0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 33: 0x557bd0337138 - std::panicking::try::do_call::hd58061792d05fa5c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x557bd0337138 - std::panicking::try::h3080747417e5af37 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x557bd0337138 - std::panic::catch_unwind::hfeba515dcf36cb66 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 36: 0x557bd0337138 - std::thread::Builder::spawn_unchecked::{{closure}}::h29d57a62faff749b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 37: 0x557bd0337138 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h44709d312d2a9c59 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x557bd03892a7 - as core::ops::function::FnOnce>::call_once::h902e2cf6655e1b0c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 39: 0x557bd03892a7 - as core::ops::function::FnOnce>::call_once::h893a5452154309d1 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 40: 0x557bd03892a7 - 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] 41: 0x7f3da4a6c609 - start_thread [INFO] [stdout] 42: 0x7f3da483c293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] parses_location_info [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '-p spacetraders --test responses' [INFO] running `Command { std: "docker" "inspect" "e1867dd578cebc0b60e8dc97aedc6da54615aab1e40b038cf4bc68c15f33e5b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1867dd578cebc0b60e8dc97aedc6da54615aab1e40b038cf4bc68c15f33e5b7", kill_on_drop: false }` [INFO] [stdout] e1867dd578cebc0b60e8dc97aedc6da54615aab1e40b038cf4bc68c15f33e5b7