[INFO] cloning repository https://github.com/PrecociouslyDigital/motify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PrecociouslyDigital/motify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrecociouslyDigital%2Fmotify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrecociouslyDigital%2Fmotify'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17e12823353fd5fa9036939984965883d95d1837 [INFO] checking PrecociouslyDigital/motify against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrecociouslyDigital%2Fmotify" "/workspace/builds/worker-119/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-119/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PrecociouslyDigital/motify on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-119/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/PrecociouslyDigital/motify [INFO] finished tweaking git repo https://github.com/PrecociouslyDigital/motify [INFO] tweaked toml for git repo https://github.com/PrecociouslyDigital/motify written to /workspace/builds/worker-119/source/Cargo.toml [INFO] crate git repo https://github.com/PrecociouslyDigital/motify already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04dac52ad20a0d3feb37cb4c1057f3aa347c0abdc4ae12c373706c7ee05e4b67 [INFO] running `Command { std: "docker" "start" "-a" "04dac52ad20a0d3feb37cb4c1057f3aa347c0abdc4ae12c373706c7ee05e4b67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04dac52ad20a0d3feb37cb4c1057f3aa347c0abdc4ae12c373706c7ee05e4b67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04dac52ad20a0d3feb37cb4c1057f3aa347c0abdc4ae12c373706c7ee05e4b67", kill_on_drop: false }` [INFO] [stdout] 04dac52ad20a0d3feb37cb4c1057f3aa347c0abdc4ae12c373706c7ee05e4b67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-119/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e3867b1858caa2d4190ca867cacfc03f5462c8cf19b3c973e80be941ff6e3cd [INFO] running `Command { std: "docker" "start" "-a" "1e3867b1858caa2d4190ca867cacfc03f5462c8cf19b3c973e80be941ff6e3cd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Checking symlink v0.1.0 [INFO] [stderr] Checking home v0.3.4 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking shellexpand v2.1.0 [INFO] [stderr] Compiling bunt-macros v0.2.4 [INFO] [stderr] Checking bunt v0.2.4 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking motify v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `remove_symlink_auto` [INFO] [stdout] --> src/symlink.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use symlink::{symlink_auto, remove_symlink_auto}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/symlink.rs:8:122 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn symlink(source: &String, target: &String, config:&Deploy, progress: &reporter::Reporter) -> Result<(), Box>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/symlink.rs:25:108 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn unsymlink(source: &String, target: &String, progress: &reporter::Reporter) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `fs`, `io` [INFO] [stdout] --> src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{fs, io, error, env}; [INFO] [stdout] | ^^ ^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 59 | let try_block = || -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `remove_symlink_auto` [INFO] [stdout] --> src/symlink.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use symlink::{symlink_auto, remove_symlink_auto}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/symlink.rs:8:122 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn symlink(source: &String, target: &String, config:&Deploy, progress: &reporter::Reporter) -> Result<(), Box>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/symlink.rs:25:108 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn unsymlink(source: &String, target: &String, progress: &reporter::Reporter) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `fs`, `io` [INFO] [stdout] --> src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{fs, io, error, env}; [INFO] [stdout] | ^^ ^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 59 | let try_block = || -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/symlink.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | fs::remove_dir(target); [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 `Result` that must be used [INFO] [stdout] --> src/symlink.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | fs::remove_file(target); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getOSString` should have a snake case name [INFO] [stdout] --> src/config.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) fn getOSString(obj: &Yaml) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_osstring` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `baseString` should have a snake case name [INFO] [stdout] --> src/config.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) fn expand(baseString: &str, vars: &Yaml) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `base_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readYAML` should have a snake case name [INFO] [stdout] --> src/config.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn readYAML(obj: &String, workFun: F) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_yaml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `workFun` should have a snake case name [INFO] [stdout] --> src/config.rs:62:56 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn readYAML(obj: &String, workFun: F) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `work_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileString` should have a snake case name [INFO] [stdout] --> src/config.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let fileString = &fs::read_to_string(obj)?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `file_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/symlink.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | fs::remove_dir(target); [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 `Result` that must be used [INFO] [stdout] --> src/symlink.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | fs::remove_file(target); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getOSString` should have a snake case name [INFO] [stdout] --> src/config.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) fn getOSString(obj: &Yaml) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_osstring` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `baseString` should have a snake case name [INFO] [stdout] --> src/config.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) fn expand(baseString: &str, vars: &Yaml) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `base_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readYAML` should have a snake case name [INFO] [stdout] --> src/config.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn readYAML(obj: &String, workFun: F) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_yaml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `workFun` should have a snake case name [INFO] [stdout] --> src/config.rs:62:56 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn readYAML(obj: &String, workFun: F) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `work_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileString` should have a snake case name [INFO] [stdout] --> src/config.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let fileString = &fs::read_to_string(obj)?; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `file_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "1e3867b1858caa2d4190ca867cacfc03f5462c8cf19b3c973e80be941ff6e3cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e3867b1858caa2d4190ca867cacfc03f5462c8cf19b3c973e80be941ff6e3cd", kill_on_drop: false }` [INFO] [stdout] 1e3867b1858caa2d4190ca867cacfc03f5462c8cf19b3c973e80be941ff6e3cd