[INFO] cloning repository https://github.com/kanztu/rust-http-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kanztu/rust-http-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanztu%2Frust-http-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanztu%2Frust-http-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 661fbec9db9de4ebb1fc75369b519cc8d263e333 [INFO] testing kanztu/rust-http-api against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanztu%2Frust-http-api" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kanztu/rust-http-api on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kanztu/rust-http-api [INFO] finished tweaking git repo https://github.com/kanztu/rust-http-api [INFO] tweaked toml for git repo https://github.com/kanztu/rust-http-api written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kanztu/rust-http-api 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b17002cc85ca14e98670603d82615f8fd643c3c229eebe49eaa99334130a48c [INFO] running `Command { std: "docker" "start" "-a" "6b17002cc85ca14e98670603d82615f8fd643c3c229eebe49eaa99334130a48c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b17002cc85ca14e98670603d82615f8fd643c3c229eebe49eaa99334130a48c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b17002cc85ca14e98670603d82615f8fd643c3c229eebe49eaa99334130a48c", kill_on_drop: false }` [INFO] [stdout] 6b17002cc85ca14e98670603d82615f8fd643c3c229eebe49eaa99334130a48c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 336939f1db62132b14728c03d05d8009e4ff1ec06f8fd72664b7513fbf908df0 [INFO] running `Command { std: "docker" "start" "-a" "336939f1db62132b14728c03d05d8009e4ff1ec06f8fd72664b7513fbf908df0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling brotli-decompressor v4.0.0 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling http-range-header v0.4.1 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling iri-string v0.7.2 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling brotli v5.0.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling inherent v1.0.11 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling sea-bae v0.2.0 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling sea-orm-macros v0.12.15 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ouroboros v0.17.2 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling async-compression v0.4.9 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling sea-query v0.30.7 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling sea-query-binder v0.5.0 [INFO] [stderr] Compiling sea-orm v0.12.15 [INFO] [stderr] Compiling rust-http-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/state/app_state.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | pub user_service: services::user::User, [INFO] [stdout] 6 | pub db: DatabaseConnection, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "336939f1db62132b14728c03d05d8009e4ff1ec06f8fd72664b7513fbf908df0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "336939f1db62132b14728c03d05d8009e4ff1ec06f8fd72664b7513fbf908df0", kill_on_drop: false }` [INFO] [stdout] 336939f1db62132b14728c03d05d8009e4ff1ec06f8fd72664b7513fbf908df0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd74b7b8079942fdb3222957ac860ad9808719548aec39d6d65efb242008ee00 [INFO] running `Command { std: "docker" "start" "-a" "fd74b7b8079942fdb3222957ac860ad9808719548aec39d6d65efb242008ee00", kill_on_drop: false }` [INFO] [stderr] Compiling rust-http-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/state/app_state.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | pub user_service: services::user::User, [INFO] [stdout] 6 | pub db: DatabaseConnection, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "fd74b7b8079942fdb3222957ac860ad9808719548aec39d6d65efb242008ee00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd74b7b8079942fdb3222957ac860ad9808719548aec39d6d65efb242008ee00", kill_on_drop: false }` [INFO] [stdout] fd74b7b8079942fdb3222957ac860ad9808719548aec39d6d65efb242008ee00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d334ebe9f42d510c6812beb43a89e5ebc084f9b5272d758694eaffb383019a14 [INFO] running `Command { std: "docker" "start" "-a" "d334ebe9f42d510c6812beb43a89e5ebc084f9b5272d758694eaffb383019a14", kill_on_drop: false }` [INFO] [stderr] warning: field `db` is never read [INFO] [stderr] --> src/state/app_state.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct AppState { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 5 | pub user_service: services::user::User, [INFO] [stderr] 6 | pub db: DatabaseConnection, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-http-api` (bin "rust-http-api" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_http_api-cae2d588a97bd97a) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test services::user_test::test_create_user ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d334ebe9f42d510c6812beb43a89e5ebc084f9b5272d758694eaffb383019a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d334ebe9f42d510c6812beb43a89e5ebc084f9b5272d758694eaffb383019a14", kill_on_drop: false }` [INFO] [stdout] d334ebe9f42d510c6812beb43a89e5ebc084f9b5272d758694eaffb383019a14