[INFO] cloning repository https://github.com/rmad17/zero2prod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rmad17/zero2prod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmad17%2Fzero2prod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmad17%2Fzero2prod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6046a41652b99f0dbcfc9f824f651880437fcb2 [INFO] testing rmad17/zero2prod against 1.98.0-beta.6+cargoflags=--release for beta-1.98-release-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmad17%2Fzero2prod" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rmad17/zero2prod [INFO] finished tweaking git repo https://github.com/rmad17/zero2prod [INFO] tweaked toml for git repo https://github.com/rmad17/zero2prod written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rmad17/zero2prod on toolchain 1.98.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rmad17/zero2prod 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" "+1.98.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b4b83f06e7380980e0680abde309c8c333a2827661ff7e6e1d2253d0e405e0e4 [INFO] running `Command { std: "docker" "start" "b4b83f06e7380980e0680abde309c8c333a2827661ff7e6e1d2253d0e405e0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4b83f06e7380980e0680abde309c8c333a2827661ff7e6e1d2253d0e405e0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b4b83f06e7380980e0680abde309c8c333a2827661ff7e6e1d2253d0e405e0e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4b83f06e7380980e0680abde309c8c333a2827661ff7e6e1d2253d0e405e0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b4b83f06e7380980e0680abde309c8c333a2827661ff7e6e1d2253d0e405e0e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling libm v0.2.13 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rust_decimal v1.37.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling bytesize v2.0.1 [INFO] [stderr] Compiling auto-future v1.0.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling inherent v1.0.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling sea-schema-derive v0.3.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling sea-orm-macros v1.1.10 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling sea-query-derive v0.4.3 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling reserve-port v2.2.0 [INFO] [stderr] Compiling rust-multipart-rfc7578_2 v0.8.0 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling h2 v0.4.9 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sea-query v0.32.4 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling sea-schema v0.16.1 [INFO] [stderr] Compiling sqlx-postgres v0.8.5 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling sea-orm-cli v1.1.10 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling axum v0.8.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling sqlx v0.8.5 [INFO] [stderr] Compiling sea-query-binder v0.7.0 [INFO] [stderr] Compiling sea-orm v1.1.10 [INFO] [stderr] Compiling axum-test v17.3.0 [INFO] [stderr] Compiling sea-orm-migration v1.1.10 [INFO] [stderr] Compiling migration v0.1.0 (/opt/rustwide/workdir/migration) [INFO] [stderr] Compiling zero2prod v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DbConn` [INFO] [stdout] --> src/lib.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use sea_orm::{Database, DbConn}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2m 44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b4b83f06e7380980e0680abde309c8c333a2827661ff7e6e1d2253d0e405e0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b4b83f06e7380980e0680abde309c8c333a2827661ff7e6e1d2253d0e405e0e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `DbConn` [INFO] [stdout] --> src/lib.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use sea_orm::{Database, DbConn}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zero2prod v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DbConn` [INFO] [stdout] --> src/lib.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use sea_orm::{Database, DbConn}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 5.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b4b83f06e7380980e0680abde309c8c333a2827661ff7e6e1d2253d0e405e0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b4b83f06e7380980e0680abde309c8c333a2827661ff7e6e1d2253d0e405e0e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `DbConn` [INFO] [stderr] --> src/lib.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | use sea_orm::{Database, DbConn}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `zero2prod` (lib) generated 1 warning (run `cargo fix --lib -p zero2prod` to apply 1 suggestion) [INFO] [stderr] warning: `zero2prod` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/zero2prod-8b1875b5d80793fc) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/zero2prod-e6895cd9489933dd) [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] [stderr] Running tests/api.rs (/opt/rustwide/target/release/deps/api-d23abd3a7e6dbf50) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test subscribe_returns_a_200_for_valid_form_data ... ok [INFO] [stdout] test test_health_check_api ... ok [INFO] [stdout] test subscribe_returns_a_400_for_invalid_form_data ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- subscribe_returns_a_400_for_invalid_form_data stdout ---- [INFO] [stdout] Using address : http://127.0.0.1:37305 [INFO] [stdout] Content: {"content-type": "application/x-www-form-urlencoded"} [INFO] [stdout] [INFO] [stdout] thread 'subscribe_returns_a_400_for_invalid_form_data' (5379) panicked at tests/api.rs:63:14: [INFO] [stdout] assertion failed: `(left == right)`: Expected status code to be 400 (Bad Request), received 200 (OK), for request POST http://127.0.0.1:37305/subscribe, with body 'Congratulations !' [INFO] [stdout] [INFO] [stdout] Diff < left / right > : [INFO] [stdout] <400 [INFO] [stdout] >200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5fa85ba371b1 - <::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5fa85ba4fd2a - core[812a354ff5be3162]::fmt::write [INFO] [stdout] 2: 0x5fa85ba3c57c - as std[93043b772a62376c]::io::Write>::write_fmt [INFO] [stdout] 3: 0x5fa85ba139f6 - std[93043b772a62376c]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5fa85ba2e9f9 - std[93043b772a62376c]::panicking::default_hook [INFO] [stdout] 5: 0x5fa85b8c9af0 - test[8de0c696b8e66f4f]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5fa85ba2ed22 - std[93043b772a62376c]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5fa85ba13aa2 - std[93043b772a62376c]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5fa85ba0ab39 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5fa85ba14a3d - __rustc[9fcb67b4460bf95]::rust_begin_unwind [INFO] [stdout] 10: 0x5fa85ba5048c - core[812a354ff5be3162]::panicking::panic_fmt [INFO] [stdout] 11: 0x5fa85b91a898 - ::assert_status_bad_request [INFO] [stdout] 12: 0x5fa85b634b87 - api[206d0ec5d46eca80]::subscribe_returns_a_400_for_invalid_form_data::{closure#0} [INFO] [stdout] 13: 0x5fa85b697068 - >::set::<::enter<::block_on>>>::{closure#0}, core[812a354ff5be3162]::option::Option<()>>::{closure#0}, (alloc[9902a75dd20b7c99]::boxed::Box, core[812a354ff5be3162]::option::Option<()>)> [INFO] [stdout] 14: 0x5fa85b697792 - ::block_on::>> [INFO] [stdout] 15: 0x5fa85b64e872 - ::block_on::>> [INFO] [stdout] 16: 0x5fa85b63e39e - >::call_once [INFO] [stdout] 17: 0x5fa85b8bce2b - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>> [INFO] [stdout] 18: 0x5fa85b8ca475 - test[8de0c696b8e66f4f]::run_test::{closure#0} [INFO] [stdout] 19: 0x5fa85b8c4f24 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 20: 0x5fa85b8cd5c2 - ::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 21: 0x5fa85ba3668f - ::new::thread_start [INFO] [stdout] 22: 0x735de448807a - [INFO] [stdout] 23: 0x735de451b534 - clone [INFO] [stdout] 24: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] subscribe_returns_a_400_for_invalid_form_data [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test api` [INFO] running `Command { std: "docker" "inspect" "b4b83f06e7380980e0680abde309c8c333a2827661ff7e6e1d2253d0e405e0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b83f06e7380980e0680abde309c8c333a2827661ff7e6e1d2253d0e405e0e4", kill_on_drop: false }` [INFO] [stdout] b4b83f06e7380980e0680abde309c8c333a2827661ff7e6e1d2253d0e405e0e4