[INFO] fetching crate dockerfile-build 0.1.1... [INFO] testing dockerfile-build-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate dockerfile-build 0.1.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate dockerfile-build 0.1.1 [INFO] finished tweaking crates.io crate dockerfile-build 0.1.1 [INFO] tweaked toml for crates.io crate dockerfile-build 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dockerfile-build 0.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 191 packages to latest compatible versions [INFO] [stderr] Adding bollard v0.13.0 (available: v0.19.2) [INFO] [stderr] Adding bollard-stubs v1.42.0-rc.3 (available: v1.42.0-rc.8) [INFO] [stderr] Adding dockertest v0.3.1 (available: v0.5.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding wiremock v0.5.22 (available: v0.6.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dockertest v0.3.1 [INFO] [stderr] Downloaded retain_mut v0.1.9 [INFO] [stderr] Downloaded deadpool v0.9.5 [INFO] [stderr] Downloaded wiremock v0.5.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36a3b53bdeca9c5c19d670975e3c060e3e54ed56e930392499bfe9c1ddbec3a0 [INFO] running `Command { std: "docker" "start" "-a" "36a3b53bdeca9c5c19d670975e3c060e3e54ed56e930392499bfe9c1ddbec3a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36a3b53bdeca9c5c19d670975e3c060e3e54ed56e930392499bfe9c1ddbec3a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36a3b53bdeca9c5c19d670975e3c060e3e54ed56e930392499bfe9c1ddbec3a0", kill_on_drop: false }` [INFO] [stdout] 36a3b53bdeca9c5c19d670975e3c060e3e54ed56e930392499bfe9c1ddbec3a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f5360d8df3233ef43a3b478b233d3d98e3fd3e30a557a791f1d3094f47ebf6f [INFO] running `Command { std: "docker" "start" "-a" "2f5360d8df3233ef43a3b478b233d3d98e3fd3e30a557a791f1d3094f47ebf6f", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling bollard-stubs v1.42.0-rc.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyperlocal v0.8.0 [INFO] [stderr] Compiling bollard v0.13.0 [INFO] [stderr] Compiling dockerfile-build v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | pub async fn build(&self, client: &Docker) -> Result<(), DockerfileError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | pub async fn build(&self, client: &Docker) -> Result<(), DockerfileError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.47s [INFO] running `Command { std: "docker" "inspect" "2f5360d8df3233ef43a3b478b233d3d98e3fd3e30a557a791f1d3094f47ebf6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f5360d8df3233ef43a3b478b233d3d98e3fd3e30a557a791f1d3094f47ebf6f", kill_on_drop: false }` [INFO] [stdout] 2f5360d8df3233ef43a3b478b233d3d98e3fd3e30a557a791f1d3094f47ebf6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 489e562a61ef44f0890c093b227bb72919471f8a9217b94343521e1e97ae2ec0 [INFO] running `Command { std: "docker" "start" "-a" "489e562a61ef44f0890c093b227bb72919471f8a9217b94343521e1e97ae2ec0", kill_on_drop: false }` [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling retain_mut v0.1.9 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling deadpool v0.9.5 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyperlocal v0.8.0 [INFO] [stderr] Compiling wiremock v0.5.22 [INFO] [stderr] Compiling bollard v0.13.0 [INFO] [stderr] Compiling dockerfile-build v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | pub async fn build(&self, client: &Docker) -> Result<(), DockerfileError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | pub async fn build(&self, client: &Docker) -> Result<(), DockerfileError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | pub async fn build(&self, client: &Docker) -> Result<(), DockerfileError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | pub async fn build(&self, client: &Docker) -> Result<(), DockerfileError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.88s [INFO] running `Command { std: "docker" "inspect" "489e562a61ef44f0890c093b227bb72919471f8a9217b94343521e1e97ae2ec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "489e562a61ef44f0890c093b227bb72919471f8a9217b94343521e1e97ae2ec0", kill_on_drop: false }` [INFO] [stdout] 489e562a61ef44f0890c093b227bb72919471f8a9217b94343521e1e97ae2ec0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c0d2e9d96588c6d5a7bbe65be48266479ffe59fd85da65fcb6cd7fb07e486430 [INFO] running `Command { std: "docker" "start" "-a" "c0d2e9d96588c6d5a7bbe65be48266479ffe59fd85da65fcb6cd7fb07e486430", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:73:24 [INFO] [stderr] | [INFO] [stderr] 73 | pub async fn build(&self, client: &Docker) -> Result<(), DockerfileError> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 73 | pub async fn build(&self, client: &Docker) -> Result<(), DockerfileError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `dockerfile-build` (lib) generated 1 warning (run `cargo fix --lib -p dockerfile-build` to apply 1 suggestion) [INFO] [stderr] warning: `dockerfile-build` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dockerfile_build-97b7a2fb5edf8a91) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::it_works_custom_tag ... ok [INFO] [stdout] test tests::handle_error ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests dockerfile_build [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" "c0d2e9d96588c6d5a7bbe65be48266479ffe59fd85da65fcb6cd7fb07e486430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0d2e9d96588c6d5a7bbe65be48266479ffe59fd85da65fcb6cd7fb07e486430", kill_on_drop: false }` [INFO] [stdout] c0d2e9d96588c6d5a7bbe65be48266479ffe59fd85da65fcb6cd7fb07e486430