[INFO] cloning repository https://github.com/kinokosu3/fille-clone-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kinokosu3/fille-clone-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkinokosu3%2Ffille-clone-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkinokosu3%2Ffille-clone-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15aed46b19e61ceb8d9e8453bd533b34a1f2ee52 [INFO] testing kinokosu3/fille-clone-rs against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkinokosu3%2Ffille-clone-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kinokosu3/fille-clone-rs [INFO] finished tweaking git repo https://github.com/kinokosu3/fille-clone-rs [INFO] tweaked toml for git repo https://github.com/kinokosu3/fille-clone-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kinokosu3/fille-clone-rs on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kinokosu3/fille-clone-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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded filetime v0.2.23 [INFO] [stderr] Downloaded cc v1.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1550a6779acd934ee32f881ee061d1d0459a40ec3c9846cb8698f2746bcbbda [INFO] running `Command { std: "docker" "start" "-a" "b1550a6779acd934ee32f881ee061d1d0459a40ec3c9846cb8698f2746bcbbda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1550a6779acd934ee32f881ee061d1d0459a40ec3c9846cb8698f2746bcbbda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1550a6779acd934ee32f881ee061d1d0459a40ec3c9846cb8698f2746bcbbda", kill_on_drop: false }` [INFO] [stdout] b1550a6779acd934ee32f881ee061d1d0459a40ec3c9846cb8698f2746bcbbda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66a923795bcad7ba0d1ec3f6cd4a5fa4b0618af4c16cf9177b806da2e11611de [INFO] running `Command { std: "docker" "start" "-a" "66a923795bcad7ba0d1ec3f6cd4a5fa4b0618af4c16cf9177b806da2e11611de", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling file-watcher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/main.rs:34:52 [INFO] [stdout] | [INFO] [stdout] 34 | let mut watcher = notify::recommended_watcher() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 35 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::sync::Barrier`, `tokio::sync::mpsc` [INFO] [stdout] --> src/main.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::{Barrier, mpsc}; [INFO] [stdout] | ^^^^^^^ ^^^^ no `mpsc` in `sync` [INFO] [stdout] | | [INFO] [stdout] | no `Barrier` in `sync` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::sync::Barrier [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] std::sync::mpsc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> src/main.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | tokio::spawn(async move { monitor_directories().await; }); [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.38.0/src/lib.rs:543:19 [INFO] [stdout] | [INFO] [stdout] 542 | / cfg_rt! { [INFO] [stdout] 543 | | pub use task::spawn; [INFO] [stdout] | | ^^^^^ [INFO] [stdout] 544 | | } [INFO] [stdout] | |_- the item is gated behind the `rt` feature [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] help: if you import `spawn`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 30 - tokio::spawn(async move { monitor_directories().await; }); [INFO] [stdout] 30 + spawn(async move { monitor_directories().await; }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `sync` is private [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::{Barrier, mpsc}; [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `sync` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.38.0/src/lib.rs:538:5 [INFO] [stdout] | [INFO] [stdout] 538 | mod sync; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | tokio::spawn(async move { monitor_directories().await; }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | async fn monitor_directories(tx: EventReceiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ----------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 30 | tokio::spawn(async move { monitor_directories(/* tx */).await; }); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | let mut watcher = notify::recommended_watcher() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/notify-6.1.1/src/lib.rs:404:8 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn recommended_watcher(event_handler: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 34 | let mut watcher = notify::recommended_watcher(/* event_handler */) [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0433, E0603, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `file-watcher` (bin "file-watcher") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "66a923795bcad7ba0d1ec3f6cd4a5fa4b0618af4c16cf9177b806da2e11611de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66a923795bcad7ba0d1ec3f6cd4a5fa4b0618af4c16cf9177b806da2e11611de", kill_on_drop: false }` [INFO] [stdout] 66a923795bcad7ba0d1ec3f6cd4a5fa4b0618af4c16cf9177b806da2e11611de