[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 try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeopard2A5%2Frust-hyper-microservice" "/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/Leopard2A5/rust-hyper-microservice on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-4/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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 dotenv v0.9.0 [INFO] [stderr] Downloaded r2d2-diesel v1.0.0 [INFO] [stderr] Downloaded fallible-iterator v0.1.4 [INFO] [stderr] Downloaded diesel_derives v1.1.0 [INFO] [stderr] Downloaded env_logger v0.5.5 [INFO] [stderr] Downloaded hyper v0.11.22 [INFO] [stderr] Downloaded diesel v1.1.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.4.0 [INFO] [stderr] Downloaded postgres-shared v0.4.1 [INFO] [stderr] Downloaded r2d2_postgres v0.14.0 [INFO] [stderr] Downloaded regex-syntax v0.5.2 [INFO] [stderr] Downloaded pq-sys v0.4.4 [INFO] [stderr] Downloaded regex v0.2.9 [INFO] [stderr] Downloaded md5 v0.3.7 [INFO] [stderr] Downloaded arrayref v0.3.4 [INFO] [stderr] Downloaded digest v0.7.2 [INFO] [stderr] Downloaded sha2 v0.7.0 [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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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] 1126f3a8d51406c291311d6cc974dd9dae16ac142e79c272181b1e2ce59e0166 [INFO] running `Command { std: "docker" "start" "-a" "1126f3a8d51406c291311d6cc974dd9dae16ac142e79c272181b1e2ce59e0166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1126f3a8d51406c291311d6cc974dd9dae16ac142e79c272181b1e2ce59e0166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1126f3a8d51406c291311d6cc974dd9dae16ac142e79c272181b1e2ce59e0166", kill_on_drop: false }` [INFO] [stdout] 1126f3a8d51406c291311d6cc974dd9dae16ac142e79c272181b1e2ce59e0166 [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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c188db603676f357ec11d62c5925288e8905e3ca3ab62e9f14bf82a686d05ec1 [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" "c188db603676f357ec11d62c5925288e8905e3ca3ab62e9f14bf82a686d05ec1", 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 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 arrayref v0.3.4 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling regex v0.2.9 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling termcolor v0.3.5 [INFO] [stderr] Compiling tokio-executor v0.1.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling regex-syntax v0.5.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 syn v0.11.11 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling r2d2 v0.8.2 [INFO] [stderr] Compiling crossbeam-epoch v0.4.0 [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 v1.0.2 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling socket2 v0.3.4 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.3.0 [INFO] [stderr] Compiling mio v0.6.14 [INFO] [stderr] Compiling tokio-io v0.1.6 [INFO] [stderr] Compiling rand v0.3.22 [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 tokio v0.1.3 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [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 tokio-proto v0.1.1 [INFO] [stderr] Compiling diesel v1.1.1 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling env_logger v0.5.5 [INFO] [stderr] Compiling dotenv v0.9.0 [INFO] [stderr] Compiling hyper v0.11.22 [INFO] [stderr] Compiling r2d2_postgres v0.14.0 [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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 the macro `__lazy_static_create` (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 15s [INFO] running `Command { std: "docker" "inspect" "c188db603676f357ec11d62c5925288e8905e3ca3ab62e9f14bf82a686d05ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c188db603676f357ec11d62c5925288e8905e3ca3ab62e9f14bf82a686d05ec1", kill_on_drop: false }` [INFO] [stdout] c188db603676f357ec11d62c5925288e8905e3ca3ab62e9f14bf82a686d05ec1 [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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ec4bbdc7f1945a3c05fc1f436e8805c7924d8e821f3fc281abe8d6e0c06f772 [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" "2ec4bbdc7f1945a3c05fc1f436e8805c7924d8e821f3fc281abe8d6e0c06f772", 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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 the macro `__lazy_static_create` (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.08s [INFO] running `Command { std: "docker" "inspect" "2ec4bbdc7f1945a3c05fc1f436e8805c7924d8e821f3fc281abe8d6e0c06f772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec4bbdc7f1945a3c05fc1f436e8805c7924d8e821f3fc281abe8d6e0c06f772", kill_on_drop: false }` [INFO] [stdout] 2ec4bbdc7f1945a3c05fc1f436e8805c7924d8e821f3fc281abe8d6e0c06f772 [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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ba171f163bde143e28143b41eb951858edc32399c2bd531efba3769b9123231b [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" "ba171f163bde143e28143b41eb951858edc32399c2bd531efba3769b9123231b", 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `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 the macro `__lazy_static_create` (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.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hyper_microservice-05653b8ca7cda067) [INFO] [stdout] [INFO] [stdout] running 3 tests [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] test request_utils::tests::should_split_tokens ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ba171f163bde143e28143b41eb951858edc32399c2bd531efba3769b9123231b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba171f163bde143e28143b41eb951858edc32399c2bd531efba3769b9123231b", kill_on_drop: false }` [INFO] [stdout] ba171f163bde143e28143b41eb951858edc32399c2bd531efba3769b9123231b