[INFO] cloning repository https://github.com/realth000/gtk-rust-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/realth000/gtk-rust-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealth000%2Fgtk-rust-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealth000%2Fgtk-rust-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28047d4db69654f429d4f8b4b067f763c8eae7dc [INFO] checking realth000/gtk-rust-template against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealth000%2Fgtk-rust-template" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/realth000/gtk-rust-template [INFO] finished tweaking git repo https://github.com/realth000/gtk-rust-template [INFO] tweaked toml for git repo https://github.com/realth000/gtk-rust-template written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/realth000/gtk-rust-template on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/realth000/gtk-rust-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c357a169f6349463538adccbf5260ffe38a2621b6d2e45fde57730799fec8afd [INFO] running `Command { std: "docker" "start" "-a" "c357a169f6349463538adccbf5260ffe38a2621b6d2e45fde57730799fec8afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c357a169f6349463538adccbf5260ffe38a2621b6d2e45fde57730799fec8afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c357a169f6349463538adccbf5260ffe38a2621b6d2e45fde57730799fec8afd", kill_on_drop: false }` [INFO] [stdout] c357a169f6349463538adccbf5260ffe38a2621b6d2e45fde57730799fec8afd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01f6fc06d205e088c530dc1455a18ea37c719cc22cce7a8315c45b775d71df50 [INFO] running `Command { std: "docker" "start" "-a" "01f6fc06d205e088c530dc1455a18ea37c719cc22cce7a8315c45b775d71df50", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.180 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.3 [INFO] [stderr] Compiling target-lexicon v0.12.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-expr v0.15.4 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling gio v0.18.1 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling temp-dir v0.1.11 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling gettext-sys v0.21.3 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking regex-automata v0.3.4 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling toml v0.7.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking locale_config v0.3.0 [INFO] [stderr] Compiling system-deps v6.1.1 [INFO] [stderr] Checking gettext-rs v0.7.0 [INFO] [stderr] Compiling glib-macros v0.18.0 [INFO] [stderr] Compiling gtk4-macros v0.7.1 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling cairo-sys-rs v0.18.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling gdk4-sys v0.7.1 [INFO] [stderr] Compiling graphene-sys v0.18.1 [INFO] [stderr] Compiling gsk4-sys v0.7.0 [INFO] [stderr] Compiling gtk4-sys v0.7.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking glib v0.18.1 [INFO] [stderr] Checking cairo-rs v0.18.0 [INFO] [stderr] Checking graphene-rs v0.18.1 [INFO] [stderr] Checking gdk-pixbuf v0.18.0 [INFO] [stderr] Checking pango v0.18.0 [INFO] [stderr] Checking gdk4 v0.7.1 [INFO] [stderr] Checking gsk4 v0.7.1 [INFO] [stderr] Checking gtk4 v0.7.1 [INFO] [stderr] Checking gtk-rust-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `CODEGEN_BUILD_DIR` not defined at compile time [INFO] [stdout] --> src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | include!(concat!(env!("CODEGEN_BUILD_DIR"), "/config.rs")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("CODEGEN_BUILD_DIR")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::config::APP_ID`, `crate::config::PKGDATADIR`, `crate::config::PROFILE`, `crate::config::VERSION` [INFO] [stdout] --> src/application.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::config::{APP_ID, PKGDATADIR, PROFILE, VERSION}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^ no `VERSION` in `config` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `PROFILE` in `config` [INFO] [stdout] | | no `PKGDATADIR` in `config` [INFO] [stdout] | no `APP_ID` in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::config::APP_ID`, `crate::config::PROFILE` [INFO] [stdout] --> src/window.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::config::{APP_ID, PROFILE}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ no `PROFILE` in `config` [INFO] [stdout] | | [INFO] [stdout] | no `APP_ID` in `config` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::application::imp::APP_ID` exists but is inaccessible [INFO] [stdout] = note: unresolved item `crate::application::imp::PROFILE` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `self::config::GETTEXT_PACKAGE`, `self::config::LOCALEDIR`, `self::config::RESOURCES_FILE` [INFO] [stdout] --> src/main.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use self::config::{GETTEXT_PACKAGE, LOCALEDIR, RESOURCES_FILE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ no `RESOURCES_FILE` in `config` [INFO] [stdout] | | | [INFO] [stdout] | | no `LOCALEDIR` in `config` [INFO] [stdout] | no `GETTEXT_PACKAGE` in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `CODEGEN_BUILD_DIR` not defined at compile time [INFO] [stdout] --> src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | include!(concat!(env!("CODEGEN_BUILD_DIR"), "/config.rs")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("CODEGEN_BUILD_DIR")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::config::APP_ID`, `crate::config::PKGDATADIR`, `crate::config::PROFILE`, `crate::config::VERSION` [INFO] [stdout] --> src/application.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::config::{APP_ID, PKGDATADIR, PROFILE, VERSION}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^ no `VERSION` in `config` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `PROFILE` in `config` [INFO] [stdout] | | no `PKGDATADIR` in `config` [INFO] [stdout] | no `APP_ID` in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::config::APP_ID`, `crate::config::PROFILE` [INFO] [stdout] --> src/window.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::config::{APP_ID, PROFILE}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ no `PROFILE` in `config` [INFO] [stdout] | | [INFO] [stdout] | no `APP_ID` in `config` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::application::imp::APP_ID` exists but is inaccessible [INFO] [stdout] = note: unresolved item `crate::application::imp::PROFILE` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `self::config::GETTEXT_PACKAGE`, `self::config::LOCALEDIR`, `self::config::RESOURCES_FILE` [INFO] [stdout] --> src/main.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use self::config::{GETTEXT_PACKAGE, LOCALEDIR, RESOURCES_FILE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ no `RESOURCES_FILE` in `config` [INFO] [stdout] | | | [INFO] [stdout] | | no `LOCALEDIR` in `config` [INFO] [stdout] | no `GETTEXT_PACKAGE` in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gtk-rust-template` (bin "gtk-rust-template") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gtk-rust-template` (bin "gtk-rust-template" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "01f6fc06d205e088c530dc1455a18ea37c719cc22cce7a8315c45b775d71df50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01f6fc06d205e088c530dc1455a18ea37c719cc22cce7a8315c45b775d71df50", kill_on_drop: false }` [INFO] [stdout] 01f6fc06d205e088c530dc1455a18ea37c719cc22cce7a8315c45b775d71df50