[INFO] cloning repository https://github.com/shunf4/rust-matching-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shunf4/rust-matching-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshunf4%2Frust-matching-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshunf4%2Frust-matching-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04f1bf2f40be5c7746d1e3f617e0dee317b3a26e [INFO] testing shunf4/rust-matching-engine against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshunf4%2Frust-matching-engine" "/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/shunf4/rust-matching-engine on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shunf4/rust-matching-engine [INFO] finished tweaking git repo https://github.com/shunf4/rust-matching-engine [INFO] tweaked toml for git repo https://github.com/shunf4/rust-matching-engine written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/shunf4/rust-matching-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded listenfd v0.3.3 [INFO] [stderr] Downloaded dotenv v0.14.1 [INFO] [stderr] Downloaded awc v0.2.4 [INFO] [stderr] Downloaded actix-identity v0.1.0 [INFO] [stderr] Downloaded arc-swap v0.4.2 [INFO] [stderr] Downloaded actix-connect v0.2.3 [INFO] [stderr] Downloaded actix-rt v0.2.4 [INFO] [stderr] Downloaded actix-server v0.6.0 [INFO] [stderr] Downloaded indexmap v1.1.0 [INFO] [stderr] Downloaded diesel v1.4.2 [INFO] [stderr] Downloaded actix-web v1.0.7 [INFO] [stderr] Downloaded actix-utils v0.4.5 [INFO] [stderr] Downloaded actix-http v0.2.9 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.2 [INFO] [stderr] Downloaded r2d2 v0.8.5 [INFO] [stderr] Downloaded diesel_derives v1.4.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.2 [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cba4f3e7f0a3db92f3d37c461872eabf80340813f8b903883bfeda99246054ca [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" "cba4f3e7f0a3db92f3d37c461872eabf80340813f8b903883bfeda99246054ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cba4f3e7f0a3db92f3d37c461872eabf80340813f8b903883bfeda99246054ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cba4f3e7f0a3db92f3d37c461872eabf80340813f8b903883bfeda99246054ca", kill_on_drop: false }` [INFO] [stdout] cba4f3e7f0a3db92f3d37c461872eabf80340813f8b903883bfeda99246054ca [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 358d534aa320d0ba4a0eea92cb467f67a6bc3d72e104b9c86788eb7907304d0e [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" "358d534aa320d0ba4a0eea92cb467f67a6bc3d72e104b9c86788eb7907304d0e", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.2 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling arc-swap v0.4.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling indexmap v1.1.0 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling getrandom v0.1.11 [INFO] [stderr] Compiling signal-hook-registry v1.1.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling listenfd v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling signal-hook v0.1.10 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling flate2 v1.0.11 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling backtrace v0.3.35 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.2 [INFO] [stderr] Compiling actix-utils v0.4.5 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling r2d2 v0.8.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling actix-web-codegen v0.1.2 [INFO] [stderr] Compiling diesel_derives v1.4.0 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling dotenv v0.14.1 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling actix-rt v0.2.4 [INFO] [stderr] Compiling actix-server v0.6.0 [INFO] [stderr] Compiling actix-connect v0.2.3 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling diesel v1.4.2 [INFO] [stderr] Compiling actix-http v0.2.9 [INFO] [stderr] Compiling awc v0.2.4 [INFO] [stderr] Compiling actix-web v1.0.7 [INFO] [stderr] Compiling actix-identity v0.1.0 [INFO] [stderr] Compiling rust-matching-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 23s [INFO] running `Command { std: "docker" "inspect" "358d534aa320d0ba4a0eea92cb467f67a6bc3d72e104b9c86788eb7907304d0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "358d534aa320d0ba4a0eea92cb467f67a6bc3d72e104b9c86788eb7907304d0e", kill_on_drop: false }` [INFO] [stdout] 358d534aa320d0ba4a0eea92cb467f67a6bc3d72e104b9c86788eb7907304d0e [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d573f81b1b9e97f9a9bd47291979ea41955a9d249379740e301e7344c30d8196 [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" "d573f81b1b9e97f9a9bd47291979ea41955a9d249379740e301e7344c30d8196", kill_on_drop: false }` [INFO] [stderr] Compiling rust-matching-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.14s [INFO] running `Command { std: "docker" "inspect" "d573f81b1b9e97f9a9bd47291979ea41955a9d249379740e301e7344c30d8196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d573f81b1b9e97f9a9bd47291979ea41955a9d249379740e301e7344c30d8196", kill_on_drop: false }` [INFO] [stdout] d573f81b1b9e97f9a9bd47291979ea41955a9d249379740e301e7344c30d8196 [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a2ed9c8544d6dcf20d5bcfabde360883b8152da8eaef3d3fa61bdaf8705789b2 [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" "a2ed9c8544d6dcf20d5bcfabde360883b8152da8eaef3d3fa61bdaf8705789b2", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_matching_engine-30e990f6861c3aa9) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_data_connection ... FAILED [INFO] [stdout] test handlers::users::test_add_and_load_some_users ... FAILED [INFO] [stdout] test hash::test::test_hash ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_data_connection stdout ---- [INFO] [stdout] thread 'test_data_connection' panicked at '连接数据库 postgresql://test:hhxxsjnb@localhost/matching_engine_db 失败!: BadConnection("could not connect to server: Connection refused\n\tIs the server running on host \"localhost\" (127.0.0.1) and accepting\n\tTCP/IP connections on port 5432?\ncould not connect to server: Cannot assign requested address\n\tIs the server running on host \"localhost\" (::1) and accepting\n\tTCP/IP connections on port 5432?\n")', src/main.rs:42:56 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5582192f52bc - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5582192f52bc - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5582192f52bc - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5582192f52bc - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x558219317fac - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x5582192f1035 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x5582192f6d10 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5582192f6d10 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5582192f6d10 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x5582192f68f6 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x5582192f73c4 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x5582192f6ea0 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x5582192f5774 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x5582192f6e09 - rust_begin_unwind [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x558218ff5db1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x558218ff5ea3 - core::result::unwrap_failed::h885d3f7beb571353 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/result.rs:1613:5 [INFO] [stdout] 16: 0x558218ff7114 - core::result::Result::expect::hb83607b994744bcb [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/result.rs:1255:23 [INFO] [stdout] 17: 0x558218ffc42d - rust_matching_engine::test_get_data_connection::h2bb1c353f4a339a0 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:42:5 [INFO] [stdout] 18: 0x558218ffc50c - rust_matching_engine::test_data_connection::ha185a5b5ae33a4ee [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:160:5 [INFO] [stdout] 19: 0x558218ffc4ea - rust_matching_engine::test_data_connection::{{closure}}::ha849034bd9dcb37c [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:159:1 [INFO] [stdout] 20: 0x558218fffd9e - core::ops::function::FnOnce::call_once::h4dce4c1b7d64dbdc [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x558219041623 - core::ops::function::FnOnce::call_once::h449577f1c5b077cb [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x558219041623 - test::__rust_begin_short_backtrace::h8c2a0a5090591869 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:585:5 [INFO] [stdout] 23: 0x5582190401b7 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 24: 0x5582190401b7 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x5582190401b7 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 26: 0x5582190401b7 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 27: 0x5582190401b7 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 28: 0x5582190401b7 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:608:18 [INFO] [stdout] 29: 0x5582190401b7 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:500:39 [INFO] [stdout] 30: 0x55821900d4fe - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:527:37 [INFO] [stdout] 31: 0x55821900d4fe - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 32: 0x558219012328 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 33: 0x558219012328 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x558219012328 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 35: 0x558219012328 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 36: 0x558219012328 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 37: 0x558219012328 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 38: 0x558219012328 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x5582192fbf13 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x5582192fbf13 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: 0x5582192fbf13 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 42: 0x7f78ef411609 - start_thread [INFO] [stdout] 43: 0x7f78ef1e1293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- handlers::users::test_add_and_load_some_users stdout ---- [INFO] [stdout] thread 'handlers::users::test_add_and_load_some_users' panicked at '连接数据库 postgresql://test:hhxxsjnb@localhost/matching_engine_db 失败!: BadConnection("could not connect to server: Connection refused\n\tIs the server running on host \"localhost\" (127.0.0.1) and accepting\n\tTCP/IP connections on port 5432?\ncould not connect to server: Cannot assign requested address\n\tIs the server running on host \"localhost\" (::1) and accepting\n\tTCP/IP connections on port 5432?\n")', src/main.rs:42:56 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5582192f52bc - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5582192f52bc - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5582192f52bc - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5582192f52bc - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x558219317fac - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x5582192f1035 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x5582192f6d10 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5582192f6d10 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5582192f6d10 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x5582192f68f6 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x5582192f73c4 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x5582192f6ea0 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x5582192f5774 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x5582192f6e09 - rust_begin_unwind [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x558218ff5db1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x558218ff5ea3 - core::result::unwrap_failed::h885d3f7beb571353 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/result.rs:1613:5 [INFO] [stdout] 16: 0x558218ff7114 - core::result::Result::expect::hb83607b994744bcb [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/result.rs:1255:23 [INFO] [stdout] 17: 0x558218ffc42d - rust_matching_engine::test_get_data_connection::h2bb1c353f4a339a0 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:42:5 [INFO] [stdout] 18: 0x558219009b34 - rust_matching_engine::handlers::users::test_add_and_load_some_users::h08a13bffd09e0b1d [INFO] [stdout] at /opt/rustwide/workdir/src/handlers/users.rs:429:16 [INFO] [stdout] 19: 0x558219009afa - rust_matching_engine::handlers::users::test_add_and_load_some_users::{{closure}}::hc30f07df80e6f1f7 [INFO] [stdout] at /opt/rustwide/workdir/src/handlers/users.rs:427:1 [INFO] [stdout] 20: 0x558218fffe5e - core::ops::function::FnOnce::call_once::hb4fd7b087b41cd0b [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x558219041623 - core::ops::function::FnOnce::call_once::h449577f1c5b077cb [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x558219041623 - test::__rust_begin_short_backtrace::h8c2a0a5090591869 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:585:5 [INFO] [stdout] 23: 0x5582190401b7 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 24: 0x5582190401b7 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x5582190401b7 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 26: 0x5582190401b7 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 27: 0x5582190401b7 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 28: 0x5582190401b7 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:608:18 [INFO] [stdout] 29: 0x5582190401b7 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:500:39 [INFO] [stdout] 30: 0x55821900d4fe - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:527:37 [INFO] [stdout] 31: 0x55821900d4fe - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 32: 0x558219012328 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 33: 0x558219012328 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x558219012328 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 35: 0x558219012328 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 36: 0x558219012328 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 37: 0x558219012328 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 38: 0x558219012328 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x5582192fbf13 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x5582192fbf13 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: 0x5582192fbf13 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 42: 0x7f78ef411609 - start_thread [INFO] [stdout] 43: 0x7f78ef1e1293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] handlers::users::test_add_and_load_some_users [INFO] [stdout] test_data_connection [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.85s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin rust-matching-engine' [INFO] running `Command { std: "docker" "inspect" "a2ed9c8544d6dcf20d5bcfabde360883b8152da8eaef3d3fa61bdaf8705789b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2ed9c8544d6dcf20d5bcfabde360883b8152da8eaef3d3fa61bdaf8705789b2", kill_on_drop: false }` [INFO] [stdout] a2ed9c8544d6dcf20d5bcfabde360883b8152da8eaef3d3fa61bdaf8705789b2