[INFO] cloning repository https://github.com/ProjectInitiative/tf-control-panel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ProjectInitiative/tf-control-panel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProjectInitiative%2Ftf-control-panel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProjectInitiative%2Ftf-control-panel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db20ec00180ce40a327a8de394f7073c2c8a5016 [INFO] checking ProjectInitiative/tf-control-panel/db20ec00180ce40a327a8de394f7073c2c8a5016 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProjectInitiative%2Ftf-control-panel" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ProjectInitiative/tf-control-panel on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ProjectInitiative/tf-control-panel [INFO] finished tweaking git repo https://github.com/ProjectInitiative/tf-control-panel [INFO] tweaked toml for git repo https://github.com/ProjectInitiative/tf-control-panel written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ProjectInitiative/tf-control-panel 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sys-locale v0.1.0 [INFO] [stderr] Downloaded cty v0.2.1 [INFO] [stderr] Downloaded rusb v0.8.1 [INFO] [stderr] Downloaded rust-embed-utils v5.1.0 [INFO] [stderr] Downloaded rust-embed-impl v5.9.0 [INFO] [stderr] Downloaded cstr_core v0.2.3 [INFO] [stderr] Downloaded libusb1-sys v0.5.0 [INFO] [stderr] Downloaded rust-embed v5.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5f9da7c6f5c9afdb2defb0eab4ca89a411c1b82bb952023bde8d88caffb50fd [INFO] running `Command { std: "docker" "start" "-a" "b5f9da7c6f5c9afdb2defb0eab4ca89a411c1b82bb952023bde8d88caffb50fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5f9da7c6f5c9afdb2defb0eab4ca89a411c1b82bb952023bde8d88caffb50fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5f9da7c6f5c9afdb2defb0eab4ca89a411c1b82bb952023bde8d88caffb50fd", kill_on_drop: false }` [INFO] [stdout] b5f9da7c6f5c9afdb2defb0eab4ca89a411c1b82bb952023bde8d88caffb50fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0812c3f82eec16900b98b09c32abfe4ef57d98801ae382bb3879cdbc0e974f1 [INFO] running `Command { std: "docker" "start" "-a" "a0812c3f82eec16900b98b09c32abfe4ef57d98801ae382bb3879cdbc0e974f1", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking cty v0.2.1 [INFO] [stderr] Compiling rusb v0.8.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rust-embed-utils v5.1.0 [INFO] [stderr] Checking cstr_core v0.2.3 [INFO] [stderr] Compiling libusb1-sys v0.5.0 [INFO] [stderr] Compiling sys-locale v0.1.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling rust-embed-impl v5.9.0 [INFO] [stderr] Checking rust-embed v5.9.0 [INFO] [stderr] Checking tfc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `I18N_LOCALES` in this scope [INFO] [stdout] --> src/i18n.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | &I18N_LOCALES.as_ptr().insert(locale, "test"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I18N_LOCALES` in this scope [INFO] [stdout] --> src/i18n.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | println!("_load_locale!: {:?}", I18N_LOCALES); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I18N_LOCALES` in this scope [INFO] [stdout] --> src/i18n.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | &I18N_LOCALES.as_ptr().insert(locale, "test"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I18N_LOCALES` in this scope [INFO] [stdout] --> src/i18n.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | println!("_load_locale!: {:?}", I18N_LOCALES); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/i18n.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::RefCell; [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] --> src/i18n.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/i18n.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::RefCell; [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] --> src/i18n.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `i18n_filepath` does not live long enough [INFO] [stdout] --> src/i18n.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 47 | for i18n_filepath in Locale::iter() { [INFO] [stdout] | ------------- binding `i18n_filepath` declared here [INFO] [stdout] 48 | let i18n_filename = Path::new(i18n_filepath.as_ref()).file_name().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `i18n_filepath` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 51 | } [INFO] [stdout] | - `i18n_filepath` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `i18n_filepath` does not live long enough [INFO] [stdout] --> src/i18n.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 47 | for i18n_filepath in Locale::iter() { [INFO] [stdout] | ------------- binding `i18n_filepath` declared here [INFO] [stdout] 48 | let i18n_filename = Path::new(i18n_filepath.as_ref()).file_name().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `i18n_filepath` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 51 | } [INFO] [stdout] | - `i18n_filepath` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/i18n.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn translate<'a>(msg: &str, locale: Option<&str>) -> &'a str { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/i18n.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn translate<'a>(msg: &str, locale: Option<&str>) -> &'a str { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let matches = options::get_matches(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let matches = options::get_matches(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tfc` (bin "tfc") due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tfc` (bin "tfc" test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a0812c3f82eec16900b98b09c32abfe4ef57d98801ae382bb3879cdbc0e974f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0812c3f82eec16900b98b09c32abfe4ef57d98801ae382bb3879cdbc0e974f1", kill_on_drop: false }` [INFO] [stdout] a0812c3f82eec16900b98b09c32abfe4ef57d98801ae382bb3879cdbc0e974f1