[INFO] cloning repository https://github.com/yuma140902/dotfiles-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuma140902/dotfiles-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuma140902%2Fdotfiles-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuma140902%2Fdotfiles-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8a7bdd22dc769f399624c77f28df994a2ecf72e [INFO] checking yuma140902/dotfiles-rs 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%2Fyuma140902%2Fdotfiles-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yuma140902/dotfiles-rs [INFO] finished tweaking git repo https://github.com/yuma140902/dotfiles-rs [INFO] tweaked toml for git repo https://github.com/yuma140902/dotfiles-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yuma140902/dotfiles-rs 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/yuma140902/dotfiles-rs 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 64e19cc222ae61021e83e42010f4fd646c78b25c098a86b8d225b8e4588739b0 [INFO] running `Command { std: "docker" "start" "-a" "64e19cc222ae61021e83e42010f4fd646c78b25c098a86b8d225b8e4588739b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64e19cc222ae61021e83e42010f4fd646c78b25c098a86b8d225b8e4588739b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64e19cc222ae61021e83e42010f4fd646c78b25c098a86b8d225b8e4588739b0", kill_on_drop: false }` [INFO] [stdout] 64e19cc222ae61021e83e42010f4fd646c78b25c098a86b8d225b8e4588739b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 27923a8f91de03e83c3209a1ce8c471b3ec5397e848ea6870aefbfec8e636564 [INFO] running `Command { std: "docker" "start" "-a" "27923a8f91de03e83c3209a1ce8c471b3ec5397e848ea6870aefbfec8e636564", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking path-dedot v3.0.14 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking path-absolutize v3.0.11 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking more_path_types v0.1.0 (https://github.com/yuma140902/more-path-types-rs?rev=8e585e9#8e585e97) [INFO] [stderr] Checking symlink v0.1.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling clap_derive v3.0.14 [INFO] [stderr] Checking clap v3.0.14 [INFO] [stderr] Checking serde_yaml v0.8.23 [INFO] [stderr] Checking dotfiles v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::result; [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 variable: `f` [INFO] [stdout] --> src/install.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/install.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 81 | enum InstallStatus { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 84 | Error(ErrorKind), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstallStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Errored` is never constructed [INFO] [stdout] --> src/pick.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 57 | enum PickStatus { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 60 | Errored(ErrorKind), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PickStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/install.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / #[clap( [INFO] [stdout] 18 | | long = "repo", [INFO] [stdout] 19 | | short, [INFO] [stdout] 20 | | default_value = "./repos/dotfiles", [INFO] [stdout] ... | [INFO] [stdout] 23 | | /// dotfilesリポジトリの場所。相対パスの場合はホームディレクトリを基準とする。 [INFO] [stdout] 24 | | repository: PathBuf, [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:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / #[clap( [INFO] [stdout] 18 | | long = "repo", [INFO] [stdout] 19 | | short, [INFO] [stdout] 20 | | default_value = "./repos/dotfiles", [INFO] [stdout] ... | [INFO] [stdout] 23 | | /// dotfilesリポジトリの場所。相対パスの場合はホームディレクトリを基準とする。 [INFO] [stdout] 24 | | repository: PathBuf, [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:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / #[clap(long = "base", short = 'b', env = "DOTFILES_BASE")] [INFO] [stdout] 27 | | /// dotfilesをインストールするディレクトリ。デフォルト値はホームディレクトリ。 [INFO] [stdout] 28 | | install_base: Option, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | files_and_dirs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dotfiles` (bin "dotfiles") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / #[clap( [INFO] [stdout] 36 | | long = "repo", [INFO] [stdout] 37 | | short, [INFO] [stdout] 38 | | default_value = "./repos/dotfiles", [INFO] [stdout] ... | [INFO] [stdout] 41 | | /// dotfilesリポジトリの場所。相対パスの場合はホームディレクトリを基準とする。 [INFO] [stdout] 42 | | repository: PathBuf, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / #[clap(long = "base", short = 'b', env = "DOTFILES_BASE")] [INFO] [stdout] 27 | | /// dotfilesをインストールするディレクトリ。デフォルト値はホームディレクトリ。 [INFO] [stdout] 28 | | install_base: Option, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | files_and_dirs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 | / #[clap( [INFO] [stdout] 36 | | long = "repo", [INFO] [stdout] 37 | | short, [INFO] [stdout] 38 | | default_value = "./repos/dotfiles", [INFO] [stdout] ... | [INFO] [stdout] 41 | | /// dotfilesリポジトリの場所。相対パスの場合はホームディレクトリを基準とする。 [INFO] [stdout] 42 | | repository: PathBuf, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / #[clap(long = "base", short = 'b', env = "DOTFILES_BASE")] [INFO] [stdout] 45 | | /// dotfilesをインストールするディレクトリ。デフォルト値はホームディレクトリ。 [INFO] [stdout] 46 | | install_base: Option, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / #[clap(long = "base", short = 'b', env = "DOTFILES_BASE")] [INFO] [stdout] 45 | | /// dotfilesをインストールするディレクトリ。デフォルト値はホームディレクトリ。 [INFO] [stdout] 46 | | install_base: Option, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dotfiles` (bin "dotfiles" test) due to 5 previous errors [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/install.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 81 | enum InstallStatus { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 84 | Error(ErrorKind), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstallStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Errored` is never constructed [INFO] [stdout] --> src/pick.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 57 | enum PickStatus { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 60 | Errored(ErrorKind), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PickStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "27923a8f91de03e83c3209a1ce8c471b3ec5397e848ea6870aefbfec8e636564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27923a8f91de03e83c3209a1ce8c471b3ec5397e848ea6870aefbfec8e636564", kill_on_drop: false }` [INFO] [stdout] 27923a8f91de03e83c3209a1ce8c471b3ec5397e848ea6870aefbfec8e636564