[INFO] cloning repository https://github.com/MistLinux/Mina [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MistLinux/Mina" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMistLinux%2FMina", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMistLinux%2FMina'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84db5d2abe302043df19eef44aa88e0e5a1e808b [INFO] checking MistLinux/Mina against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMistLinux%2FMina" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MistLinux/Mina on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MistLinux/Mina [INFO] finished tweaking git repo https://github.com/MistLinux/Mina [INFO] tweaked toml for git repo https://github.com/MistLinux/Mina written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/MistLinux/Mina already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_yaml v0.7.5 [INFO] [stderr] Downloaded pkg-config v0.3.13 [INFO] [stderr] Downloaded serde_derive v1.0.71 [INFO] [stderr] Downloaded quote v0.6.5 [INFO] [stderr] Downloaded syn v0.14.7 [INFO] [stderr] Downloaded serde v1.0.71 [INFO] [stderr] Downloaded openssl-sys v0.9.35 [INFO] [stderr] Downloaded libz-sys v1.0.20 [INFO] [stderr] Downloaded schannel v0.1.13 [INFO] [stderr] Downloaded curl-sys v0.4.8 [INFO] [stderr] Downloaded socket2 v0.3.7 [INFO] [stderr] Downloaded curl v0.4.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", 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] 2d43b7ebdc190f3958be75fdb82855e746f87c738585ad1168bbaae74ab65c5a [INFO] running `Command { std: "docker" "start" "-a" "2d43b7ebdc190f3958be75fdb82855e746f87c738585ad1168bbaae74ab65c5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d43b7ebdc190f3958be75fdb82855e746f87c738585ad1168bbaae74ab65c5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d43b7ebdc190f3958be75fdb82855e746f87c738585ad1168bbaae74ab65c5a", kill_on_drop: false }` [INFO] [stdout] 2d43b7ebdc190f3958be75fdb82855e746f87c738585ad1168bbaae74ab65c5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37d931b272974dce72a696961962f59e202b562d7182fe436d077ea4b317cf09 [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" "37d931b272974dce72a696961962f59e202b562d7182fe436d077ea4b317cf09", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.13 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking yaml-rust v0.4.0 [INFO] [stderr] Checking socket2 v0.3.7 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Compiling openssl-sys v0.9.35 [INFO] [stderr] Compiling libz-sys v1.0.20 [INFO] [stderr] Compiling curl-sys v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking toml v0.4.6 [INFO] [stderr] Checking curl v0.4.14 [INFO] [stderr] Checking mina v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `File`, `OpenOptions` [INFO] [stdout] --> src/config/workspace.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `OpenOptions` [INFO] [stdout] --> src/config/workspace.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/config/workspace.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/config/workspace.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/config/workspace.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/config/workspace.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pkg` [INFO] [stdout] --> src/package/packager.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use parser::minaparser::{MinaFile, Pkg}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pkg` [INFO] [stdout] --> src/package/packager.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use parser::minaparser::{MinaFile, Pkg}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [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] --> src/config/workspace.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | let mut mina = env::home_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [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] --> src/config/workspace.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | let mut mina = env::home_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/package/dlsource.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let name = mina.name; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/package/dlsource.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let name = mina.name; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [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] --> src/package/packager.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut presplit = cmd.replace("{VERSION}", version.as_str()); [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] --> src/package/packager.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut presplit = cmd.replace("{VERSION}", version.as_str()); [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: function is never used: `get_mina_dir` [INFO] [stdout] --> src/config/workspace.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn get_mina_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_workspace` [INFO] [stdout] --> src/config/workspace.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn create_workspace(str:&str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_example` [INFO] [stdout] --> src/parser/minaparser.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn print_example() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `enableColor` should have a snake case name [INFO] [stdout] --> src/config/conf.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | enableColor:bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `enable_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DevModeEnabled` should have a snake case name [INFO] [stdout] --> src/config/conf.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | DevModeEnabled:bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dev_mode_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `buildDir` should have a snake case name [INFO] [stdout] --> src/config/conf.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | buildDir:String [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `build_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ConfGlobal` should have a snake case name [INFO] [stdout] --> src/config/conf.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let ConfGlobal = ConfGlobal {enableColor: true, repo: vec![core, meta, comunity, evil]}; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `conf_global` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_mina_dir` [INFO] [stdout] --> src/config/workspace.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn get_mina_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_workspace` [INFO] [stdout] --> src/config/workspace.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn create_workspace(str:&str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_example` [INFO] [stdout] --> src/parser/minaparser.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn print_example() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `enableColor` should have a snake case name [INFO] [stdout] --> src/config/conf.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | enableColor:bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `enable_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DevModeEnabled` should have a snake case name [INFO] [stdout] --> src/config/conf.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | DevModeEnabled:bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dev_mode_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `buildDir` should have a snake case name [INFO] [stdout] --> src/config/conf.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | buildDir:String [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `build_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ConfGlobal` should have a snake case name [INFO] [stdout] --> src/config/conf.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let ConfGlobal = ConfGlobal {enableColor: true, repo: vec![core, meta, comunity, evil]}; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `conf_global` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/config/workspace.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | fs::create_dir(&workspace); [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/config/workspace.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | fs::create_dir(&workspace); [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 12s [INFO] running `Command { std: "docker" "inspect" "37d931b272974dce72a696961962f59e202b562d7182fe436d077ea4b317cf09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37d931b272974dce72a696961962f59e202b562d7182fe436d077ea4b317cf09", kill_on_drop: false }` [INFO] [stdout] 37d931b272974dce72a696961962f59e202b562d7182fe436d077ea4b317cf09