[INFO] cloning repository https://github.com/sebcyde/CLARITY [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sebcyde/CLARITY" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebcyde%2FCLARITY", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebcyde%2FCLARITY'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01a1b61d76df82ab4ecbec01cf6d43e6ca416df1 [INFO] checking sebcyde/CLARITY/01a1b61d76df82ab4ecbec01cf6d43e6ca416df1 against master#092a284ba0421695f2032c947765429fd7095796 for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebcyde%2FCLARITY" "/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/sebcyde/CLARITY on toolchain 092a284ba0421695f2032c947765429fd7095796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sebcyde/CLARITY [INFO] finished tweaking git repo https://github.com/sebcyde/CLARITY [INFO] tweaked toml for git repo https://github.com/sebcyde/CLARITY written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sebcyde/CLARITY 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" "+092a284ba0421695f2032c947765429fd7095796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f66815b573ae7e0c07cc4f327c176139997a1848a5883ea3cea00541201963d [INFO] running `Command { std: "docker" "start" "-a" "0f66815b573ae7e0c07cc4f327c176139997a1848a5883ea3cea00541201963d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f66815b573ae7e0c07cc4f327c176139997a1848a5883ea3cea00541201963d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f66815b573ae7e0c07cc4f327c176139997a1848a5883ea3cea00541201963d", kill_on_drop: false }` [INFO] [stdout] 0f66815b573ae7e0c07cc4f327c176139997a1848a5883ea3cea00541201963d [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46c43419cfc70f8cc2178c8f3b9f77a2cda5bf1192bc7e0d7aefd8b11de84f08 [INFO] running `Command { std: "docker" "start" "-a" "46c43419cfc70f8cc2178c8f3b9f77a2cda5bf1192bc7e0d7aefd8b11de84f08", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling winnow v0.5.26 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking event-listener v4.0.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking async-lock v3.2.0 [INFO] [stderr] Checking futures-lite v2.1.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking async-task v4.5.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking xdg-home v1.0.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking infer v0.15.0 [INFO] [stderr] Checking notify v5.2.0 [INFO] [stderr] Compiling zvariant_derive v3.15.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling enumflags2_derive v0.7.8 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_repr v0.1.17 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling zbus_macros v3.14.1 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking enumflags2 v0.7.8 [INFO] [stderr] Checking zvariant v3.15.0 [INFO] [stderr] Checking zbus_names v2.6.0 [INFO] [stderr] Checking zbus v3.14.1 [INFO] [stderr] Checking notify-rust v4.10.0 [INFO] [stderr] Checking clarity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `notify::ReadDirectoryChangesWatcher` [INFO] [stdout] --> src/watch.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use notify::{Config, ReadDirectoryChangesWatcher, RecommendedWatcher, RecursiveMode, Watcher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ReadDirectoryChangesWatcher` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] notify::WatcherKind::ReadDirectoryChangesWatcher [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/notify-5.2.0/src/lib.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | pub use windows::ReadDirectoryChangesWatcher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/notify-5.2.0/src/lib.rs:199:7 [INFO] [stdout] | [INFO] [stdout] 199 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_documents_dir` [INFO] [stdout] --> src/configuration.rs:5:66 [INFO] [stdout] | [INFO] [stdout] 5 | get_clarity_directory, get_config_file, get_config_root, get_documents_dir, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File` and `copy` [INFO] [stdout] --> src/editor.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{copy, File}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/editor.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/editor.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `document_dir` [INFO] [stdout] --> src/get_dirs.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use dirs::{config_dir, document_dir, download_dir, home_dir}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `notify::ReadDirectoryChangesWatcher` [INFO] [stdout] --> src/watch.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use notify::{Config, ReadDirectoryChangesWatcher, RecommendedWatcher, RecursiveMode, Watcher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ReadDirectoryChangesWatcher` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] notify::WatcherKind::ReadDirectoryChangesWatcher [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/notify-5.2.0/src/lib.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | pub use windows::ReadDirectoryChangesWatcher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/notify-5.2.0/src/lib.rs:199:7 [INFO] [stdout] | [INFO] [stdout] 199 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut clarity_dir: PathBuf = get_clarity_directory(); [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: unused import: `get_documents_dir` [INFO] [stdout] --> src/configuration.rs:5:66 [INFO] [stdout] | [INFO] [stdout] 5 | get_clarity_directory, get_config_file, get_config_root, get_documents_dir, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File` and `copy` [INFO] [stdout] --> src/editor.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{copy, File}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/editor.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/editor.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `document_dir` [INFO] [stdout] --> src/get_dirs.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use dirs::{config_dir, document_dir, download_dir, home_dir}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clarity` (bin "clarity") due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut clarity_dir: PathBuf = get_clarity_directory(); [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clarity` (bin "clarity" test) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "46c43419cfc70f8cc2178c8f3b9f77a2cda5bf1192bc7e0d7aefd8b11de84f08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46c43419cfc70f8cc2178c8f3b9f77a2cda5bf1192bc7e0d7aefd8b11de84f08", kill_on_drop: false }` [INFO] [stdout] 46c43419cfc70f8cc2178c8f3b9f77a2cda5bf1192bc7e0d7aefd8b11de84f08