[INFO] cloning repository https://github.com/idlesong/mytemplate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/idlesong/mytemplate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidlesong%2Fmytemplate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidlesong%2Fmytemplate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7df27b0d7c5759e7ed567bedb14a8a0bfa6aa2e [INFO] checking idlesong/mytemplate against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidlesong%2Fmytemplate" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/idlesong/mytemplate on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/idlesong/mytemplate [INFO] finished tweaking git repo https://github.com/idlesong/mytemplate [INFO] tweaked toml for git repo https://github.com/idlesong/mytemplate written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/idlesong/mytemplate already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f3b1fddc9eb4618cad9351eb19daa7aaeaf4f10760c6ef74c9770c42d5b4739 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6f3b1fddc9eb4618cad9351eb19daa7aaeaf4f10760c6ef74c9770c42d5b4739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f3b1fddc9eb4618cad9351eb19daa7aaeaf4f10760c6ef74c9770c42d5b4739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f3b1fddc9eb4618cad9351eb19daa7aaeaf4f10760c6ef74c9770c42d5b4739", kill_on_drop: false }` [INFO] [stdout] 6f3b1fddc9eb4618cad9351eb19daa7aaeaf4f10760c6ef74c9770c42d5b4739 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6cbc63a5d70a25343676a6b2940b061735812ab2ea5c272e79b5d14055d5d741 [INFO] running `Command { std: "docker" "start" "-a" "6cbc63a5d70a25343676a6b2940b061735812ab2ea5c272e79b5d14055d5d741", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.26 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking futures-core v0.3.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling gio v0.8.1 [INFO] [stderr] Compiling gdk-pixbuf v0.8.0 [INFO] [stderr] Compiling pango v0.8.0 [INFO] [stderr] Compiling cairo-rs v0.8.1 [INFO] [stderr] Checking futures-io v0.3.6 [INFO] [stderr] Compiling atk v0.8.0 [INFO] [stderr] Compiling gdk v0.12.1 [INFO] [stderr] Compiling gtk v0.8.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling gettext-sys v0.19.9 [INFO] [stderr] Checking futures-channel v0.3.6 [INFO] [stderr] Checking futures-task v0.3.6 [INFO] [stderr] Compiling glib-sys v0.9.1 [INFO] [stderr] Compiling gobject-sys v0.9.1 [INFO] [stderr] Compiling gio-sys v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.9.1 [INFO] [stderr] Compiling cairo-sys-rs v0.9.2 [INFO] [stderr] Compiling pango-sys v0.9.1 [INFO] [stderr] Compiling gdk-sys v0.9.1 [INFO] [stderr] Compiling atk-sys v0.9.1 [INFO] [stderr] Compiling gtk-sys v0.9.2 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking locale_config v0.2.3 [INFO] [stderr] Checking gettext-rs v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Checking pin-project v0.4.26 [INFO] [stderr] Checking futures-util v0.3.6 [INFO] [stderr] Checking futures-executor v0.3.6 [INFO] [stderr] Checking glib v0.9.3 [INFO] [stderr] Checking mytemplate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `config` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod config; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `config`, create file "src/config.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `static_resources` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod static_resources; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `static_resources`, create file "src/static_resources.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `config` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod config; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `config`, create file "src/config.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `static_resources` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod static_resources; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `static_resources`, create file "src/static_resources.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::config::APP_ID`, `crate::config::PROFILE` [INFO] [stdout] --> src/window.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | 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] [INFO] [stdout] error[E0432]: unresolved imports `config::GETTEXT_PACKAGE`, `config::LOCALEDIR` [INFO] [stdout] --> src/main.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use config::{GETTEXT_PACKAGE, LOCALEDIR}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ no `LOCALEDIR` in `config` [INFO] [stdout] | | [INFO] [stdout] | no `GETTEXT_PACKAGE` in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::config::APP_ID`, `crate::config::PROFILE` [INFO] [stdout] --> src/window.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | 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] [INFO] [stdout] error[E0432]: unresolved imports `config::GETTEXT_PACKAGE`, `config::LOCALEDIR` [INFO] [stdout] --> src/main.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use config::{GETTEXT_PACKAGE, LOCALEDIR}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ no `LOCALEDIR` in `config` [INFO] [stdout] | | [INFO] [stdout] | no `GETTEXT_PACKAGE` in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `APP_ID` in module `config` [INFO] [stdout] --> src/application.rs:15:54 [INFO] [stdout] | [INFO] [stdout] 15 | let app = gtk::Application::new(Some(config::APP_ID), gio::ApplicationFlags::FLAGS_NONE).unwrap(); [INFO] [stdout] | ^^^^^^ not found in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NAME_SUFFIX` in module `config` [INFO] [stdout] --> src/application.rs:78:49 [INFO] [stdout] | [INFO] [stdout] 78 | info!("GtkRustTemplate{} ({})", config::NAME_SUFFIX, config::APP_ID); [INFO] [stdout] | ^^^^^^^^^^^ not found in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `APP_ID` in module `config` [INFO] [stdout] --> src/application.rs:78:70 [INFO] [stdout] | [INFO] [stdout] 78 | info!("GtkRustTemplate{} ({})", config::NAME_SUFFIX, config::APP_ID); [INFO] [stdout] | ^^^^^^ not found in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERSION` in module `config` [INFO] [stdout] --> src/application.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | info!("Version: {} ({})", config::VERSION, config::PROFILE); [INFO] [stdout] | ^^^^^^^ not found in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROFILE` in module `config` [INFO] [stdout] --> src/application.rs:79:60 [INFO] [stdout] | [INFO] [stdout] 79 | info!("Version: {} ({})", config::VERSION, config::PROFILE); [INFO] [stdout] | ^^^^^^^ not found in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PKGDATADIR` in module `config` [INFO] [stdout] --> src/application.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | info!("Datadir: {}", config::PKGDATADIR); [INFO] [stdout] | ^^^^^^^^^^ not found in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NAME_SUFFIX` in module `config` [INFO] [stdout] --> src/main.rs:26:65 [INFO] [stdout] | [INFO] [stdout] 26 | glib::set_application_name(&format!("mytemplate{}", config::NAME_SUFFIX)); [INFO] [stdout] | ^^^^^^^^^^^ not found in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in module `static_resources` [INFO] [stdout] --> src/main.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | static_resources::init().expect("Failed to initialize the resource file."); [INFO] [stdout] | ^^^^ not found in `static_resources` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::application::env::sys::args::imp::init; [INFO] [stdout] | [INFO] [stdout] 6 | use crate::application::env::sys::args::init; [INFO] [stdout] | [INFO] [stdout] 6 | use crate::application::env::sys::ext::net::sys_common::at_exit_imp::init; [INFO] [stdout] | [INFO] [stdout] 6 | use crate::application::env::sys::ext::net::sys_common::net::init; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `APP_ID` in module `config` [INFO] [stdout] --> src/application.rs:15:54 [INFO] [stdout] | [INFO] [stdout] 15 | let app = gtk::Application::new(Some(config::APP_ID), gio::ApplicationFlags::FLAGS_NONE).unwrap(); [INFO] [stdout] | ^^^^^^ not found in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NAME_SUFFIX` in module `config` [INFO] [stdout] --> src/application.rs:78:49 [INFO] [stdout] | [INFO] [stdout] 78 | info!("GtkRustTemplate{} ({})", config::NAME_SUFFIX, config::APP_ID); [INFO] [stdout] | ^^^^^^^^^^^ not found in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `APP_ID` in module `config` [INFO] [stdout] --> src/application.rs:78:70 [INFO] [stdout] | [INFO] [stdout] 78 | info!("GtkRustTemplate{} ({})", config::NAME_SUFFIX, config::APP_ID); [INFO] [stdout] | ^^^^^^ not found in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERSION` in module `config` [INFO] [stdout] --> src/application.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | info!("Version: {} ({})", config::VERSION, config::PROFILE); [INFO] [stdout] | ^^^^^^^ not found in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROFILE` in module `config` [INFO] [stdout] --> src/application.rs:79:60 [INFO] [stdout] | [INFO] [stdout] 79 | info!("Version: {} ({})", config::VERSION, config::PROFILE); [INFO] [stdout] | ^^^^^^^ not found in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PKGDATADIR` in module `config` [INFO] [stdout] --> src/application.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | info!("Datadir: {}", config::PKGDATADIR); [INFO] [stdout] | ^^^^^^^^^^ not found in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NAME_SUFFIX` in module `config` [INFO] [stdout] --> src/main.rs:26:65 [INFO] [stdout] | [INFO] [stdout] 26 | glib::set_application_name(&format!("mytemplate{}", config::NAME_SUFFIX)); [INFO] [stdout] | ^^^^^^^^^^^ not found in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in module `static_resources` [INFO] [stdout] --> src/main.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | static_resources::init().expect("Failed to initialize the resource file."); [INFO] [stdout] | ^^^^ not found in `static_resources` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::application::env::sys::args::imp::init; [INFO] [stdout] | [INFO] [stdout] 6 | use crate::application::env::sys::args::init; [INFO] [stdout] | [INFO] [stdout] 6 | use crate::application::env::sys::ext::net::sys_common::at_exit_imp::init; [INFO] [stdout] | [INFO] [stdout] 6 | use crate::application::env::sys::ext::net::sys_common::net::init; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mytemplate` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6cbc63a5d70a25343676a6b2940b061735812ab2ea5c272e79b5d14055d5d741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cbc63a5d70a25343676a6b2940b061735812ab2ea5c272e79b5d14055d5d741", kill_on_drop: false }` [INFO] [stdout] 6cbc63a5d70a25343676a6b2940b061735812ab2ea5c272e79b5d14055d5d741