[INFO] cloning repository https://github.com/kurtbuilds/cargo-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kurtbuilds/cargo-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkurtbuilds%2Fcargo-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkurtbuilds%2Fcargo-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 046c91ae2025a486ef1005c33e86b92d91c604d7 [INFO] checking kurtbuilds/cargo-template against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkurtbuilds%2Fcargo-template" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kurtbuilds/cargo-template [INFO] finished tweaking git repo https://github.com/kurtbuilds/cargo-template [INFO] tweaked toml for git repo https://github.com/kurtbuilds/cargo-template written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kurtbuilds/cargo-template 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 git repo https://github.com/kurtbuilds/cargo-template 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac2074d31f95e333ea670ecbf36f03c918644e909308e4238f50956b945f4955 [INFO] running `Command { std: "docker" "start" "-a" "ac2074d31f95e333ea670ecbf36f03c918644e909308e4238f50956b945f4955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac2074d31f95e333ea670ecbf36f03c918644e909308e4238f50956b945f4955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac2074d31f95e333ea670ecbf36f03c918644e909308e4238f50956b945f4955", kill_on_drop: false }` [INFO] [stdout] ac2074d31f95e333ea670ecbf36f03c918644e909308e4238f50956b945f4955 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7385cfc740ebb7d04cd68154ac4a744a361a86925145077d2dee99e9c68e2d6c [INFO] running `Command { std: "docker" "start" "-a" "7385cfc740ebb7d04cd68154ac4a744a361a86925145077d2dee99e9c68e2d6c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling phf v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.49 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling include_dir_macros v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.22.2 [INFO] [stderr] Checking fd-lock v3.0.1 [INFO] [stderr] Checking include_dir v0.7.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking clap v3.0.0-rc.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Checking dlv-list v0.2.3 [INFO] [stderr] Compiling chrono-tz v0.6.0 [INFO] [stderr] Checking ordered-multimap v0.3.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking rust-ini v0.17.0 [INFO] [stderr] Checking rustyline v9.0.0 [INFO] [stderr] Checking tera v1.15.0 [INFO] [stderr] Checking cargo-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/main.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | static TEMPLATE_DIR: Dir<'_> = include_dir!("templates"); [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 `cargo-template` (bin "cargo-template" test) 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/main.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | static TEMPLATE_DIR: Dir<'_> = include_dir!("templates"); [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 `cargo-template` (bin "cargo-template") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "7385cfc740ebb7d04cd68154ac4a744a361a86925145077d2dee99e9c68e2d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7385cfc740ebb7d04cd68154ac4a744a361a86925145077d2dee99e9c68e2d6c", kill_on_drop: false }` [INFO] [stdout] 7385cfc740ebb7d04cd68154ac4a744a361a86925145077d2dee99e9c68e2d6c