[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] checking boberhauser/rs-auto-test against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboberhauser%2Frs-auto-test" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boberhauser/rs-auto-test on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-13/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4eb5f38de86f1f8e985e9aee28ed1fba7e3c2002ad28cc7cf00a15029171a4f1 [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" "4eb5f38de86f1f8e985e9aee28ed1fba7e3c2002ad28cc7cf00a15029171a4f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4eb5f38de86f1f8e985e9aee28ed1fba7e3c2002ad28cc7cf00a15029171a4f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eb5f38de86f1f8e985e9aee28ed1fba7e3c2002ad28cc7cf00a15029171a4f1", kill_on_drop: false }` [INFO] [stdout] 4eb5f38de86f1f8e985e9aee28ed1fba7e3c2002ad28cc7cf00a15029171a4f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64de0cb294d3b6e8fa7ba7e0f47cf287bad78f9b19e05160b20a188b9894e588 [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" "64de0cb294d3b6e8fa7ba7e0f47cf287bad78f9b19e05160b20a188b9894e588", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-project-lite v0.1.10 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking futures-core v0.3.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking inotify v0.8.3 [INFO] [stderr] Checking 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[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[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] | ^^^^^^^^ not found in `signal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use nix::sys::socket::SockFlag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `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] 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] warning: use of deprecated macro `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 macro `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 constant `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 constant `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 constant: `AtomicBool::new(false)` [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[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] | ^^^^^^^^ not found in `signal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use nix::sys::socket::SockFlag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `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 macro `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 macro `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 constant `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 constant `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 constant: `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 `SigHandler`, found fn item [INFO] [stdout] | help: try using a variant of the expected enum: `Handler(handle_sigint)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `SigHandler` [INFO] [stdout] found fn item `extern "C" fn(i32) {handle_sigint}` [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 `SigHandler`, found fn item [INFO] [stdout] | help: try using a variant of the expected enum: `Handler(handle_sigint)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `SigHandler` [INFO] [stdout] found fn item `extern "C" fn(i32) {handle_sigint}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0433. [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "64de0cb294d3b6e8fa7ba7e0f47cf287bad78f9b19e05160b20a188b9894e588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64de0cb294d3b6e8fa7ba7e0f47cf287bad78f9b19e05160b20a188b9894e588", kill_on_drop: false }` [INFO] [stdout] 64de0cb294d3b6e8fa7ba7e0f47cf287bad78f9b19e05160b20a188b9894e588