[INFO] fetching crate teststack-macros 0.1.0... [INFO] testing teststack-macros-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate teststack-macros 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate teststack-macros 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate teststack-macros 0.1.0 [INFO] tweaked toml for crates.io crate teststack-macros 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate teststack-macros 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate teststack-macros 0.1.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20c41bf7215b8638526c9d25695d8112387cf545cb35b2d006d4c0de76a7b223 [INFO] running `Command { std: "docker" "start" "-a" "20c41bf7215b8638526c9d25695d8112387cf545cb35b2d006d4c0de76a7b223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20c41bf7215b8638526c9d25695d8112387cf545cb35b2d006d4c0de76a7b223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20c41bf7215b8638526c9d25695d8112387cf545cb35b2d006d4c0de76a7b223", kill_on_drop: false }` [INFO] [stdout] 20c41bf7215b8638526c9d25695d8112387cf545cb35b2d006d4c0de76a7b223 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cebd55b9e2037b506d8e30dd412df360b96187644a0da8435e6ee6916c15ad5 [INFO] running `Command { std: "docker" "start" "-a" "1cebd55b9e2037b506d8e30dd412df360b96187644a0da8435e6ee6916c15ad5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling teststack-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.81s [INFO] running `Command { std: "docker" "inspect" "1cebd55b9e2037b506d8e30dd412df360b96187644a0da8435e6ee6916c15ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cebd55b9e2037b506d8e30dd412df360b96187644a0da8435e6ee6916c15ad5", kill_on_drop: false }` [INFO] [stdout] 1cebd55b9e2037b506d8e30dd412df360b96187644a0da8435e6ee6916c15ad5 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15b5759e2324af037ad7b97750817b70200b3307da9be47dc8402e982f3fb065 [INFO] running `Command { std: "docker" "start" "-a" "15b5759e2324af037ad7b97750817b70200b3307da9be47dc8402e982f3fb065", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling libm v0.2.13 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling flagset v0.4.7 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling oid-registry v0.8.1 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling scrypt v0.11.0 [INFO] [stderr] Compiling aws-lc-sys v0.29.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling des v0.8.1 [INFO] [stderr] Compiling rc2 v0.8.1 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling cookie-factory v0.3.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling etcetera v0.10.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling amq-protocol v8.1.2 [INFO] [stderr] Compiling lapin v3.0.0 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling der_derive v0.7.3 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling asn1-rs-derive v0.6.0 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling teststack-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling asn1-rs v0.7.1 [INFO] [stderr] Compiling executor-trait v2.1.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling x509-cert v0.2.5 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling pkcs5 v0.7.1 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling parse-display-derive v0.9.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling der-parser v10.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling cms v0.2.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling parse-display v0.9.1 [INFO] [stderr] Compiling x509-parser v0.17.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling pkcs12 v0.1.0 [INFO] [stderr] Compiling p12-keystore v0.1.5 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling rstest v0.25.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling docker_credential v1.3.1 [INFO] [stderr] Compiling amq-protocol-types v8.1.2 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling amq-protocol-uri v8.1.2 [INFO] [stderr] Compiling bollard-stubs v1.47.1-rc.27.3.1 [INFO] [stderr] Compiling hyperlocal v0.9.1 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling xattr v1.5.0 [INFO] [stderr] Compiling tokio-tar v0.3.1 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling sqlx-postgres v0.8.5 [INFO] [stderr] Compiling sqlx-mysql v0.8.5 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling reactor-trait v2.0.0 [INFO] [stderr] Compiling async-global-executor v3.1.0 [INFO] [stderr] Compiling async-reactor-trait v2.0.0 [INFO] [stderr] Compiling async-global-executor-trait v2.2.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.5 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling rustls-connector v0.21.7 [INFO] [stderr] Compiling tcp-stream v0.30.1 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling amq-protocol-tcp v8.1.2 [INFO] [stderr] Compiling sqlx-macros v0.8.5 [INFO] [stderr] Compiling bollard v0.18.1 [INFO] [stderr] Compiling sqlx v0.8.5 [INFO] [stderr] Compiling testcontainers v0.24.0 [INFO] [stderr] Compiling testcontainers-modules v0.12.0 [INFO] [stdout] error: functions used as tests can not have any arguments [INFO] [stdout] --> tests/tokio.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | async fn test(pool: PgPool) { [INFO] [stdout] | _______^ [INFO] [stdout] 7 | | let db_name: String = sqlx::query_scalar("SELECT current_database()") [INFO] [stdout] 8 | | .fetch_one(&pool) [INFO] [stdout] 9 | | .await [INFO] [stdout] 10 | | .unwrap(); [INFO] [stdout] 11 | | assert_eq!(db_name, "test"); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: functions used as tests can not have any arguments [INFO] [stdout] --> tests/init.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | async fn test(conf: TestConfig, rabbit: RabbitConnection) { [INFO] [stdout] | _______^ [INFO] [stdout] 10 | | let pool = sqlx::PgPool::connect(conf.url.as_str()) [INFO] [stdout] 11 | | .await [INFO] [stdout] 12 | | .expect("failed to connect to database"); [INFO] [stdout] ... | [INFO] [stdout] 20 | | .expect("failed to create channel"); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `teststack` [INFO] [stdout] --> tests/sqlx.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use teststack::stack; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `teststack` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `teststack`, use `cargo add teststack` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `teststack` [INFO] [stdout] --> tests/tokio.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use teststack::stack; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `teststack` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `teststack`, use `cargo add teststack` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `teststack` [INFO] [stdout] --> tests/init.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use teststack::DbContainer; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `teststack` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `teststack`, use `cargo add teststack` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `teststack` [INFO] [stdout] --> tests/init.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use teststack::{stack, ContainerPort, CustomContainer}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `teststack` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `teststack`, use `cargo add teststack` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `teststack` [INFO] [stdout] --> tests/rstest.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use teststack::{stack, DbContainer}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `teststack` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `teststack`, use `cargo add teststack` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `teststack-macros` (test "sqlx") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `teststack-macros` (test "tokio") due to 2 previous errors [INFO] [stdout] warning: unused import: `testcontainers_modules::rabbitmq::RabbitMq` [INFO] [stdout] --> tests/init.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use testcontainers_modules::rabbitmq::RabbitMq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `container` [INFO] [stdout] --> tests/rstest.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | async fn test(container: DbContainer) { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `container` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `container`, use `cargo add container` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pool` [INFO] [stdout] --> tests/rstest.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | async fn test_pgpool(pool: sqlx::PgPool) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `pool` [INFO] [stdout] | help: a builtin type with a similar name exists: `bool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pool`, use `cargo add pool` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `teststack` [INFO] [stdout] --> tests/init.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | impl teststack::Init for DbContainer { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `teststack` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `teststack`, use `cargo add teststack` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `teststack` [INFO] [stdout] --> tests/init.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | impl teststack::Init for CustomContainer { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `teststack` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `teststack`, use `cargo add teststack` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `teststack-macros` (test "init") due to 5 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `teststack-macros` (test "rstest") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "15b5759e2324af037ad7b97750817b70200b3307da9be47dc8402e982f3fb065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15b5759e2324af037ad7b97750817b70200b3307da9be47dc8402e982f3fb065", kill_on_drop: false }` [INFO] [stdout] 15b5759e2324af037ad7b97750817b70200b3307da9be47dc8402e982f3fb065