[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 1.49.0 for beta-1.50-1 [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 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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" "+1.49.0" "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" "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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0848d4d0bdf473df19d49ea8acf5630ce40057c77e9f22281c4352d7028e7d2 [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" "a0848d4d0bdf473df19d49ea8acf5630ce40057c77e9f22281c4352d7028e7d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0848d4d0bdf473df19d49ea8acf5630ce40057c77e9f22281c4352d7028e7d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0848d4d0bdf473df19d49ea8acf5630ce40057c77e9f22281c4352d7028e7d2", kill_on_drop: false }` [INFO] [stdout] a0848d4d0bdf473df19d49ea8acf5630ce40057c77e9f22281c4352d7028e7d2 [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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a6d24f1ca1d805f8e3173f85aedd0e57713e435121cb18a746b5a2a8fa0bfd0 [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" "9a6d24f1ca1d805f8e3173f85aedd0e57713e435121cb18a746b5a2a8fa0bfd0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling futures v0.1.18 [INFO] [stderr] Compiling arrayref v0.3.4 [INFO] [stderr] Compiling fallible-iterator v0.1.4 [INFO] [stderr] Compiling regex v0.2.9 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling md5 v0.3.7 [INFO] [stderr] Compiling pq-sys v0.4.4 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling scoped-tls v0.1.1 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling httparse v1.2.4 [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 base64 v0.6.0 [INFO] [stderr] Compiling base64 v0.9.0 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.5.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.0 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling crossbeam-epoch v0.4.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling digest v0.7.2 [INFO] [stderr] Compiling r2d2 v0.8.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling net2 v0.2.32 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling socket2 v0.3.4 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling crossbeam-deque v0.3.0 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling sha2 v0.7.0 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling mio v0.6.14 [INFO] [stderr] Compiling mime v0.3.5 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling tokio-executor v0.1.0 [INFO] [stderr] Compiling tokio-io v0.1.6 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling postgres-shared v0.4.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.0 [INFO] [stderr] Compiling tokio-reactor v0.1.0 [INFO] [stderr] Compiling diesel_derives v1.1.0 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling tokio v0.1.3 [INFO] [stderr] Compiling r2d2_postgres v0.14.0 [INFO] [stderr] Compiling tokio-core v0.1.15 [INFO] [stderr] Compiling diesel v1.1.1 [INFO] [stderr] Compiling dotenv v0.9.0 [INFO] [stderr] Compiling env_logger v0.5.5 [INFO] [stderr] Compiling tokio-proto v0.1.1 [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 constant `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 28s [INFO] running `Command { std: "docker" "inspect" "9a6d24f1ca1d805f8e3173f85aedd0e57713e435121cb18a746b5a2a8fa0bfd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a6d24f1ca1d805f8e3173f85aedd0e57713e435121cb18a746b5a2a8fa0bfd0", kill_on_drop: false }` [INFO] [stdout] 9a6d24f1ca1d805f8e3173f85aedd0e57713e435121cb18a746b5a2a8fa0bfd0 [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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee2ad0e1af3086857956979641ee332c9ddc00a6d121a7add99b9867ec1c80ef [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" "ee2ad0e1af3086857956979641ee332c9ddc00a6d121a7add99b9867ec1c80ef", 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 constant `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 3.66s [INFO] running `Command { std: "docker" "inspect" "ee2ad0e1af3086857956979641ee332c9ddc00a6d121a7add99b9867ec1c80ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee2ad0e1af3086857956979641ee332c9ddc00a6d121a7add99b9867ec1c80ef", kill_on_drop: false }` [INFO] [stdout] ee2ad0e1af3086857956979641ee332c9ddc00a6d121a7add99b9867ec1c80ef [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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 56ddac8429c0f0da6d8e269ccc623c597156e1e797c400930d6ceb339f9c9f9e [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" "56ddac8429c0f0da6d8e269ccc623c597156e1e797c400930d6ceb339f9c9f9e", 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] [stdout] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] running 3 tests [INFO] [stderr] --> src/services/shortener_get_service.rs:14:1 [INFO] [stdout] test request_utils::tests::should_return_empty_map_on_empty_string ... ok [INFO] [stderr] | [INFO] [stdout] test request_utils::tests::should_split_tokens ... ok [INFO] [stderr] 14 | / lazy_static!{ [INFO] [stdout] test request_utils::tests::should_map_only_keys_to_empty_string ... ok [INFO] [stderr] 15 | | static ref RE: Regex = Regex::new(r"/urls/(.+)").unwrap(); [INFO] [stdout] [INFO] [stderr] 16 | | } [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stderr] | |_^ [INFO] [stdout] [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.12s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/hyper_microservice-89101352ad097341 [INFO] running `Command { std: "docker" "inspect" "56ddac8429c0f0da6d8e269ccc623c597156e1e797c400930d6ceb339f9c9f9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56ddac8429c0f0da6d8e269ccc623c597156e1e797c400930d6ceb339f9c9f9e", kill_on_drop: false }` [INFO] [stdout] 56ddac8429c0f0da6d8e269ccc623c597156e1e797c400930d6ceb339f9c9f9e