[INFO] cloning repository https://github.com/Military-axe/monitor_process_io [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Military-axe/monitor_process_io" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMilitary-axe%2Fmonitor_process_io", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMilitary-axe%2Fmonitor_process_io'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb01b7ec687e53544cc0aa81b51d52a461ce9c3c [INFO] checking Military-axe/monitor_process_io against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMilitary-axe%2Fmonitor_process_io" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Military-axe/monitor_process_io [INFO] finished tweaking git repo https://github.com/Military-axe/monitor_process_io [INFO] tweaked toml for git repo https://github.com/Military-axe/monitor_process_io written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Military-axe/monitor_process_io on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Military-axe/monitor_process_io already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bc1e1f04e301824d596f61193caf023b7cc51e7da973895a1b6e958bcde3f37 [INFO] running `Command { std: "docker" "start" "-a" "2bc1e1f04e301824d596f61193caf023b7cc51e7da973895a1b6e958bcde3f37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bc1e1f04e301824d596f61193caf023b7cc51e7da973895a1b6e958bcde3f37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bc1e1f04e301824d596f61193caf023b7cc51e7da973895a1b6e958bcde3f37", kill_on_drop: false }` [INFO] [stdout] 2bc1e1f04e301824d596f61193caf023b7cc51e7da973895a1b6e958bcde3f37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bbbaea8bffd4baee75c7f89fd452c17e4c7d08fdf2054fe6c10498a62f7e49d [INFO] running `Command { std: "docker" "start" "-a" "8bbbaea8bffd4baee75c7f89fd452c17e4c7d08fdf2054fe6c10498a62f7e49d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.179 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.179 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking winnow v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking toml_edit v0.19.14 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking toml v0.7.6 [INFO] [stderr] Checking monitor_process_io v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/plugin.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | let mut plugin_interface_array = vec![ [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 43 | | read_default::syscall_read_default, [INFO] [stdout] 44 | | write_default::syscall_write_default, [INFO] [stdout] 45 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected `[...; _]`, found `[fn(..., ..., ...) -> ...; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[for<'a> fn(user_regs_struct, nix::unistd::Pid, &'a std::option::Option>) -> plugin::PluginStatus {syscall_read_default}; _]` [INFO] [stdout] found array `[for<'a> fn(user_regs_struct, nix::unistd::Pid, &'a std::option::Option>) -> plugin::PluginStatus; 2]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `syscall_read_default as for<'a> fn(user_regs_struct, nix::unistd::Pid, &'a std::option::Option>) -> plugin::PluginStatus` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(user_regs_struct, nix::unistd::Pid, &'a std::option::Option>) -> plugin::PluginStatus; 2]` due to the type of the argument passed [INFO] [stdout] --> src/plugin.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | let mut plugin_interface_array = vec![ [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 43 | | read_default::syscall_read_default, [INFO] [stdout] 44 | | write_default::syscall_write_default, [INFO] [stdout] 45 | | ]; [INFO] [stdout] | |_____^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/plugin.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | let mut plugin_interface_array = vec![ [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 43 | | read_default::syscall_read_default, [INFO] [stdout] 44 | | write_default::syscall_write_default, [INFO] [stdout] 45 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected `[...; _]`, found `[fn(..., ..., ...) -> ...; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[for<'a> fn(user_regs_struct, nix::unistd::Pid, &'a std::option::Option>) -> plugin::PluginStatus {syscall_read_default}; _]` [INFO] [stdout] found array `[for<'a> fn(user_regs_struct, nix::unistd::Pid, &'a std::option::Option>) -> plugin::PluginStatus; 2]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `syscall_read_default as for<'a> fn(user_regs_struct, nix::unistd::Pid, &'a std::option::Option>) -> plugin::PluginStatus` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(user_regs_struct, nix::unistd::Pid, &'a std::option::Option>) -> plugin::PluginStatus; 2]` due to the type of the argument passed [INFO] [stdout] --> src/plugin.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | let mut plugin_interface_array = vec![ [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 43 | | read_default::syscall_read_default, [INFO] [stdout] 44 | | write_default::syscall_write_default, [INFO] [stdout] 45 | | ]; [INFO] [stdout] | |_____^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `monitor_process_io` (bin "monitor_process_io") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `monitor_process_io` (bin "monitor_process_io" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "8bbbaea8bffd4baee75c7f89fd452c17e4c7d08fdf2054fe6c10498a62f7e49d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bbbaea8bffd4baee75c7f89fd452c17e4c7d08fdf2054fe6c10498a62f7e49d", kill_on_drop: false }` [INFO] [stdout] 8bbbaea8bffd4baee75c7f89fd452c17e4c7d08fdf2054fe6c10498a62f7e49d