[INFO] cloning repository https://github.com/Saref111/rust-microsevices [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Saref111/rust-microsevices" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaref111%2Frust-microsevices", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaref111%2Frust-microsevices'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3c282dfcd6eeaa5b403e974fe818554cb930b74 [INFO] testing Saref111/rust-microsevices against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaref111%2Frust-microsevices" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Saref111/rust-microsevices [INFO] finished tweaking git repo https://github.com/Saref111/rust-microsevices [INFO] tweaked toml for git repo https://github.com/Saref111/rust-microsevices written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Saref111/rust-microsevices on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Saref111/rust-microsevices 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tonic-build v0.9.2 [INFO] [stderr] Downloaded homedir v0.2.1 [INFO] [stderr] Downloaded clap v4.4.10 [INFO] [stderr] Downloaded wmi v0.13.1 [INFO] [stderr] Downloaded tonic v0.9.2 [INFO] [stderr] Downloaded clap_builder v4.4.9 [INFO] [stderr] Downloaded rustix v0.38.25 [INFO] [stderr] Downloaded linux-raw-sys v0.4.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6fccbada99718f21ec56eb8b8baed863903ab8a153280573e0c5434092689c5 [INFO] running `Command { std: "docker" "start" "-a" "e6fccbada99718f21ec56eb8b8baed863903ab8a153280573e0c5434092689c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6fccbada99718f21ec56eb8b8baed863903ab8a153280573e0c5434092689c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6fccbada99718f21ec56eb8b8baed863903ab8a153280573e0c5434092689c5", kill_on_drop: false }` [INFO] [stdout] e6fccbada99718f21ec56eb8b8baed863903ab8a153280573e0c5434092689c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fa7ae9bd64751240b2828381ec3c57ae15332bbb6a98d9501fc0298711a9966 [INFO] running `Command { std: "docker" "start" "-a" "8fa7ae9bd64751240b2828381ec3c57ae15332bbb6a98d9501fc0298711a9966", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling clap_builder v4.4.9 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling homedir v0.2.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling clap v4.4.10 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling tonic-build v0.9.2 [INFO] [stderr] Compiling microservice-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.9.2 [INFO] [stdout] warning: method `delete_user` is never used [INFO] [stdout] --> src/auth-service/users.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Users { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn delete_user(&mut self, user_uuid: String); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.84s [INFO] running `Command { std: "docker" "inspect" "8fa7ae9bd64751240b2828381ec3c57ae15332bbb6a98d9501fc0298711a9966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fa7ae9bd64751240b2828381ec3c57ae15332bbb6a98d9501fc0298711a9966", kill_on_drop: false }` [INFO] [stdout] 8fa7ae9bd64751240b2828381ec3c57ae15332bbb6a98d9501fc0298711a9966 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abab96e2a727710b4fbbc61b5681c23f9c4c9b268618217b42ccce0a50ee5a21 [INFO] running `Command { std: "docker" "start" "-a" "abab96e2a727710b4fbbc61b5681c23f9c4c9b268618217b42ccce0a50ee5a21", kill_on_drop: false }` [INFO] [stderr] Compiling microservice-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "abab96e2a727710b4fbbc61b5681c23f9c4c9b268618217b42ccce0a50ee5a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abab96e2a727710b4fbbc61b5681c23f9c4c9b268618217b42ccce0a50ee5a21", kill_on_drop: false }` [INFO] [stdout] abab96e2a727710b4fbbc61b5681c23f9c4c9b268618217b42ccce0a50ee5a21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aff1ef814ab47de7a2a79ae35631a41a10a59b5695359dab73381882d1f3f084 [INFO] running `Command { std: "docker" "start" "-a" "aff1ef814ab47de7a2a79ae35631a41a10a59b5695359dab73381882d1f3f084", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stdout] [INFO] [stderr] Running unittests src/auth-service/main.rs (/opt/rustwide/target/debug/deps/auth-335d9668c36c6923) [INFO] [stdout] running 13 tests [INFO] [stdout] test auth::tests::sign_in_should_fail_if_user_not_found ... ok [INFO] [stdout] test sessions::tests::should_create_session ... ok [INFO] [stdout] test auth::tests::sign_out_should_succeed ... ok [INFO] [stdout] test sessions::tests::should_delete_session ... ok [INFO] [stdout] test auth::tests::sign_up_should_succeed ... ok [INFO] [stdout] test users::tests::should_fail_creating_user_with_existing_username ... ok [INFO] [stdout] test users::tests::should_create_user ... ok [INFO] [stdout] test auth::tests::sign_up_should_fail_if_username_exists ... ok [INFO] [stdout] test auth::tests::sign_in_should_succeed ... ok [INFO] [stdout] test users::tests::should_retrieve_user_uuid ... ok [INFO] [stdout] test auth::tests::sign_in_should_fail_if_incorrect_password ... ok [INFO] [stdout] test users::tests::should_fail_to_retrieve_user_uuid_with_incorrect_password ... ok [INFO] [stdout] test users::tests::should_delete_user ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 33.87s [INFO] [stdout] [INFO] [stderr] Running unittests src/client/main.rs (/opt/rustwide/target/debug/deps/client-7568461991ed606d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/health-check-service/main.rs (/opt/rustwide/target/debug/deps/health_check-b8edebbde73d70df) [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 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] running `Command { std: "docker" "inspect" "aff1ef814ab47de7a2a79ae35631a41a10a59b5695359dab73381882d1f3f084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aff1ef814ab47de7a2a79ae35631a41a10a59b5695359dab73381882d1f3f084", kill_on_drop: false }` [INFO] [stdout] aff1ef814ab47de7a2a79ae35631a41a10a59b5695359dab73381882d1f3f084