[INFO] fetching crate http_dir 0.1.9... [INFO] checking http_dir-0.1.9 against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] extracting crate http_dir 0.1.9 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate http_dir 0.1.9 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate http_dir 0.1.9 [INFO] tweaked toml for crates.io crate http_dir 0.1.9 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate http_dir 0.1.9 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] crate crates.io crate http_dir 0.1.9 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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 6029a56feda12d3749e9f6f22bbd6961916365c0bebd32a7662f61c07b327f70 [INFO] running `Command { std: "docker" "start" "-a" "6029a56feda12d3749e9f6f22bbd6961916365c0bebd32a7662f61c07b327f70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6029a56feda12d3749e9f6f22bbd6961916365c0bebd32a7662f61c07b327f70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6029a56feda12d3749e9f6f22bbd6961916365c0bebd32a7662f61c07b327f70", kill_on_drop: false }` [INFO] [stdout] 6029a56feda12d3749e9f6f22bbd6961916365c0bebd32a7662f61c07b327f70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 21fbe81210eeb2b372f582f230bb960ecb1299e77a0d14d69d828b13740423c5 [INFO] running `Command { std: "docker" "start" "-a" "21fbe81210eeb2b372f582f230bb960ecb1299e77a0d14d69d828b13740423c5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking include_dir v0.7.3 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking http-range-header v0.4.0 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tower-http v0.4.3 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking http_dir v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `gzip`, `deflate`, and `br` are never used [INFO] [stdout] --> src/content_encoding.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) trait SupportedEncodings: Copy { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 2 | fn gzip(&self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | fn deflate(&self) -> bool; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | fn br(&self) -> bool; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> examples/include_dir.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | static DIR: Dir<'_> = include_dir!("src"); [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_dir` (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 `http_dir` (example "include_dir") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tests.rs:741:28 [INFO] [stdout] | [INFO] [stdout] 741 | static ROOT: Dir<'_> = include_dir::include_dir!("test-files"); [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_dir::include_dir` (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 `http_dir` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "21fbe81210eeb2b372f582f230bb960ecb1299e77a0d14d69d828b13740423c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21fbe81210eeb2b372f582f230bb960ecb1299e77a0d14d69d828b13740423c5", kill_on_drop: false }` [INFO] [stdout] 21fbe81210eeb2b372f582f230bb960ecb1299e77a0d14d69d828b13740423c5