[INFO] cloning repository https://github.com/boberhauser/rs-auto-test [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/boberhauser/rs-auto-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboberhauser%2Frs-auto-test"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboberhauser%2Frs-auto-test'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0436e6964514dfb3a956ac18887278bce495095c [INFO] checking boberhauser/rs-auto-test against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboberhauser%2Frs-auto-test" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boberhauser/rs-auto-test on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/boberhauser/rs-auto-test [INFO] finished tweaking git repo https://github.com/boberhauser/rs-auto-test [INFO] tweaked toml for git repo https://github.com/boberhauser/rs-auto-test written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/boberhauser/rs-auto-test already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 45925d938a8e38a2fd660d9330e1b491e585ef2588920ebdd021ef99ebf9846c [INFO] running `"docker" "start" "-a" "45925d938a8e38a2fd660d9330e1b491e585ef2588920ebdd021ef99ebf9846c"` [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking rs-auto-test v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stderr] --> src/main.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | use std::fs::{self, PathExt}; [INFO] [stderr] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::inotify::INotify` [INFO] [stderr] --> src/file_watch.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use self::inotify::INotify; [INFO] [stderr] | ^^^^^^^^^^^^^^^------- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `Inotify` [INFO] [stderr] | no `INotify` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::inotify::wrapper` [INFO] [stderr] --> src/file_watch.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | use self::inotify::wrapper::{Event, Watch}; [INFO] [stderr] | ^^^^^^^ could not find `wrapper` in `inotify` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::inotify::ffi` [INFO] [stderr] --> src/file_watch.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | use self::inotify::ffi::*; [INFO] [stderr] | ^^^ could not find `ffi` in `inotify` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SockFlag` in `signal` [INFO] [stderr] --> src/main.rs:30:21 [INFO] [stderr] | [INFO] [stderr] 30 | signal::SockFlag::empty(), [INFO] [stderr] | ^^^^^^^^ could not find `SockFlag` in `signal` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IN_MODIFY` in this scope [INFO] [stderr] --> src/file_watch.rs:13:31 [INFO] [stderr] | [INFO] [stderr] 13 | pub const WATCH_MODIFY: i32 = IN_MODIFY as i32; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use nix::libc::IN_MODIFY; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IN_CREATE` in this scope [INFO] [stderr] --> src/file_watch.rs:14:31 [INFO] [stderr] | [INFO] [stderr] 14 | pub const WATCH_CREATE: i32 = IN_CREATE as i32; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use nix::libc::IN_CREATE; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IN_DELETE` in this scope [INFO] [stderr] --> src/file_watch.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | pub const WATCH_DELETE: i32 = IN_DELETE as i32; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use nix::libc::IN_DELETE; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:98:22 [INFO] [stderr] | [INFO] [stderr] 98 | for entry in try!(fs::read_dir(dir)) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:99:25 [INFO] [stderr] | [INFO] [stderr] 99 | let entry = try!(entry); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:101:17 [INFO] [stderr] | [INFO] [stderr] 101 | try!(visit_all_dirs_in(&entry.path(), visit)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:94:46 [INFO] [stderr] | [INFO] [stderr] 94 | fn visit_all_dirs_in(dir: &Path, visit: &mut FnMut(&Path)) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Path)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::atomic::ATOMIC_BOOL_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:9:37 [INFO] [stderr] | [INFO] [stderr] 9 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::atomic::ATOMIC_BOOL_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:21:41 [INFO] [stderr] | [INFO] [stderr] 21 | static RECEIVED_INTERRUPT: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicBool::new(false)` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stderr] --> src/main.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | use std::fs::{self, PathExt}; [INFO] [stderr] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::inotify::INotify` [INFO] [stderr] --> src/file_watch.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use self::inotify::INotify; [INFO] [stderr] | ^^^^^^^^^^^^^^^------- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `Inotify` [INFO] [stderr] | no `INotify` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::inotify::wrapper` [INFO] [stderr] --> src/file_watch.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | use self::inotify::wrapper::{Event, Watch}; [INFO] [stderr] | ^^^^^^^ could not find `wrapper` in `inotify` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::inotify::ffi` [INFO] [stderr] --> src/file_watch.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | use self::inotify::ffi::*; [INFO] [stderr] | ^^^ could not find `ffi` in `inotify` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SockFlag` in `signal` [INFO] [stderr] --> src/main.rs:30:21 [INFO] [stderr] | [INFO] [stderr] 30 | signal::SockFlag::empty(), [INFO] [stderr] | ^^^^^^^^ could not find `SockFlag` in `signal` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IN_MODIFY` in this scope [INFO] [stderr] --> src/file_watch.rs:13:31 [INFO] [stderr] | [INFO] [stderr] 13 | pub const WATCH_MODIFY: i32 = IN_MODIFY as i32; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use nix::libc::IN_MODIFY; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IN_CREATE` in this scope [INFO] [stderr] --> src/file_watch.rs:14:31 [INFO] [stderr] | [INFO] [stderr] 14 | pub const WATCH_CREATE: i32 = IN_CREATE as i32; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use nix::libc::IN_CREATE; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IN_DELETE` in this scope [INFO] [stderr] --> src/file_watch.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | pub const WATCH_DELETE: i32 = IN_DELETE as i32; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use nix::libc::IN_DELETE; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:98:22 [INFO] [stderr] | [INFO] [stderr] 98 | for entry in try!(fs::read_dir(dir)) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:99:25 [INFO] [stderr] | [INFO] [stderr] 99 | let entry = try!(entry); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:101:17 [INFO] [stderr] | [INFO] [stderr] 101 | try!(visit_all_dirs_in(&entry.path(), visit)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:94:46 [INFO] [stderr] | [INFO] [stderr] 94 | fn visit_all_dirs_in(dir: &Path, visit: &mut FnMut(&Path)) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Path)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::atomic::ATOMIC_BOOL_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:9:37 [INFO] [stderr] | [INFO] [stderr] 9 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::atomic::ATOMIC_BOOL_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:21:41 [INFO] [stderr] | [INFO] [stderr] 21 | static RECEIVED_INTERRUPT: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicBool::new(false)` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | handle_sigint, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `nix::sys::signal::SigHandler`, found fn item [INFO] [stderr] | help: try using a variant of the expected type: `nix::sys::signal::SigHandler::Handler(handle_sigint)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `nix::sys::signal::SigHandler` [INFO] [stderr] found type `extern "C" fn(i32) {handle_sigint}` [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | handle_sigint, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `nix::sys::signal::SigHandler`, found fn item [INFO] [stderr] | help: try using a variant of the expected type: `nix::sys::signal::SigHandler::Handler(handle_sigint)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `nix::sys::signal::SigHandler` [INFO] [stderr] found type `extern "C" fn(i32) {handle_sigint}` [INFO] [stderr] [INFO] [stderr] error: could not compile `rs-auto-test`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `rs-auto-test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "45925d938a8e38a2fd660d9330e1b491e585ef2588920ebdd021ef99ebf9846c"` [INFO] running `"docker" "rm" "-f" "45925d938a8e38a2fd660d9330e1b491e585ef2588920ebdd021ef99ebf9846c"` [INFO] [stdout] 45925d938a8e38a2fd660d9330e1b491e585ef2588920ebdd021ef99ebf9846c