[INFO] cloning repository https://github.com/boberhauser/rs-auto-test [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboberhauser%2Frs-auto-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0436e6964514dfb3a956ac18887278bce495095c [INFO] testing boberhauser/rs-auto-test against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboberhauser%2Frs-auto-test" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boberhauser/rs-auto-test on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7a08fa963f4a5f59c50ca85a841ad1b7701c54de55371ab8841997f43d609fc7 [INFO] running `Command { std: "docker" "start" "-a" "7a08fa963f4a5f59c50ca85a841ad1b7701c54de55371ab8841997f43d609fc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a08fa963f4a5f59c50ca85a841ad1b7701c54de55371ab8841997f43d609fc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a08fa963f4a5f59c50ca85a841ad1b7701c54de55371ab8841997f43d609fc7", kill_on_drop: false }` [INFO] [stdout] 7a08fa963f4a5f59c50ca85a841ad1b7701c54de55371ab8841997f43d609fc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ebe286c41a33c5ac095e16dc6f917c9ae459dbfe2927f9acec8bf9e831af4a7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7ebe286c41a33c5ac095e16dc6f917c9ae459dbfe2927f9acec8bf9e831af4a7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling inotify v0.8.3 [INFO] [stderr] Compiling rs-auto-test v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> src/main.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::{self, PathExt}; [INFO] [stdout] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::inotify::INotify` [INFO] [stdout] --> src/file_watch.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use self::inotify::INotify; [INFO] [stdout] | ^^^^^^^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Inotify` [INFO] [stdout] | no `INotify` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::inotify::wrapper` [INFO] [stdout] --> src/file_watch.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use self::inotify::wrapper::{Event, Watch}; [INFO] [stdout] | ^^^^^^^ could not find `wrapper` in `inotify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::inotify::ffi` [INFO] [stdout] --> src/file_watch.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use self::inotify::ffi::*; [INFO] [stdout] | ^^^ could not find `ffi` in `inotify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `SockFlag` in `signal` [INFO] [stdout] --> src/main.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | signal::SockFlag::empty(), [INFO] [stdout] | ^^^^^^^^ could not find `SockFlag` in `signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IN_MODIFY` in this scope [INFO] [stdout] --> src/file_watch.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub const WATCH_MODIFY: i32 = IN_MODIFY as i32; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 5 | use nix::libc::IN_MODIFY; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IN_CREATE` in this scope [INFO] [stdout] --> src/file_watch.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | pub const WATCH_CREATE: i32 = IN_CREATE as i32; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 5 | use nix::libc::IN_CREATE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IN_DELETE` in this scope [INFO] [stdout] --> src/file_watch.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub const WATCH_DELETE: i32 = IN_DELETE as i32; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 5 | use nix::libc::IN_DELETE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(path_ext)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/main.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | for entry in try!(fs::read_dir(dir)) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/main.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/main.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | try!(visit_all_dirs_in(&entry.path(), visit)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:94:46 [INFO] [stdout] | [INFO] [stdout] 94 | fn visit_all_dirs_in(dir: &Path, visit: &mut FnMut(&Path)) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Path)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::atomic::ATOMIC_BOOL_INIT': the `new` function is now preferred [INFO] [stdout] --> src/main.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::atomic::ATOMIC_BOOL_INIT': the `new` function is now preferred [INFO] [stdout] --> src/main.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | static RECEIVED_INTERRUPT: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | handle_sigint, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `nix::sys::signal::SigHandler`, found fn item [INFO] [stdout] | help: try using a variant of the expected enum: `nix::sys::signal::SigHandler::Handler(handle_sigint)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `nix::sys::signal::SigHandler` [INFO] [stdout] found fn item `extern "C" fn(i32) {handle_sigint}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rs-auto-test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7ebe286c41a33c5ac095e16dc6f917c9ae459dbfe2927f9acec8bf9e831af4a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ebe286c41a33c5ac095e16dc6f917c9ae459dbfe2927f9acec8bf9e831af4a7", kill_on_drop: false }` [INFO] [stdout] 7ebe286c41a33c5ac095e16dc6f917c9ae459dbfe2927f9acec8bf9e831af4a7