[INFO] cloning repository https://github.com/million-monkeys/cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/million-monkeys/cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmillion-monkeys%2Fcli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmillion-monkeys%2Fcli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf4cf980487a3e7de0e21162be6cb9bebc8efe7b [INFO] checking million-monkeys/cli against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmillion-monkeys%2Fcli" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/million-monkeys/cli [INFO] finished tweaking git repo https://github.com/million-monkeys/cli [INFO] tweaked toml for git repo https://github.com/million-monkeys/cli written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/million-monkeys/cli on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/million-monkeys/cli 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 008ec099f3d01390c7254f410afa4cdbe3e4155f8b9c193990402361514a447b [INFO] running `Command { std: "docker" "start" "-a" "008ec099f3d01390c7254f410afa4cdbe3e4155f8b9c193990402361514a447b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "008ec099f3d01390c7254f410afa4cdbe3e4155f8b9c193990402361514a447b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "008ec099f3d01390c7254f410afa4cdbe3e4155f8b9c193990402361514a447b", kill_on_drop: false }` [INFO] [stdout] 008ec099f3d01390c7254f410afa4cdbe3e4155f8b9c193990402361514a447b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3db02743ac39191523bf6160354bd58c587d82973685eff57758b5416d9e4971 [INFO] running `Command { std: "docker" "start" "-a" "3db02743ac39191523bf6160354bd58c587d82973685eff57758b5416d9e4971", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking num_threads v0.1.5 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking anymap2 v0.13.0 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling rust-embed-utils v7.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking combine v4.6.3 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking strum v0.24.0 [INFO] [stderr] Checking case_style v0.2.1 [INFO] [stderr] Compiling proc-quote v0.4.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling liquid-derive v0.26.0 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling rust-embed-impl v6.2.0 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking rust-embed v6.3.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking clap v3.1.8 [INFO] [stderr] Checking serde v1.0.136 [INFO] [stderr] Checking toml_edit v0.14.2 [INFO] [stderr] Checking kstring v2.0.0 [INFO] [stderr] Checking multimap v0.8.3 [INFO] [stderr] Checking liquid-core v0.26.0 [INFO] [stderr] Checking liquid-lib v0.26.0 [INFO] [stderr] Checking liquid v0.26.0 [INFO] [stderr] Checking million-monkeys-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `strum_macros::Display` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use strum_macros::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/components.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value` [INFO] [stdout] --> src/components.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use toml_edit::{value, ArrayOfTables, Document, Item, Table}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/events.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Table` and `value` [INFO] [stdout] --> src/events.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use toml_edit::{value, Document, Item, Table}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components` [INFO] [stdout] --> src/module.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum_macros::Display` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use strum_macros::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/components.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value` [INFO] [stdout] --> src/components.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use toml_edit::{value, ArrayOfTables, Document, Item, Table}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/events.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Table` and `value` [INFO] [stdout] --> src/events.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use toml_edit::{value, Document, Item, Table}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components` [INFO] [stdout] --> src/module.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_path` [INFO] [stdout] --> src/module.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let base_path = get_base_path(module, project); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project` [INFO] [stdout] --> src/project.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn dev(project: &str) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/project.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let output = Command::new(binary) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | / /// Project name [INFO] [stdout] 26 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / /// Module name [INFO] [stdout] 36 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / /// Selects a project [INFO] [stdout] 39 | | #[clap(short, long, value_name = "PROJECT")] [INFO] [stdout] 40 | | project: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / #[clap(short, long, value_name = "BUILDDIR")] [INFO] [stdout] 60 | | builddir: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | / /// Source TOML file [INFO] [stdout] 92 | | source: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | / /// Destination directory [INFO] [stdout] 94 | | destination: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `million-monkeys-cli` (bin "mm") due to 6 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `base_path` [INFO] [stdout] --> src/module.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let base_path = get_base_path(module, project); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project` [INFO] [stdout] --> src/project.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn dev(project: &str) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/project.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let output = Command::new(binary) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | / /// Project name [INFO] [stdout] 26 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / /// Module name [INFO] [stdout] 36 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / /// Selects a project [INFO] [stdout] 39 | | #[clap(short, long, value_name = "PROJECT")] [INFO] [stdout] 40 | | project: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / #[clap(short, long, value_name = "BUILDDIR")] [INFO] [stdout] 60 | | builddir: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | / /// Source TOML file [INFO] [stdout] 92 | | source: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | / /// Destination directory [INFO] [stdout] 94 | | destination: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `million-monkeys-cli` (bin "mm" test) due to 6 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3db02743ac39191523bf6160354bd58c587d82973685eff57758b5416d9e4971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db02743ac39191523bf6160354bd58c587d82973685eff57758b5416d9e4971", kill_on_drop: false }` [INFO] [stdout] 3db02743ac39191523bf6160354bd58c587d82973685eff57758b5416d9e4971