[INFO] cloning repository https://github.com/jgaribaldi/hapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jgaribaldi/hapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgaribaldi%2Fhapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgaribaldi%2Fhapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a78ff5db556b600728ac9d0bc4f05cb90c7a08f8 [INFO] testing jgaribaldi/hapi against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgaribaldi%2Fhapi" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jgaribaldi/hapi on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jgaribaldi/hapi [INFO] finished tweaking git repo https://github.com/jgaribaldi/hapi [INFO] tweaked toml for git repo https://github.com/jgaribaldi/hapi written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/jgaribaldi/hapi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42922f6d250ef1abaacf2146e288eeb4f8659b5f2a275aed85377f62c518bc41 [INFO] running `Command { std: "docker" "start" "-a" "42922f6d250ef1abaacf2146e288eeb4f8659b5f2a275aed85377f62c518bc41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42922f6d250ef1abaacf2146e288eeb4f8659b5f2a275aed85377f62c518bc41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42922f6d250ef1abaacf2146e288eeb4f8659b5f2a275aed85377f62c518bc41", kill_on_drop: false }` [INFO] [stdout] 42922f6d250ef1abaacf2146e288eeb4f8659b5f2a275aed85377f62c518bc41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57cf8d294f7f33a6c0d8de83a9f305bae7217d1e0cf7e448ba2c1cba33f23b4c [INFO] running `Command { std: "docker" "start" "-a" "57cf8d294f7f33a6c0d8de83a9f305bae7217d1e0cf7e448ba2c1cba33f23b4c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling num_threads v0.1.4 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling simple_logger v2.1.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling hapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `build_from_routes` [INFO] [stdout] --> src/model/context.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn build_from_routes(routes: Vec, upstream_strategy: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/model/upstream_strategy.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn build() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.36s [INFO] running `Command { std: "docker" "inspect" "57cf8d294f7f33a6c0d8de83a9f305bae7217d1e0cf7e448ba2c1cba33f23b4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57cf8d294f7f33a6c0d8de83a9f305bae7217d1e0cf7e448ba2c1cba33f23b4c", kill_on_drop: false }` [INFO] [stdout] 57cf8d294f7f33a6c0d8de83a9f305bae7217d1e0cf7e448ba2c1cba33f23b4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12b899ab332565a0b3470b14b8eb363da866543421baa78c312d2017c7d5ba52 [INFO] running `Command { std: "docker" "start" "-a" "12b899ab332565a0b3470b14b8eb363da866543421baa78c312d2017c7d5ba52", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling hapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.74s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/hapi-19050a4fb41fd7e3) [INFO] running `Command { std: "docker" "inspect" "12b899ab332565a0b3470b14b8eb363da866543421baa78c312d2017c7d5ba52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12b899ab332565a0b3470b14b8eb363da866543421baa78c312d2017c7d5ba52", kill_on_drop: false }` [INFO] [stdout] 12b899ab332565a0b3470b14b8eb363da866543421baa78c312d2017c7d5ba52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 18707319fae0ebd084849c1434701936b159842032734b17f30dd601329d1f71 [INFO] running `Command { std: "docker" "start" "-a" "18707319fae0ebd084849c1434701936b159842032734b17f30dd601329d1f71", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hapi-19050a4fb41fd7e3) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test model::upstream_strategy::tests::should_return_first_in_two_calls ... ok [INFO] [stdout] test model::upstream_strategy::tests::should_return_upstreams_in_round_robin ... ok [INFO] [stdout] test model::context::tests::should_create_context_from_routes ... ok [INFO] [stdout] test model::upstream_strategy::tests::should_return_always_the_same_value_in_round_robin ... ok [INFO] [stdout] test model::context::tests::should_find_upstream_for_get ... ok [INFO] [stdout] test model::context::tests::should_register_route ... ok [INFO] [stdout] test model::context::tests::should_not_find_upstream_for_unknown_uri ... ok [INFO] [stdout] test model::context::tests::should_not_find_upstream_for_post ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "18707319fae0ebd084849c1434701936b159842032734b17f30dd601329d1f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18707319fae0ebd084849c1434701936b159842032734b17f30dd601329d1f71", kill_on_drop: false }` [INFO] [stdout] 18707319fae0ebd084849c1434701936b159842032734b17f30dd601329d1f71