[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 master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMistLinux%2FMina" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MistLinux/Mina on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", 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-5/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b72a6d094032e0dbea28384fbd184ac95ffdedfe7ad44b6ab677e01c01261faa [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" "b72a6d094032e0dbea28384fbd184ac95ffdedfe7ad44b6ab677e01c01261faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b72a6d094032e0dbea28384fbd184ac95ffdedfe7ad44b6ab677e01c01261faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b72a6d094032e0dbea28384fbd184ac95ffdedfe7ad44b6ab677e01c01261faa", kill_on_drop: false }` [INFO] [stdout] b72a6d094032e0dbea28384fbd184ac95ffdedfe7ad44b6ab677e01c01261faa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab3c2f4a8cce0f50b04f17983626249297a66f15080730ccf0b1ad5f80b196d8 [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" "ab3c2f4a8cce0f50b04f17983626249297a66f15080730ccf0b1ad5f80b196d8", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libz-sys v1.0.20 [INFO] [stderr] Compiling openssl-sys v0.9.35 [INFO] [stderr] Compiling curl-sys v0.4.8 [INFO] [stderr] Checking yaml-rust v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Checking socket2 v0.3.7 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Compiling serde_derive v1.0.71 [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 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 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: `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: 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: 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: 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 `std::result::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: unused `std::result::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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "ab3c2f4a8cce0f50b04f17983626249297a66f15080730ccf0b1ad5f80b196d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab3c2f4a8cce0f50b04f17983626249297a66f15080730ccf0b1ad5f80b196d8", kill_on_drop: false }` [INFO] [stdout] ab3c2f4a8cce0f50b04f17983626249297a66f15080730ccf0b1ad5f80b196d8