[INFO] cloning repository https://github.com/seanchen1991/cargo-livereload [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seanchen1991/cargo-livereload" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanchen1991%2Fcargo-livereload", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanchen1991%2Fcargo-livereload'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89cc03a633a9d1690ba62dd40d4afde1505b374a [INFO] testing seanchen1991/cargo-livereload against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanchen1991%2Fcargo-livereload" "/workspace/builds/worker-56/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-56/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seanchen1991/cargo-livereload on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/seanchen1991/cargo-livereload [INFO] finished tweaking git repo https://github.com/seanchen1991/cargo-livereload [INFO] tweaked toml for git repo https://github.com/seanchen1991/cargo-livereload written to /workspace/builds/worker-56/source/Cargo.toml [INFO] crate git repo https://github.com/seanchen1991/cargo-livereload already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ebf74ebcc82e9d6bd7e7ff2e8805a0acc035a61549d8b438f867f4ced488c63 [INFO] running `Command { std: "docker" "start" "-a" "9ebf74ebcc82e9d6bd7e7ff2e8805a0acc035a61549d8b438f867f4ced488c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ebf74ebcc82e9d6bd7e7ff2e8805a0acc035a61549d8b438f867f4ced488c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ebf74ebcc82e9d6bd7e7ff2e8805a0acc035a61549d8b438f867f4ced488c63", kill_on_drop: false }` [INFO] [stdout] 9ebf74ebcc82e9d6bd7e7ff2e8805a0acc035a61549d8b438f867f4ced488c63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5b239d5017848e6b4c3272017909d9c7c44eda0d7014d36443e82631e60180c [INFO] running `Command { std: "docker" "start" "-a" "f5b239d5017848e6b4c3272017909d9c7c44eda0d7014d36443e82631e60180c", 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] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling inotify v0.9.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling notify v5.0.0-pre.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling cargo-livereload v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `Ok` [INFO] [stdout] --> src/main.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | }) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 50 | [INFO] [stdout] 51 | Ok(()) [INFO] [stdout] | -- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(()) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::LevelFilter` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use log::LevelFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env_logger::Builder` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use env_logger::Builder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RecommendedWatcher`, `RecursiveMode`, `Result`, `Watcher` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use notify::{Watcher, RecommendedWatcher, RecursiveMode, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `cargo_livereload` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use structopt::StructOpt; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | use std::io::Write; [INFO] [stdout] 4 | | use tokio::sync::mpsc; [INFO] [stdout] ... | [INFO] [stdout] 51 | | Ok(()) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-livereload` due to 4 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f5b239d5017848e6b4c3272017909d9c7c44eda0d7014d36443e82631e60180c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5b239d5017848e6b4c3272017909d9c7c44eda0d7014d36443e82631e60180c", kill_on_drop: false }` [INFO] [stdout] f5b239d5017848e6b4c3272017909d9c7c44eda0d7014d36443e82631e60180c