[INFO] cloning repository https://github.com/x13a/exec-guard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/x13a/exec-guard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fx13a%2Fexec-guard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fx13a%2Fexec-guard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 777d6162e93d99eaa026a9c220590efdf400f1c9 [INFO] testing x13a/exec-guard against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fx13a%2Fexec-guard" "/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/x13a/exec-guard [INFO] finished tweaking git repo https://github.com/x13a/exec-guard [INFO] tweaked toml for git repo https://github.com/x13a/exec-guard written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/x13a/exec-guard on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/x13a/exec-guard 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32d2ecd51cc53594f17e933dc03d2d6686e3802b558e671ab65f4a985aeef22a [INFO] running `Command { std: "docker" "start" "-a" "32d2ecd51cc53594f17e933dc03d2d6686e3802b558e671ab65f4a985aeef22a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32d2ecd51cc53594f17e933dc03d2d6686e3802b558e671ab65f4a985aeef22a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32d2ecd51cc53594f17e933dc03d2d6686e3802b558e671ab65f4a985aeef22a", kill_on_drop: false }` [INFO] [stdout] 32d2ecd51cc53594f17e933dc03d2d6686e3802b558e671ab65f4a985aeef22a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 731877caa89d93dc351055c36beaa7f6b6a2dd71b23236bfc5f1ab588f1003fe [INFO] running `Command { std: "docker" "start" "-a" "731877caa89d93dc351055c36beaa7f6b6a2dd71b23236bfc5f1ab588f1003fe", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling minisign-verify v0.1.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling procinfo v0.4.2 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling nix v0.20.2 [INFO] [stderr] Compiling as-slice v0.1.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling palaver v0.2.8 [INFO] [stderr] Compiling gexec v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:368:25 [INFO] [stdout] | [INFO] [stdout] 368 | let (pr, pw) = pipe(fcntl::OFlag::O_CLOEXEC)?; [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^ expected `nix::fcntl::OFlag`, found `OFlag` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nix` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.15.0/src/fcntl.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / libc_bitflags!( [INFO] [stdout] 36 | | /// Configuration options for opened files. [INFO] [stdout] 37 | | pub struct OFlag: c_int { [INFO] [stdout] 38 | | /// Mask for the access mode of the file. [INFO] [stdout] ... | [INFO] [stdout] 151 | | ); [INFO] [stdout] | |__^ this is the expected type `nix::fcntl::OFlag` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use nix::{fcntl, unistd}; [INFO] [stdout] | --- one version of crate `nix` used here, as a direct dependency of the current crate [INFO] [stdout] 15 | use palaver::file::{execve, fexecve, memfd_create, pipe, seal_fd}; [INFO] [stdout] | ------- one version of crate `nix` used here, as a dependency of crate `palaver` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.20.2/src/fcntl.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / libc_bitflags!( [INFO] [stdout] 41 | | /// Configuration options for opened files. [INFO] [stdout] 42 | | pub struct OFlag: c_int { [INFO] [stdout] 43 | | /// Mask for the access mode of the file. [INFO] [stdout] ... | [INFO] [stdout] 162 | | ); [INFO] [stdout] | |_^ this is the found type `OFlag` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/palaver-0.2.8/src/file.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn pipe(flags: fcntl::OFlag) -> nix::Result<(Fd, Fd)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this error originates in the macro `bitflags` which comes from the expansion of the macro `libc_bitflags` (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] [stderr] error: could not compile `gexec` (bin "gexec") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "731877caa89d93dc351055c36beaa7f6b6a2dd71b23236bfc5f1ab588f1003fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "731877caa89d93dc351055c36beaa7f6b6a2dd71b23236bfc5f1ab588f1003fe", kill_on_drop: false }` [INFO] [stdout] 731877caa89d93dc351055c36beaa7f6b6a2dd71b23236bfc5f1ab588f1003fe