[INFO] cloning repository https://github.com/koompi/locales [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/koompi/locales" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoompi%2Flocales", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoompi%2Flocales'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39e725ae9b8f18f7531a6914914a4328ad746d65 [INFO] testing koompi/locales against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoompi%2Flocales" "/workspace/builds/worker-106/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-106/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/koompi/locales on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/koompi/locales [INFO] finished tweaking git repo https://github.com/koompi/locales [INFO] tweaked toml for git repo https://github.com/koompi/locales written to /workspace/builds/worker-106/source/Cargo.toml [INFO] crate git repo https://github.com/koompi/locales already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sudo v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9a0c3a433efcbf7e79fdece9896b8459374ddfe098bc72d28e2380a2a7ab5f2 [INFO] running `Command { std: "docker" "start" "-a" "a9a0c3a433efcbf7e79fdece9896b8459374ddfe098bc72d28e2380a2a7ab5f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9a0c3a433efcbf7e79fdece9896b8459374ddfe098bc72d28e2380a2a7ab5f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9a0c3a433efcbf7e79fdece9896b8459374ddfe098bc72d28e2380a2a7ab5f2", kill_on_drop: false }` [INFO] [stdout] a9a0c3a433efcbf7e79fdece9896b8459374ddfe098bc72d28e2380a2a7ab5f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb57158854b8af321d63461f4612371b55fab6a553da08dd25d42a10e94d41e1 [INFO] running `Command { std: "docker" "start" "-a" "eb57158854b8af321d63461f4612371b55fab6a553da08dd25d42a10e94d41e1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.83 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling sudo v0.6.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling liblocale v0.1.0 (/opt/rustwide/workdir/liblocale) [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> liblocale/src/lib.rs:133:41 [INFO] [stdout] | [INFO] [stdout] 133 | Target::Local => match env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> liblocale/src/lib.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | let mut s = String::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> liblocale/src/lib.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | let mut p = Path::new(&home); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> liblocale/src/lib.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let mut s = String::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling locale-generator v0.1.0 (/opt/rustwide/workdir/locale-generator) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocaleGen` [INFO] [stdout] --> locale-generator/src/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | let mut lcs: LocaleGen = LocaleGen::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LocaleGen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocaleData` [INFO] [stdout] --> locale-generator/src/main.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | let mut locale: LocaleData = LocaleData::default(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `LocaleData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocaleGen` in this scope [INFO] [stdout] --> locale-generator/src/main.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl LocaleGen { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling config v0.1.0 (/opt/rustwide/workdir/config) [INFO] [stdout] error[E0412]: cannot find type `LocaleData` in this scope [INFO] [stdout] --> locale-generator/src/main.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn insert(&mut self, name: String, data: LocaleData) -> Self { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `locale-generator` due to 8 previous errors; 2 warnings emitted [INFO] [stdout] error[E0412]: cannot find type `LocaleGen` in this scope [INFO] [stdout] --> locale-generator/src/main.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let mut lcs: LocaleGen = LocaleGen::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `LocaleData` in this scope [INFO] [stdout] --> locale-generator/src/main.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | let mut locale: LocaleData = LocaleData::default(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `conf_parser` in this scope [INFO] [stdout] --> locale-generator/src/main.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | let dt = conf_parser(v_data); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> locale-generator/src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> locale-generator/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File`, `io::prelude::*` [INFO] [stdout] --> config/src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs::File, io::prelude::*, io::Error}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> config/src/main.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if let g = matches.occurrences_of("global") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> config/src/main.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | ... l.locale.resource(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> config/src/main.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | ... l.locale.resource(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "eb57158854b8af321d63461f4612371b55fab6a553da08dd25d42a10e94d41e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb57158854b8af321d63461f4612371b55fab6a553da08dd25d42a10e94d41e1", kill_on_drop: false }` [INFO] [stdout] eb57158854b8af321d63461f4612371b55fab6a553da08dd25d42a10e94d41e1