[INFO] cloning repository https://github.com/sankar-boro/hacking-with-rust-web-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sankar-boro/hacking-with-rust-web-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsankar-boro%2Fhacking-with-rust-web-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsankar-boro%2Fhacking-with-rust-web-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 654a1343adcbc08a0273e09115aa9c2005637aa3 [INFO] testing sankar-boro/hacking-with-rust-web-server against try#c3758fdc4730d7700b25a13cccff296a08f42c00 for pr-91743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsankar-boro%2Fhacking-with-rust-web-server" "/workspace/builds/worker-108/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-108/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sankar-boro/hacking-with-rust-web-server on toolchain c3758fdc4730d7700b25a13cccff296a08f42c00 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sankar-boro/hacking-with-rust-web-server [INFO] finished tweaking git repo https://github.com/sankar-boro/hacking-with-rust-web-server [INFO] tweaked toml for git repo https://github.com/sankar-boro/hacking-with-rust-web-server written to /workspace/builds/worker-108/source/Cargo.toml [INFO] crate git repo https://github.com/sankar-boro/hacking-with-rust-web-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50cdde3f4dfd0fd2e4da374f05dbb0258011726a476a10fd157803405937bf8f [INFO] running `Command { std: "docker" "start" "-a" "50cdde3f4dfd0fd2e4da374f05dbb0258011726a476a10fd157803405937bf8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50cdde3f4dfd0fd2e4da374f05dbb0258011726a476a10fd157803405937bf8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50cdde3f4dfd0fd2e4da374f05dbb0258011726a476a10fd157803405937bf8f", kill_on_drop: false }` [INFO] [stdout] 50cdde3f4dfd0fd2e4da374f05dbb0258011726a476a10fd157803405937bf8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d38007d5cc5463e42d66c6ca3be5d56371a53b31ecdc83bc8b373616110b999 [INFO] running `Command { std: "docker" "start" "-a" "0d38007d5cc5463e42d66c6ca3be5d56371a53b31ecdc83bc8b373616110b999", kill_on_drop: false }` [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-expand` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-futures` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-practise` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-test` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling snap v1.0.5 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling ascii v0.8.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling chunked_transfer v0.3.1 [INFO] [stderr] Compiling histogram v0.6.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling s4nk4r-http v0.1.0 (/opt/rustwide/workdir/s4nk4r-http) [INFO] [stderr] Compiling s4nk4r-macro v0.1.0 (/opt/rustwide/workdir/s4nk4r-macro) [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.3.0 [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 typemap v0.3.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling nb-connect v1.0.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling bigdecimal v0.2.0 [INFO] [stderr] Compiling ctor v0.1.16 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling scylla-macros v0.1.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tiny_http v0.6.2 [INFO] [stderr] Compiling compress v0.2.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling pin-project v1.0.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling s4nk4r-service v0.1.0 (/opt/rustwide/workdir/s4nk4r-service) [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling scylla v0.1.0 [INFO] [stderr] Compiling http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `config::ServiceConfig` [INFO] [stdout] --> src/server.rs:4:65 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{App, app_service::AppHttpService, builder::Builder, config::ServiceConfig, connection::Connection, extensions::Extensions, re... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ser` [INFO] [stdout] --> src/http_service.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let ser = fac.new_service(()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "0d38007d5cc5463e42d66c6ca3be5d56371a53b31ecdc83bc8b373616110b999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d38007d5cc5463e42d66c6ca3be5d56371a53b31ecdc83bc8b373616110b999", kill_on_drop: false }` [INFO] [stdout] 0d38007d5cc5463e42d66c6ca3be5d56371a53b31ecdc83bc8b373616110b999 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aecedfce9ca8287a43859468d9042839f6c59cb22e44b3b74bf7c53d062a2266 [INFO] running `Command { std: "docker" "start" "-a" "aecedfce9ca8287a43859468d9042839f6c59cb22e44b3b74bf7c53d062a2266", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-expand` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-futures` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-practise` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-test` which is missing a lib target [INFO] [stderr] Compiling http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `config::ServiceConfig` [INFO] [stdout] --> src/server.rs:4:65 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{App, app_service::AppHttpService, builder::Builder, config::ServiceConfig, connection::Connection, extensions::Extensions, re... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FutureExt`, `executor::block_on` [INFO] [stdout] --> src/route.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 160 | use futures::{FutureExt, executor::block_on}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::request::HttpRequest` [INFO] [stdout] --> src/route.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | use crate::request::HttpRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/route.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ser` [INFO] [stdout] --> src/http_service.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let ser = fac.new_service(()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 54.46s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/http_server-68c34d12cdde6b85) [INFO] running `Command { std: "docker" "inspect" "aecedfce9ca8287a43859468d9042839f6c59cb22e44b3b74bf7c53d062a2266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aecedfce9ca8287a43859468d9042839f6c59cb22e44b3b74bf7c53d062a2266", kill_on_drop: false }` [INFO] [stdout] aecedfce9ca8287a43859468d9042839f6c59cb22e44b3b74bf7c53d062a2266 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f2c360dd4fd61185e8f3b8bcebecaa5165d7df28824eae28d7d04db00bbcd02 [INFO] running `Command { std: "docker" "start" "-a" "2f2c360dd4fd61185e8f3b8bcebecaa5165d7df28824eae28d7d04db00bbcd02", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-expand` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-futures` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-practise` which is missing a lib target [INFO] [stderr] warning: http-server v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `s4nk4r-test` which is missing a lib target [INFO] [stderr] warning: unused import: `config::ServiceConfig` [INFO] [stderr] --> src/server.rs:4:65 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::{App, app_service::AppHttpService, builder::Builder, config::ServiceConfig, connection::Connection, extensions::Extensions, re... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FutureExt`, `executor::block_on` [INFO] [stderr] --> src/route.rs:160:19 [INFO] [stderr] | [INFO] [stderr] 160 | use futures::{FutureExt, executor::block_on}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::request::HttpRequest` [INFO] [stderr] --> src/route.rs:161:9 [INFO] [stderr] | [INFO] [stderr] 161 | use crate::request::HttpRequest; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/route.rs:162:9 [INFO] [stderr] | [INFO] [stderr] 162 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ser` [INFO] [stderr] --> src/http_service.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | let ser = fac.new_service(()); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ser` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `http-server` (bin "http-server" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/http_server-68c34d12cdde6b85) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test route::tests::route ... ok [INFO] [stdout] test app::tests::app ... FAILED [INFO] [stdout] test resource::tests::resource ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- app::tests::app stdout ---- [INFO] [stdout] thread 'app::tests::app' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `3`, [INFO] [stdout] right: `1`', src/app.rs:94:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55dcfc545fc0 - std::backtrace_rs::backtrace::libunwind::trace::h2c3bc9c840656a34 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 1: 0x55dcfc545fc0 - std::backtrace_rs::backtrace::trace_unsynchronized::h0a70f522b5a3463e [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55dcfc545fc0 - std::sys_common::backtrace::_print_fmt::he249a79bec407477 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55dcfc545fc0 - ::fmt::ha9d1970820f5c713 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55dcfc56909c - core::fmt::write::hc4fc655621d59c6c [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x55dcfc542825 - std::io::Write::write_fmt::h766156bfd5935712 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x55dcfc547a81 - std::sys_common::backtrace::_print::hfbedb7d14540afb9 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55dcfc547a81 - std::sys_common::backtrace::print::h1d12b345ae925adb [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55dcfc547a81 - std::panicking::default_hook::{{closure}}::hbfa91b7f831744dd [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55dcfc5476d8 - std::panicking::default_hook::h5186cc1a78166015 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55dcfc54814d - std::panicking::rust_panic_with_hook::h1b346e6d62a347dd [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55dcfc548017 - std::panicking::begin_panic_handler::{{closure}}::hc131d07490c3ebd7 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55dcfc546494 - std::sys_common::backtrace::__rust_end_short_backtrace::hd18b4525708c825e [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55dcfc547d42 - rust_begin_unwind [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55dcfc3123b3 - core::panicking::panic_fmt::h2bdc1e1473e094d6 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x55dcfc567b88 - core::panicking::assert_failed_inner::h141b6b1fd67e8cea [INFO] [stdout] 16: 0x55dcfc3f03da - core::panicking::assert_failed::h5cd02390749c9cdf [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/core/src/panicking.rs:181:5 [INFO] [stdout] 17: 0x55dcfc34d5d2 - http_server::app::tests::app::hd65ebb4aa84a8e44 [INFO] [stdout] at /opt/rustwide/workdir/src/app.rs:94:9 [INFO] [stdout] 18: 0x55dcfc34d49a - http_server::app::tests::app::{{closure}}::h59c3b50083e00aea [INFO] [stdout] at /opt/rustwide/workdir/src/app.rs:82:5 [INFO] [stdout] 19: 0x55dcfc31b12e - core::ops::function::FnOnce::call_once::h4d6843fc9c06ebf1 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 20: 0x55dcfc389883 - core::ops::function::FnOnce::call_once::hfa464e74fccacfdb [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 21: 0x55dcfc389883 - test::__rust_begin_short_backtrace::h2b9d08a5d60802a7 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/test/src/lib.rs:573:5 [INFO] [stdout] 22: 0x55dcfc3885dd - as core::ops::function::FnOnce>::call_once::h11665ca350597984 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 23: 0x55dcfc3885dd - as core::ops::function::FnOnce<()>>::call_once::h1dd74fd619996a6d [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55dcfc3885dd - std::panicking::try::do_call::h545949b41f3cafdf [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55dcfc3885dd - std::panicking::try::h8a4eee9e99747cca [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55dcfc3885dd - std::panic::catch_unwind::h7a2d4c4bb98e2a33 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55dcfc3885dd - test::run_test_in_process::h43cdbd88d3031d2d [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/test/src/lib.rs:596:18 [INFO] [stdout] 28: 0x55dcfc3885dd - test::run_test::run_test_inner::{{closure}}::h7a35ff2a2ef1be40 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/test/src/lib.rs:490:39 [INFO] [stdout] 29: 0x55dcfc35443c - test::run_test::run_test_inner::{{closure}}::h99fa578161f25342 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/test/src/lib.rs:517:37 [INFO] [stdout] 30: 0x55dcfc35443c - std::sys_common::backtrace::__rust_begin_short_backtrace::h51d96e3583c91997 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55dcfc35a5ef - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h901e06481c3928e8 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/thread/mod.rs:500:17 [INFO] [stdout] 32: 0x55dcfc35a5ef - as core::ops::function::FnOnce<()>>::call_once::h2ab169c9508acc57 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55dcfc35a5ef - std::panicking::try::do_call::hf0f60551a514f390 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55dcfc35a5ef - std::panicking::try::h50e945932a8cf417 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55dcfc35a5ef - std::panic::catch_unwind::hfd1bd35215287444 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55dcfc35a5ef - std::thread::Builder::spawn_unchecked_::{{closure}}::h79c8bb59e9e6d53e [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/thread/mod.rs:499:30 [INFO] [stdout] 37: 0x55dcfc35a5ef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc427cbf183995ee4 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 38: 0x55dcfc54c6f3 - as core::ops::function::FnOnce>::call_once::h03e1f93a163dfab7 [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 39: 0x55dcfc54c6f3 - as core::ops::function::FnOnce>::call_once::h498bd6c4b6ddeafc [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 40: 0x55dcfc54c6f3 - std::sys::unix::thread::Thread::new::thread_start::h36a191afeb7eed3f [INFO] [stdout] at /rustc/c3758fdc4730d7700b25a13cccff296a08f42c00/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f5e0e934609 - start_thread [INFO] [stdout] 42: 0x7f5e0e704163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] app::tests::app [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin http-server' [INFO] running `Command { std: "docker" "inspect" "2f2c360dd4fd61185e8f3b8bcebecaa5165d7df28824eae28d7d04db00bbcd02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f2c360dd4fd61185e8f3b8bcebecaa5165d7df28824eae28d7d04db00bbcd02", kill_on_drop: false }` [INFO] [stdout] 2f2c360dd4fd61185e8f3b8bcebecaa5165d7df28824eae28d7d04db00bbcd02