[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 master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falank976%2Frestaurant-order" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alank976/restaurant-order on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "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-4/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fc7f00d337c51ab984ba9751c998e90f4825cfa28763b213e12ed3506b1a367 [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" "4fc7f00d337c51ab984ba9751c998e90f4825cfa28763b213e12ed3506b1a367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fc7f00d337c51ab984ba9751c998e90f4825cfa28763b213e12ed3506b1a367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fc7f00d337c51ab984ba9751c998e90f4825cfa28763b213e12ed3506b1a367", kill_on_drop: false }` [INFO] [stdout] 4fc7f00d337c51ab984ba9751c998e90f4825cfa28763b213e12ed3506b1a367 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c69e8d6ce5adf0eb10aa416d32ff0d5f978fae99ae7da4ed7c36910b7bb63e9 [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" "2c69e8d6ce5adf0eb10aa416d32ff0d5f978fae99ae7da4ed7c36910b7bb63e9", kill_on_drop: false }` [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling getrandom v0.1.11 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling arc-swap v0.4.2 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling signal-hook-registry v1.1.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling signal-hook v0.1.10 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling flate2 v1.0.11 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling actix-utils v0.4.5 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling publicsuffix v1.5.3 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling cookie v0.12.0 [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 serde_derive v1.0.99 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling hyper-tls 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 failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling serde v1.0.99 [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-connect v0.2.3 [INFO] [stderr] Compiling actix-server v0.6.0 [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-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 1m 24s [INFO] running `Command { std: "docker" "inspect" "2c69e8d6ce5adf0eb10aa416d32ff0d5f978fae99ae7da4ed7c36910b7bb63e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c69e8d6ce5adf0eb10aa416d32ff0d5f978fae99ae7da4ed7c36910b7bb63e9", kill_on_drop: false }` [INFO] [stdout] 2c69e8d6ce5adf0eb10aa416d32ff0d5f978fae99ae7da4ed7c36910b7bb63e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4673192e8c2aa54de49b339593414964c8212e42f1a30f17746d5b371ee6e004 [INFO] running `Command { std: "docker" "start" "-a" "4673192e8c2aa54de49b339593414964c8212e42f1a30f17746d5b371ee6e004", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] Compiling restaurant-order v0.1.0 (/opt/rustwide/workdir) [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 9.39s [INFO] running `Command { std: "docker" "inspect" "4673192e8c2aa54de49b339593414964c8212e42f1a30f17746d5b371ee6e004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4673192e8c2aa54de49b339593414964c8212e42f1a30f17746d5b371ee6e004", kill_on_drop: false }` [INFO] [stdout] 4673192e8c2aa54de49b339593414964c8212e42f1a30f17746d5b371ee6e004 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", 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] dc4922a64dc6857c6d93ee3eccbcd5dd8590a466e30fc52e55b724f89983c392 [INFO] running `Command { std: "docker" "start" "-a" "dc4922a64dc6857c6d93ee3eccbcd5dd8590a466e30fc52e55b724f89983c392", kill_on_drop: false }` [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 0.21s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/restaurant_order-0677d9211e429da4) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test order_service::tests::it_rejects_when_table_id_greater_100 ... ok [INFO] [stdout] test order_item::tests::it_randomize_cook_time ... ok [INFO] [stdout] test order_service::tests::it_returns_items_from_hashmap ... ok [INFO] [stdout] test order_service::tests::it_saves_item_into_map ... ok [INFO] [stdout] test order_service::tests::it_saves_items_with_same_name ... ok [INFO] [stdout] test order_service::tests::it_returns_nothing_when_no_table_id_found ... ok [INFO] [stdout] test order_service::tests::it_deletes_item ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 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/restaurant_order-bddff9f2723d843a) [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-116f4220f8b6c846) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::load_test ... ok [INFO] [stdout] test tests::integration_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.06s [INFO] [stdout] [INFO] [stderr] Doc-tests restaurant-order [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] running `Command { std: "docker" "inspect" "dc4922a64dc6857c6d93ee3eccbcd5dd8590a466e30fc52e55b724f89983c392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc4922a64dc6857c6d93ee3eccbcd5dd8590a466e30fc52e55b724f89983c392", kill_on_drop: false }` [INFO] [stdout] dc4922a64dc6857c6d93ee3eccbcd5dd8590a466e30fc52e55b724f89983c392