[INFO] cloning repository https://github.com/Leopard2A5/rust-hyper-microservice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Leopard2A5/rust-hyper-microservice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeopard2A5%2Frust-hyper-microservice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeopard2A5%2Frust-hyper-microservice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c7bda9d0e17a4461f4742914128a969ed28328f [INFO] testing Leopard2A5/rust-hyper-microservice against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeopard2A5%2Frust-hyper-microservice" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Leopard2A5/rust-hyper-microservice on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Leopard2A5/rust-hyper-microservice [INFO] finished tweaking git repo https://github.com/Leopard2A5/rust-hyper-microservice [INFO] tweaked toml for git repo https://github.com/Leopard2A5/rust-hyper-microservice written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Leopard2A5/rust-hyper-microservice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7bc8c6be5d2f8449d633464b5b99a4119508d1b5249b143204e9945eaa6a8319 [INFO] running `Command { std: "docker" "start" "-a" "7bc8c6be5d2f8449d633464b5b99a4119508d1b5249b143204e9945eaa6a8319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bc8c6be5d2f8449d633464b5b99a4119508d1b5249b143204e9945eaa6a8319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bc8c6be5d2f8449d633464b5b99a4119508d1b5249b143204e9945eaa6a8319", kill_on_drop: false }` [INFO] [stdout] 7bc8c6be5d2f8449d633464b5b99a4119508d1b5249b143204e9945eaa6a8319 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5204764e66c0d379069cb37e23f55a8cdeb9a98d8a7e1f65752f2763d829fd2 [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" "d5204764e66c0d379069cb37e23f55a8cdeb9a98d8a7e1f65752f2763d829fd2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling futures v0.1.18 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling arrayref v0.3.4 [INFO] [stderr] Compiling matches v0.1.6 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling lazycell v0.6.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.5 [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v0.2.9 [INFO] [stderr] Compiling md5 v0.3.7 [INFO] [stderr] Compiling fallible-iterator v0.1.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling pq-sys v0.4.4 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling scoped-tls v0.1.1 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling httparse v1.2.4 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling termcolor v0.3.5 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.5.2 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling base64 v0.9.0 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.32 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling socket2 v0.3.4 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling r2d2 v0.8.2 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling crossbeam-epoch v0.4.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling mio v0.6.14 [INFO] [stderr] Compiling tokio-executor v0.1.0 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling crossbeam-deque v0.3.0 [INFO] [stderr] Compiling tokio-io v0.1.6 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling mime v0.3.5 [INFO] [stderr] Compiling tokio-threadpool v0.1.0 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling tokio-reactor v0.1.0 [INFO] [stderr] Compiling digest v0.7.2 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling sha2 v0.7.0 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling tokio v0.1.3 [INFO] [stderr] Compiling diesel_derives v1.1.0 [INFO] [stderr] Compiling postgres-shared v0.4.1 [INFO] [stderr] Compiling tokio-core v0.1.15 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling diesel v1.1.1 [INFO] [stderr] Compiling env_logger v0.5.5 [INFO] [stderr] Compiling dotenv v0.9.0 [INFO] [stderr] Compiling r2d2_postgres v0.14.0 [INFO] [stderr] Compiling hyper v0.11.22 [INFO] [stderr] Compiling r2d2-diesel v1.0.0 [INFO] [stderr] Compiling hyper-microservice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `::request_utils::decode_query` [INFO] [stdout] --> src/services/shortener_get_service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ::request_utils::decode_query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/services/shortener_get_service.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / lazy_static!{ [INFO] [stdout] 15 | | static ref RE: Regex = Regex::new(r"/urls/(.+)").unwrap(); [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "d5204764e66c0d379069cb37e23f55a8cdeb9a98d8a7e1f65752f2763d829fd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5204764e66c0d379069cb37e23f55a8cdeb9a98d8a7e1f65752f2763d829fd2", kill_on_drop: false }` [INFO] [stdout] d5204764e66c0d379069cb37e23f55a8cdeb9a98d8a7e1f65752f2763d829fd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac9185937102d479510286910cf27f5a6c53eed717de22c1186fab06acfbf8b5 [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" "ac9185937102d479510286910cf27f5a6c53eed717de22c1186fab06acfbf8b5", kill_on_drop: false }` [INFO] [stderr] Compiling hyper-microservice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `::request_utils::decode_query` [INFO] [stdout] --> src/services/shortener_get_service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ::request_utils::decode_query; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/services/shortener_get_service.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / lazy_static!{ [INFO] [stdout] 15 | | static ref RE: Regex = Regex::new(r"/urls/(.+)").unwrap(); [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.46s [INFO] running `Command { std: "docker" "inspect" "ac9185937102d479510286910cf27f5a6c53eed717de22c1186fab06acfbf8b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac9185937102d479510286910cf27f5a6c53eed717de22c1186fab06acfbf8b5", kill_on_drop: false }` [INFO] [stdout] ac9185937102d479510286910cf27f5a6c53eed717de22c1186fab06acfbf8b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 28905f26a5af84844ae29a82f4fa6ed8717cecdd4163bb7e7a9bff4cf929d1de [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" "28905f26a5af84844ae29a82f4fa6ed8717cecdd4163bb7e7a9bff4cf929d1de", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `::request_utils::decode_query` [INFO] [stderr] --> src/services/shortener_get_service.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use ::request_utils::decode_query; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/router.rs:15:23 [INFO] [stderr] | [INFO] [stderr] 15 | type Future = Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/services/shortener_get_service.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / lazy_static!{ [INFO] [stderr] 15 | | static ref RE: Regex = Regex::new(r"/urls/(.+)").unwrap(); [INFO] [stderr] 16 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/hyper_microservice-826d8541b99ea248 [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test request_utils::tests::should_split_tokens ... ok [INFO] [stdout] test request_utils::tests::should_map_only_keys_to_empty_string ... ok [INFO] [stdout] test request_utils::tests::should_return_empty_map_on_empty_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "28905f26a5af84844ae29a82f4fa6ed8717cecdd4163bb7e7a9bff4cf929d1de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28905f26a5af84844ae29a82f4fa6ed8717cecdd4163bb7e7a9bff4cf929d1de", kill_on_drop: false }` [INFO] [stdout] 28905f26a5af84844ae29a82f4fa6ed8717cecdd4163bb7e7a9bff4cf929d1de