[INFO] updating cached repository boberhauser/rs-auto-test [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/boberhauser/rs-auto-test [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/boberhauser/rs-auto-test" "work/ex/beta-1.38-1/sources/1.37.0/gh/boberhauser/rs-auto-test"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/boberhauser/rs-auto-test'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/boberhauser/rs-auto-test" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/boberhauser/rs-auto-test"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/boberhauser/rs-auto-test'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0436e6964514dfb3a956ac18887278bce495095c [INFO] sha for GitHub repo boberhauser/rs-auto-test: 0436e6964514dfb3a956ac18887278bce495095c [INFO] validating manifest of boberhauser/rs-auto-test on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of boberhauser/rs-auto-test on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing boberhauser/rs-auto-test [INFO] finished frobbing boberhauser/rs-auto-test [INFO] frobbed toml for boberhauser/rs-auto-test written to work/ex/beta-1.38-1/sources/1.37.0/gh/boberhauser/rs-auto-test/Cargo.toml [INFO] started frobbing boberhauser/rs-auto-test [INFO] finished frobbing boberhauser/rs-auto-test [INFO] frobbed toml for boberhauser/rs-auto-test written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/boberhauser/rs-auto-test/Cargo.toml [INFO] crate boberhauser/rs-auto-test already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/boberhauser/rs-auto-test/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing boberhauser/rs-auto-test against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/boberhauser/rs-auto-test:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 5d472bb74e52355bfc9906ff354ff40abcd01012829bdac1a6f674afa7537e44 [INFO] running `"docker" "start" "-a" "5d472bb74e52355bfc9906ff354ff40abcd01012829bdac1a6f674afa7537e44"` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling inotify v0.7.0 [INFO] [stderr] Compiling rs-auto-test v0.0.1 (/opt/crater/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] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(path_ext)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::inotify::ffi::*` [INFO] [stderr] --> src/file_watch.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use self::inotify::ffi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [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] = note: #[warn(deprecated)] 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: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 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0554. [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" "5d472bb74e52355bfc9906ff354ff40abcd01012829bdac1a6f674afa7537e44"` [INFO] running `"docker" "rm" "-f" "5d472bb74e52355bfc9906ff354ff40abcd01012829bdac1a6f674afa7537e44"` [INFO] [stdout] 5d472bb74e52355bfc9906ff354ff40abcd01012829bdac1a6f674afa7537e44