[INFO] cloning repository https://github.com/LunchTimeCode/static_hero_icons [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LunchTimeCode/static_hero_icons" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunchTimeCode%2Fstatic_hero_icons", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunchTimeCode%2Fstatic_hero_icons'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4ad8e092f7b07cfc992410965a068359cb04ecc [INFO] checking LunchTimeCode/static_hero_icons against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunchTimeCode%2Fstatic_hero_icons" "/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/LunchTimeCode/static_hero_icons [INFO] finished tweaking git repo https://github.com/LunchTimeCode/static_hero_icons [INFO] tweaked toml for git repo https://github.com/LunchTimeCode/static_hero_icons written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LunchTimeCode/static_hero_icons 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/LunchTimeCode/static_hero_icons 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-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] d2d6cc06410811a8ccfbb48909593dd81a6b8cc06b1f832927a09ea48cf6d5e3 [INFO] running `Command { std: "docker" "start" "-a" "d2d6cc06410811a8ccfbb48909593dd81a6b8cc06b1f832927a09ea48cf6d5e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2d6cc06410811a8ccfbb48909593dd81a6b8cc06b1f832927a09ea48cf6d5e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2d6cc06410811a8ccfbb48909593dd81a6b8cc06b1f832927a09ea48cf6d5e3", kill_on_drop: false }` [INFO] [stdout] d2d6cc06410811a8ccfbb48909593dd81a6b8cc06b1f832927a09ea48cf6d5e3 [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] 0c4a38ce7cd17309f403806584ffc939a008396ce8b0ab1cc3688ed906c5ece6 [INFO] running `Command { std: "docker" "start" "-a" "0c4a38ce7cd17309f403806584ffc939a008396ce8b0ab1cc3688ed906c5ece6", kill_on_drop: false }` [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling new_mime_guess v4.0.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling include_directory_macros v0.1.0 [INFO] [stderr] Checking include_directory v0.1.1 [INFO] [stderr] Checking static_hero_icons v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | static PROJECT_DIR: Dir<'_> = include_directory!("icons"); [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 `static_hero_icons` (lib 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/lib.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | static PROJECT_DIR: Dir<'_> = include_directory!("icons"); [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 `static_hero_icons` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "0c4a38ce7cd17309f403806584ffc939a008396ce8b0ab1cc3688ed906c5ece6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c4a38ce7cd17309f403806584ffc939a008396ce8b0ab1cc3688ed906c5ece6", kill_on_drop: false }` [INFO] [stdout] 0c4a38ce7cd17309f403806584ffc939a008396ce8b0ab1cc3688ed906c5ece6