[INFO] cloning repository https://github.com/alank976/restaurant-order [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alank976/restaurant-order" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falank976%2Frestaurant-order", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falank976%2Frestaurant-order'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a623ebede260f11c324982d9831136f2a4e8254a [INFO] testing alank976/restaurant-order against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falank976%2Frestaurant-order" "/workspace/builds/worker-30/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-30/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alank976/restaurant-order on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alank976/restaurant-order [INFO] finished tweaking git repo https://github.com/alank976/restaurant-order [INFO] tweaked toml for git repo https://github.com/alank976/restaurant-order written to /workspace/builds/worker-30/source/Cargo.toml [INFO] crate git repo https://github.com/alank976/restaurant-order already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-server v0.6.0 [INFO] [stderr] Downloaded actix-connect v0.2.3 [INFO] [stderr] Downloaded actix-web v1.0.7 [INFO] [stderr] Downloaded actix-rt v0.2.4 [INFO] [stderr] Downloaded actix-http v0.2.9 [INFO] [stderr] Downloaded awc v0.2.4 [INFO] [stderr] Downloaded arc-swap v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67fbaa20959c10e92c49c684a2a0508955bf0342b5d6e4088f2221c7f005f60e [INFO] running `Command { std: "docker" "start" "-a" "67fbaa20959c10e92c49c684a2a0508955bf0342b5d6e4088f2221c7f005f60e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67fbaa20959c10e92c49c684a2a0508955bf0342b5d6e4088f2221c7f005f60e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67fbaa20959c10e92c49c684a2a0508955bf0342b5d6e4088f2221c7f005f60e", kill_on_drop: false }` [INFO] [stdout] 67fbaa20959c10e92c49c684a2a0508955bf0342b5d6e4088f2221c7f005f60e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ed2a83e2dd063631bdc69634c00f32eb6c4a24be973f8793906d8279417a56c [INFO] running `Command { std: "docker" "start" "-a" "8ed2a83e2dd063631bdc69634c00f32eb6c4a24be973f8793906d8279417a56c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.28 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.11 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling indexmap v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling arc-swap v0.4.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.3.2 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling openssl-sys v0.9.49 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling signal-hook-registry v1.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling signal-hook v0.1.10 [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 tokio-buf v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling flate2 v1.0.11 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling backtrace v0.3.35 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling actix-utils v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.99 [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 tokio v0.1.22 [INFO] [stderr] Compiling publicsuffix v1.5.3 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [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 hyper-tls v0.3.2 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [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 serde_json v1.0.40 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling actix-server v0.6.0 [INFO] [stderr] Compiling actix-connect v0.2.3 [INFO] [stderr] Compiling actix-http v0.2.9 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.20 [INFO] [stderr] Compiling awc v0.2.4 [INFO] [stderr] Compiling actix-web v1.0.7 [INFO] [stderr] Compiling restaurant-order v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new_for_test` [INFO] [stdout] --> src/order_service.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new_for_test(m: Arc>>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_with_client` [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn run_with_client() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.33s [INFO] running `Command { std: "docker" "inspect" "8ed2a83e2dd063631bdc69634c00f32eb6c4a24be973f8793906d8279417a56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ed2a83e2dd063631bdc69634c00f32eb6c4a24be973f8793906d8279417a56c", kill_on_drop: false }` [INFO] [stdout] 8ed2a83e2dd063631bdc69634c00f32eb6c4a24be973f8793906d8279417a56c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ce7b79cebe0aa87a0375396a18e712d53301097795819d133129595ab1c5050 [INFO] running `Command { std: "docker" "start" "-a" "6ce7b79cebe0aa87a0375396a18e712d53301097795819d133129595ab1c5050", kill_on_drop: false }` [INFO] [stderr] Compiling restaurant-order v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new_for_test` [INFO] [stdout] --> src/order_service.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new_for_test(m: Arc>>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_with_client` [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn run_with_client() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_with_client` [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn run_with_client() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.16s [INFO] running `Command { std: "docker" "inspect" "6ce7b79cebe0aa87a0375396a18e712d53301097795819d133129595ab1c5050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ce7b79cebe0aa87a0375396a18e712d53301097795819d133129595ab1c5050", kill_on_drop: false }` [INFO] [stdout] 6ce7b79cebe0aa87a0375396a18e712d53301097795819d133129595ab1c5050 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5c2cf315e24f1839884474bae4c8a5d0671bc4c209509bbbaa815f7dd120f2a1 [INFO] running `Command { std: "docker" "start" "-a" "5c2cf315e24f1839884474bae4c8a5d0671bc4c209509bbbaa815f7dd120f2a1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: associated function is never used: `new_for_test` [INFO] [stderr] --> src/order_service.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | fn new_for_test(m: Arc>>>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `restaurant-order` (lib) generated 1 warning [INFO] [stderr] warning: function is never used: `run_with_client` [INFO] [stderr] --> src/main.rs:14:4 [INFO] [stderr] | [INFO] [stderr] 14 | fn run_with_client() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `restaurant-order` (bin "restaurant-order") generated 1 warning [INFO] [stderr] warning: `restaurant-order` (bin "restaurant-order" test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.61s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/restaurant_order-f9fb5f9e495963bb) [INFO] [stdout] running 7 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/restaurant_order-a1ef45dd252d879a) [INFO] [stdout] test order_service::tests::it_returns_nothing_when_no_table_id_found ... ok [INFO] [stdout] test order_service::tests::it_saves_item_into_map ... ok [INFO] [stdout] test order_service::tests::it_rejects_when_table_id_greater_100 ... ok [INFO] [stdout] test order_service::tests::it_returns_items_from_hashmap ... ok [INFO] [stdout] test order_service::tests::it_deletes_item ... ok [INFO] [stdout] test order_service::tests::it_saves_items_with_same_name ... ok [INFO] [stdout] test order_item::tests::it_randomize_cook_time ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-9218957b9a2112c5) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::integration_test ... ok [INFO] [stdout] test tests::load_test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::load_test stdout ---- [INFO] [stdout] table 1 has items: [] [INFO] [stdout] table 2 has items: [] [INFO] [stdout] table 3 has items: [] [INFO] [stdout] table 4 has items: [OrderItem { name: "bacon", time_to_cook: 300s }, OrderItem { name: "bacon", time_to_cook: 540s }, OrderItem { name: "bacon", time_to_cook: 540s }, OrderItem { name: "bacon", time_to_cook: 300s }, OrderItem { name: "bacon", time_to_cook: 600s }, OrderItem { name: "bacon", time_to_cook: 660s }] [INFO] [stdout] table 5 has items: [] [INFO] [stdout] table 6 has items: [] [INFO] [stdout] table 7 has items: [OrderItem { name: "bacon", time_to_cook: 420s }, OrderItem { name: "bacon", time_to_cook: 300s }, OrderItem { name: "bacon", time_to_cook: 300s }, OrderItem { name: "bacon", time_to_cook: 780s }, OrderItem { name: "bacon", time_to_cook: 600s }] [INFO] [stdout] table 8 has items: [] [INFO] [stdout] table 9 has items: [] [INFO] [stdout] table 10 has items: [] [INFO] [stdout] Clients spent 2s on messing up the above orders. [INFO] [stdout] thread 'tests::load_test' panicked at 'assertion failed: elapsed_time < 1', tests/integration_test.rs:38:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f0e4cf168c - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55f0e4cf168c - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55f0e4cf168c - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55f0e4cf168c - ::fmt::hf439e5ed84c74abd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55f0e4d16a1c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55f0e4ce9e45 - std::io::Write::write_fmt::h54337adeb3504c03 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x55f0e4cf3180 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55f0e4cf3180 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55f0e4cf3180 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55f0e4cf2d66 - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55f0e4cf3834 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55f0e4cf32e2 - std::panicking::begin_panic_handler::{{closure}}::h590a0d6060ff866e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:500:13 [INFO] [stdout] 12: 0x55f0e4cf1b44 - std::sys_common::backtrace::__rust_end_short_backtrace::h260b8bd1c848a03c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55f0e4cf3279 - rust_begin_unwind [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55f0e43a2f01 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panicking.rs:106:14 [INFO] [stdout] 15: 0x55f0e43a2e4d - core::panicking::panic::h50b51d19800453c0 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panicking.rs:47:5 [INFO] [stdout] 16: 0x55f0e43a5fd4 - integration_test::tests::load_test::h27aa203c1b4a7bb8 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:38:9 [INFO] [stdout] 17: 0x55f0e43a5f0a - integration_test::tests::load_test::{{closure}}::h52d9437af6549730 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:32:5 [INFO] [stdout] 18: 0x55f0e43a543e - core::ops::function::FnOnce::call_once::he0b750aba084fdf4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x55f0e43da913 - core::ops::function::FnOnce::call_once::h24a32b9da1a40fdb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55f0e43da913 - test::__rust_begin_short_backtrace::h3c3a0492fb4a12eb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:585:5 [INFO] [stdout] 21: 0x55f0e43d9527 - as core::ops::function::FnOnce>::call_once::h9a8e38435f73d5e0 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 22: 0x55f0e43d9527 - as core::ops::function::FnOnce<()>>::call_once::hb23d7496a0e6d1b4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 23: 0x55f0e43d9527 - std::panicking::try::do_call::ha2bb9825b32d2cc2 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 24: 0x55f0e43d9527 - std::panicking::try::hdc38a574bbebc53e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 25: 0x55f0e43d9527 - std::panic::catch_unwind::hc45ed246595c621c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 26: 0x55f0e43d9527 - test::run_test_in_process::h4249138faaea8d54 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:608:18 [INFO] [stdout] 27: 0x55f0e43d9527 - test::run_test::run_test_inner::{{closure}}::h3c1b37669f6e9fd7 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:500:39 [INFO] [stdout] 28: 0x55f0e43a67ce - test::run_test::run_test_inner::{{closure}}::h388760469edd5c24 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:527:37 [INFO] [stdout] 29: 0x55f0e43a67ce - std::sys_common::backtrace::__rust_begin_short_backtrace::hbbaecdcfad18643e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 30: 0x55f0e43ab528 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h09cd3ca65896da91 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 31: 0x55f0e43ab528 - as core::ops::function::FnOnce<()>>::call_once::hc52dbb4f9088d18b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 32: 0x55f0e43ab528 - std::panicking::try::do_call::h4485cfee22b11c08 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 33: 0x55f0e43ab528 - std::panicking::try::hb62aa8549e20c08b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 34: 0x55f0e43ab528 - std::panic::catch_unwind::ha322c7a5bc666762 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 35: 0x55f0e43ab528 - std::thread::Builder::spawn_unchecked::{{closure}}::h1076fc1398603b77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 36: 0x55f0e43ab528 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h911e510344167353 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x55f0e4cf8b43 - as core::ops::function::FnOnce>::call_once::h771719d52c343434 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 38: 0x55f0e4cf8b43 - as core::ops::function::FnOnce>::call_once::hf441746dfa4b0f57 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 39: 0x55f0e4cf8b43 - std::sys::unix::thread::Thread::new::thread_start::hfd168f9d312b29ca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 40: 0x7f12971e3609 - start_thread [INFO] [stdout] 41: 0x7f1296fb3293 - clone [INFO] [stdout] 42: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::load_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.89s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test integration_test' [INFO] running `Command { std: "docker" "inspect" "5c2cf315e24f1839884474bae4c8a5d0671bc4c209509bbbaa815f7dd120f2a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c2cf315e24f1839884474bae4c8a5d0671bc4c209509bbbaa815f7dd120f2a1", kill_on_drop: false }` [INFO] [stdout] 5c2cf315e24f1839884474bae4c8a5d0671bc4c209509bbbaa815f7dd120f2a1