[INFO] cloning repository https://github.com/jadahbakar/rust-docker-testing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jadahbakar/rust-docker-testing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjadahbakar%2Frust-docker-testing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjadahbakar%2Frust-docker-testing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5173aadeef7c6527d77c4bea5f2bf07f758a985 [INFO] building jadahbakar/rust-docker-testing against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjadahbakar%2Frust-docker-testing" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jadahbakar/rust-docker-testing [INFO] finished tweaking git repo https://github.com/jadahbakar/rust-docker-testing [INFO] tweaked toml for git repo https://github.com/jadahbakar/rust-docker-testing written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jadahbakar/rust-docker-testing 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/jadahbakar/rust-docker-testing 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 parse-display v0.9.1 [INFO] [stderr] Downloaded xattr v1.5.1 [INFO] [stderr] Downloaded structmeta-derive v0.3.0 [INFO] [stderr] Downloaded etcetera v0.10.0 [INFO] [stderr] Downloaded docker_credential v1.3.2 [INFO] [stderr] Downloaded structmeta v0.3.0 [INFO] [stderr] Downloaded parse-display-derive v0.9.1 [INFO] [stderr] Downloaded tokio-tar v0.3.1 [INFO] [stderr] Downloaded zerovec v0.11.3 [INFO] [stderr] Downloaded testcontainers v0.25.0 [INFO] [stderr] Downloaded tonic v0.13.1 [INFO] [stderr] Downloaded bollard v0.19.1 [INFO] [stderr] Downloaded bollard-buildkit-proto v0.6.1 [INFO] [stderr] Downloaded bollard-stubs v1.48.3-rc.28.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 901a6ee41642490c2d10de81c42b94087bafa5ab532b283305f1cb94fe1c79b3 [INFO] running `Command { std: "docker" "start" "-a" "901a6ee41642490c2d10de81c42b94087bafa5ab532b283305f1cb94fe1c79b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "901a6ee41642490c2d10de81c42b94087bafa5ab532b283305f1cb94fe1c79b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "901a6ee41642490c2d10de81c42b94087bafa5ab532b283305f1cb94fe1c79b3", kill_on_drop: false }` [INFO] [stdout] 901a6ee41642490c2d10de81c42b94087bafa5ab532b283305f1cb94fe1c79b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60e1e02817eb1e842b80ce52be0225051dbbbf7e1eb771e115d3df6c1af4dbb1 [INFO] running `Command { std: "docker" "start" "-a" "60e1e02817eb1e842b80ce52be0225051dbbbf7e1eb771e115d3df6c1af4dbb1", kill_on_drop: false }` [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling bollard-buildkit-proto v0.6.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling etcetera v0.10.0 [INFO] [stderr] Compiling ulid v1.2.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-tar v0.3.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling docker_credential v1.3.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling parse-display-derive v0.9.1 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling parse-display v0.9.1 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling hyperlocal v0.9.1 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling tonic v0.13.1 [INFO] [stderr] Compiling bollard-stubs v1.48.3-rc.28.0.4 [INFO] [stderr] Compiling bollard v0.19.1 [INFO] [stderr] Compiling testcontainers v0.25.0 [INFO] [stderr] Compiling rust-docker-testing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> src/test_pg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod test_pg; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/test_pg.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{env, time::Duration}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod test_pg; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericImage`, `ImageExt`, `Image`, `IntoContainerPort`, `WaitFor`, and `runners::AsyncRunner` [INFO] [stdout] --> src/test_pg.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | GenericImage, Image, ImageExt, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] 5 | core::{IntoContainerPort, WaitFor}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 6 | runners::AsyncRunner, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod test_pg; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NoTls` [INFO] [stdout] --> src/test_pg.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_postgres::{Client, NoTls}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod test_pg; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_db_connection` is never used [INFO] [stdout] --> src/test_pg.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | async fn test_db_connection(client: Client) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_port` is never used [INFO] [stdout] --> src/test_pg.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | async fn wait_for_port(port: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "60e1e02817eb1e842b80ce52be0225051dbbbf7e1eb771e115d3df6c1af4dbb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60e1e02817eb1e842b80ce52be0225051dbbbf7e1eb771e115d3df6c1af4dbb1", kill_on_drop: false }` [INFO] [stdout] 60e1e02817eb1e842b80ce52be0225051dbbbf7e1eb771e115d3df6c1af4dbb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0170291dd6f4a2c9365b443c93d10c31d729ad26d336e00a473de25c773b5373 [INFO] running `Command { std: "docker" "start" "-a" "0170291dd6f4a2c9365b443c93d10c31d729ad26d336e00a473de25c773b5373", kill_on_drop: false }` [INFO] [stderr] Compiling rust-docker-testing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/test_pg.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | GenericImage, Image, ImageExt, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.74s [INFO] running `Command { std: "docker" "inspect" "0170291dd6f4a2c9365b443c93d10c31d729ad26d336e00a473de25c773b5373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0170291dd6f4a2c9365b443c93d10c31d729ad26d336e00a473de25c773b5373", kill_on_drop: false }` [INFO] [stdout] 0170291dd6f4a2c9365b443c93d10c31d729ad26d336e00a473de25c773b5373