[INFO] updating cached repository https://github.com/knusbaum/robby [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a4d75ad7d7c8ac7b333633db206fdedf63c7fc11 [INFO] testing knusbaum/robby against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknusbaum%2Frobby" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/knusbaum/robby on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/knusbaum/robby [INFO] finished tweaking git repo https://github.com/knusbaum/robby [INFO] tweaked toml for git repo https://github.com/knusbaum/robby written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/knusbaum/robby already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f3e18d1e92d7a9334239788b4d991f2d34bfbb8f422e1f6a04ba0d229c975b5d [INFO] running `"docker" "start" "-a" "f3e18d1e92d7a9334239788b4d991f2d34bfbb8f422e1f6a04ba0d229c975b5d"` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.23 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.1 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling tokio-sync v0.1.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.2.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling backtrace v0.3.26 [INFO] [stderr] Compiling openssl-sys v0.9.47 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio v0.1.20 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.21 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling hyper v0.12.29 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling config v0.9.3 [INFO] [stderr] Compiling reqwest v0.9.17 [INFO] [stderr] Compiling knusbaum_consul v0.2.0 [INFO] [stderr] Compiling robby v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: function is never used: `extract_uri` [INFO] [stderr] --> src/main.rs:121:4 [INFO] [stderr] | [INFO] [stderr] 121 | fn extract_uri(header: &str) -> Result<&str, ()> { [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] Finished dev [unoptimized + debuginfo] target(s) in 2m 39s [INFO] running `"docker" "inspect" "f3e18d1e92d7a9334239788b4d991f2d34bfbb8f422e1f6a04ba0d229c975b5d"` [INFO] running `"docker" "rm" "-f" "f3e18d1e92d7a9334239788b4d991f2d34bfbb8f422e1f6a04ba0d229c975b5d"` [INFO] [stdout] f3e18d1e92d7a9334239788b4d991f2d34bfbb8f422e1f6a04ba0d229c975b5d [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b0a8ded2334d77740ffff670e5b97ad28bd2ff230d312d7feb57a1b3ac491497 [INFO] running `"docker" "start" "-a" "b0a8ded2334d77740ffff670e5b97ad28bd2ff230d312d7feb57a1b3ac491497"` [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling ascii v0.8.7 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling buf_redux v0.8.1 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling filetime v0.2.6 [INFO] [stderr] Compiling gzip-header v0.2.0 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling tiny_http v0.6.2 [INFO] [stderr] Compiling multipart v0.15.4 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling rouille v3.0.0 [INFO] [stderr] Compiling robby v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 53.47s [INFO] running `"docker" "inspect" "b0a8ded2334d77740ffff670e5b97ad28bd2ff230d312d7feb57a1b3ac491497"` [INFO] running `"docker" "rm" "-f" "b0a8ded2334d77740ffff670e5b97ad28bd2ff230d312d7feb57a1b3ac491497"` [INFO] [stdout] b0a8ded2334d77740ffff670e5b97ad28bd2ff230d312d7feb57a1b3ac491497 [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 757dcfceb3d2a8cd71798ed0c40b4a79f67c7f3ca14b0dd87e6a3238022d0bdf [INFO] running `"docker" "start" "-a" "757dcfceb3d2a8cd71798ed0c40b4a79f67c7f3ca14b0dd87e6a3238022d0bdf"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.19s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/robby-9df8251c1dcf6a9a [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test registry::tests::test_extract_prefix_host_match ... ok [INFO] [stdout] test registry::tests::test_pull_consul_routes ... ok [INFO] [stdout] test registry::tests::test_lookup ... ok [INFO] [stdout] test registry::tests::test_host_matching ... ok [INFO] [stdout] Robby listening on 127.0.0.1:8000 [INFO] [stdout] test tests::extract_uri_bad_header2 ... ok [INFO] [stdout] test tests::extract_uri_bad_header ... ok [INFO] [stdout] test tests::extract_uri_good_header ... ok [INFO] [stdout] test tests::extract_host_bad_header ... ok [INFO] [stdout] test tests::extract_host_no_host ... ok [INFO] [stdout] test tests::extract_host_good_header ... ok [INFO] [stdout] Connection from 127.0.0.1:44100 [INFO] [stdout] Have mapping test-website.com -> 127.0.0.1:6000 [INFO] [stdout] wrote 0 bytes from client to server. [INFO] [stdout] Client closed the connection. Disconnecting from server. [INFO] [stdout] test tests::test_server ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "757dcfceb3d2a8cd71798ed0c40b4a79f67c7f3ca14b0dd87e6a3238022d0bdf"` [INFO] running `"docker" "rm" "-f" "757dcfceb3d2a8cd71798ed0c40b4a79f67c7f3ca14b0dd87e6a3238022d0bdf"` [INFO] [stdout] 757dcfceb3d2a8cd71798ed0c40b4a79f67c7f3ca14b0dd87e6a3238022d0bdf