[INFO] fetching crate include_directory 0.1.1... [INFO] checking include_directory-0.1.1 against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] extracting crate include_directory 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate include_directory 0.1.1 [INFO] finished tweaking crates.io crate include_directory 0.1.1 [INFO] tweaked toml for crates.io crate include_directory 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate include_directory 0.1.1 on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57675b1c98bce3bdf3ace50d00b2d540daf23b3f08b7ed8d1d099ca32f5877e7 [INFO] running `Command { std: "docker" "start" "-a" "57675b1c98bce3bdf3ace50d00b2d540daf23b3f08b7ed8d1d099ca32f5877e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57675b1c98bce3bdf3ace50d00b2d540daf23b3f08b7ed8d1d099ca32f5877e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57675b1c98bce3bdf3ace50d00b2d540daf23b3f08b7ed8d1d099ca32f5877e7", kill_on_drop: false }` [INFO] [stdout] 57675b1c98bce3bdf3ace50d00b2d540daf23b3f08b7ed8d1d099ca32f5877e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58e6f75a05a323429e92be03b601c161df7513ffdce573fce2ea4f939684bbae [INFO] running `Command { std: "docker" "start" "-a" "58e6f75a05a323429e92be03b601c161df7513ffdce573fce2ea4f939684bbae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling new_mime_guess v4.0.4 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling include_directory_macros v0.1.0 [INFO] [stderr] Checking include_directory v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/integration_test.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | static PARENT_DIR: Dir<'_> = include_directory!("$CARGO_MANIFEST_DIR"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_directory` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `include_directory` (test "integration_test") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "58e6f75a05a323429e92be03b601c161df7513ffdce573fce2ea4f939684bbae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58e6f75a05a323429e92be03b601c161df7513ffdce573fce2ea4f939684bbae", kill_on_drop: false }` [INFO] [stdout] 58e6f75a05a323429e92be03b601c161df7513ffdce573fce2ea4f939684bbae