[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] d94da56a666060deaab19ea05d827728e7f3a046 [INFO] checking PrecociouslyDigital/motify against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrecociouslyDigital%2Fmotify" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PrecociouslyDigital/motify on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded home v0.3.4 [INFO] [stderr] Downloaded shellexpand v2.1.0 [INFO] [stderr] Downloaded bunt v0.2.4 [INFO] [stderr] Downloaded bunt-macros v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac9a6a69d97e36c40aa61215e1210b6c01c949ec86dd33774acc3a87823b0a79 [INFO] running `Command { std: "docker" "start" "-a" "ac9a6a69d97e36c40aa61215e1210b6c01c949ec86dd33774acc3a87823b0a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac9a6a69d97e36c40aa61215e1210b6c01c949ec86dd33774acc3a87823b0a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac9a6a69d97e36c40aa61215e1210b6c01c949ec86dd33774acc3a87823b0a79", kill_on_drop: false }` [INFO] [stdout] ac9a6a69d97e36c40aa61215e1210b6c01c949ec86dd33774acc3a87823b0a79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cb9c80c8c379807e2897276a27e4d8cb3e0860f52769a4b2f99ff2d49b16637 [INFO] running `Command { std: "docker" "start" "-a" "2cb9c80c8c379807e2897276a27e4d8cb3e0860f52769a4b2f99ff2d49b16637", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Checking symlink v0.1.0 [INFO] [stderr] Checking home v0.3.4 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [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: 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`, and `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: 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: 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`, and `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/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] | ^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn symlink(source: &String, target: &String, config:&Deploy, progress: &reporter::Reporter) -> Result<(), Box>{ [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn symlink(source: &String, target: &String, config:&Deploy, progress: &reporter::Reporter) -> Result<(), Box>{ [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn unsymlink(source: &String, target: &String, progress: &reporter::Reporter) -> Result<(), Box> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn unsymlink(source: &String, target: &String, progress: &reporter::Reporter) -> Result<(), Box> { [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] | ^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | let try_block = || -> Result<(), Box> { [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] | ^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | let try_block = || -> Result<(), Box> { [INFO] [stdout] | +++ [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = fs::remove_dir(target); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = fs::remove_file(target); [INFO] [stdout] | +++++++ [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = fs::remove_dir(target); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = fs::remove_file(target); [INFO] [stdout] | +++++++ [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` profile [unoptimized + debuginfo] target(s) in 4.16s [INFO] running `Command { std: "docker" "inspect" "2cb9c80c8c379807e2897276a27e4d8cb3e0860f52769a4b2f99ff2d49b16637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cb9c80c8c379807e2897276a27e4d8cb3e0860f52769a4b2f99ff2d49b16637", kill_on_drop: false }` [INFO] [stdout] 2cb9c80c8c379807e2897276a27e4d8cb3e0860f52769a4b2f99ff2d49b16637