[INFO] cloning repository https://github.com/idlesong/myeditor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/idlesong/myeditor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidlesong%2Fmyeditor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidlesong%2Fmyeditor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb6a29c5b06d04e3c9a1a82f062ea76d38472648 [INFO] checking idlesong/myeditor against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidlesong%2Fmyeditor" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/idlesong/myeditor on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/idlesong/myeditor [INFO] finished tweaking git repo https://github.com/idlesong/myeditor [INFO] tweaked toml for git repo https://github.com/idlesong/myeditor written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/idlesong/myeditor already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-12/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbc253696619c01cb27a7299ab76960ff2d9f171055fed145a54b5fcb275a34a [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" "bbc253696619c01cb27a7299ab76960ff2d9f171055fed145a54b5fcb275a34a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbc253696619c01cb27a7299ab76960ff2d9f171055fed145a54b5fcb275a34a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbc253696619c01cb27a7299ab76960ff2d9f171055fed145a54b5fcb275a34a", kill_on_drop: false }` [INFO] [stdout] bbc253696619c01cb27a7299ab76960ff2d9f171055fed145a54b5fcb275a34a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6380cf865d41e8e1475d914ba87a45099e7e15f8c149d37d70502d8e0ddb042 [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" "e6380cf865d41e8e1475d914ba87a45099e7e15f8c149d37d70502d8e0ddb042", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling gettext-sys v0.19.9 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking locale_config v0.2.3 [INFO] [stderr] Checking gettext-rs v0.4.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking myeditor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `config` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | 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:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | 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:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | 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:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | 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:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | 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:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | 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:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | 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:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | config::NAME_SUFFIX, [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:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | 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:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | 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:90:60 [INFO] [stdout] | [INFO] [stdout] 90 | 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:91:38 [INFO] [stdout] | [INFO] [stdout] 91 | 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:28:63 [INFO] [stdout] | [INFO] [stdout] 28 | glib::set_application_name(&format!("myeditor{}", 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:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | 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 gdk::init; [INFO] [stdout] | [INFO] [stdout] 6 | use gtk::init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `APP_ID` in module `config` [INFO] [stdout] --> src/application.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | 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:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | config::NAME_SUFFIX, [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:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | 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:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | 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:90:60 [INFO] [stdout] | [INFO] [stdout] 90 | 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:91:38 [INFO] [stdout] | [INFO] [stdout] 91 | 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:28:63 [INFO] [stdout] | [INFO] [stdout] 28 | glib::set_application_name(&format!("myeditor{}", 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:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | 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 gdk::init; [INFO] [stdout] | [INFO] [stdout] 6 | use gtk::init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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: could not compile `myeditor` [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" "e6380cf865d41e8e1475d914ba87a45099e7e15f8c149d37d70502d8e0ddb042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6380cf865d41e8e1475d914ba87a45099e7e15f8c149d37d70502d8e0ddb042", kill_on_drop: false }` [INFO] [stdout] e6380cf865d41e8e1475d914ba87a45099e7e15f8c149d37d70502d8e0ddb042