[INFO] cloning repository https://github.com/brooks-builds/axum_assessment_guarded_mirror [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brooks-builds/axum_assessment_guarded_mirror" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrooks-builds%2Faxum_assessment_guarded_mirror", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrooks-builds%2Faxum_assessment_guarded_mirror'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ad4d6e5a1c562c4794b1dae1b128acc8e23ee01 [INFO] testing brooks-builds/axum_assessment_guarded_mirror/1ad4d6e5a1c562c4794b1dae1b128acc8e23ee01 against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrooks-builds%2Faxum_assessment_guarded_mirror" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/brooks-builds/axum_assessment_guarded_mirror [INFO] finished tweaking git repo https://github.com/brooks-builds/axum_assessment_guarded_mirror [INFO] tweaked toml for git repo https://github.com/brooks-builds/axum_assessment_guarded_mirror written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/brooks-builds/axum_assessment_guarded_mirror on toolchain 1ef7943ee607160a564655b6596f83670ef95df5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/brooks-builds/axum_assessment_guarded_mirror already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum v0.6.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0015ef755800aa8f3ba536665199b2d0f225a7390387dd301edd587ae2555c8d [INFO] running `Command { std: "docker" "start" "-a" "0015ef755800aa8f3ba536665199b2d0f225a7390387dd301edd587ae2555c8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0015ef755800aa8f3ba536665199b2d0f225a7390387dd301edd587ae2555c8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0015ef755800aa8f3ba536665199b2d0f225a7390387dd301edd587ae2555c8d", kill_on_drop: false }` [INFO] [stdout] 0015ef755800aa8f3ba536665199b2d0f225a7390387dd301edd587ae2555c8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7506b58652e7a76778a52727263b1b4ec6adacc82c84194925636790a1b8744 [INFO] running `Command { std: "docker" "start" "-a" "a7506b58652e7a76778a52727263b1b4ec6adacc82c84194925636790a1b8744", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling async-trait v0.1.71 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.19 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling matchit v0.7.0 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling pin-project v1.1.2 [INFO] [stderr] Compiling tower-http v0.4.1 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling validator v0.16.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling axum_assessment_guarded_mirror v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.20s [INFO] running `Command { std: "docker" "inspect" "a7506b58652e7a76778a52727263b1b4ec6adacc82c84194925636790a1b8744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7506b58652e7a76778a52727263b1b4ec6adacc82c84194925636790a1b8744", kill_on_drop: false }` [INFO] [stdout] a7506b58652e7a76778a52727263b1b4ec6adacc82c84194925636790a1b8744 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b074e204de8d5dfa036837528dcfe2c71613b88958d7ae30fd91fc12550087b [INFO] running `Command { std: "docker" "start" "-a" "6b074e204de8d5dfa036837528dcfe2c71613b88958d7ae30fd91fc12550087b", kill_on_drop: false }` [INFO] [stderr] Compiling axum_assessment_guarded_mirror v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.33s [INFO] running `Command { std: "docker" "inspect" "6b074e204de8d5dfa036837528dcfe2c71613b88958d7ae30fd91fc12550087b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b074e204de8d5dfa036837528dcfe2c71613b88958d7ae30fd91fc12550087b", kill_on_drop: false }` [INFO] [stdout] 6b074e204de8d5dfa036837528dcfe2c71613b88958d7ae30fd91fc12550087b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 27c54c445b3ae5ec4a91f259bf6dee36da24de8adcb209e99d9453b378551cf7 [INFO] running `Command { std: "docker" "start" "-a" "27c54c445b3ae5ec4a91f259bf6dee36da24de8adcb209e99d9453b378551cf7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/axum_assessment_guarded_mirror-f343b1e11aa72d9d) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/axum_assessment_guarded_mirror-e8dae1627a503274) [INFO] [stdout] [INFO] [stderr] Running tests/assessment.rs (/opt/rustwide/target/debug/deps/assessment-45104e92f46125b3) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test mirrors_validated_json ... FAILED [INFO] [stdout] test responds_with_400_when_nothing_is_passed_in ... FAILED [INFO] [stdout] test not_guard_unrelated_route ... FAILED [INFO] [stdout] test responds_with_400_when_required_part_of_json_is_not_passed_in ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- mirrors_validated_json stdout ---- [INFO] [stdout] Error: error sending request for url (http://localhost:3000/mirror): error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] 1: tcp connect error: Connection refused (os error 111) [INFO] [stdout] 2: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Location: [INFO] [stdout] tests/assessment.rs:17:20 [INFO] [stdout] [INFO] [stdout] ---- responds_with_400_when_nothing_is_passed_in stdout ---- [INFO] [stdout] Error: error sending request for url (http://localhost:3000/mirror): error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] 1: tcp connect error: Connection refused (os error 111) [INFO] [stdout] 2: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Location: [INFO] [stdout] tests/assessment.rs:34:20 [INFO] [stdout] [INFO] [stdout] ---- not_guard_unrelated_route stdout ---- [INFO] [stdout] Error: error sending request for url (http://localhost:3000/unrelated): error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] 1: tcp connect error: Connection refused (os error 111) [INFO] [stdout] 2: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Location: [INFO] [stdout] tests/assessment.rs:46:20 [INFO] [stdout] [INFO] [stdout] ---- responds_with_400_when_required_part_of_json_is_not_passed_in stdout ---- [INFO] [stdout] Error: error sending request for url (http://localhost:3000/mirror): error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] 1: tcp connect error: Connection refused (os error 111) [INFO] [stdout] 2: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Location: [INFO] [stdout] tests/assessment.rs:62:20 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] mirrors_validated_json [INFO] [stdout] not_guard_unrelated_route [INFO] [stdout] responds_with_400_when_nothing_is_passed_in [INFO] [stdout] responds_with_400_when_required_part_of_json_is_not_passed_in [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test assessment` [INFO] running `Command { std: "docker" "inspect" "27c54c445b3ae5ec4a91f259bf6dee36da24de8adcb209e99d9453b378551cf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27c54c445b3ae5ec4a91f259bf6dee36da24de8adcb209e99d9453b378551cf7", kill_on_drop: false }` [INFO] [stdout] 27c54c445b3ae5ec4a91f259bf6dee36da24de8adcb209e99d9453b378551cf7