[INFO] cloning repository https://github.com/roblabla/spawn-ios [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roblabla/spawn-ios" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fspawn-ios", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fspawn-ios'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdb66f86ed8b8f9bf50865f7b2e9d54f8f0138d4 [INFO] checking roblabla/spawn-ios against master#8365fcb2b840c95eeb0bc377af8bd498fad22245 for pr-145604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fspawn-ios" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/roblabla/spawn-ios [INFO] finished tweaking git repo https://github.com/roblabla/spawn-ios [INFO] tweaked toml for git repo https://github.com/roblabla/spawn-ios written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/roblabla/spawn-ios on toolchain 8365fcb2b840c95eeb0bc377af8bd498fad22245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/roblabla/spawn-ios 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" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6219efeae308f51486aeb40c842dc1ca2295c63f2253a8fe274ed9339cbb3ae7 [INFO] running `Command { std: "docker" "start" "-a" "6219efeae308f51486aeb40c842dc1ca2295c63f2253a8fe274ed9339cbb3ae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6219efeae308f51486aeb40c842dc1ca2295c63f2253a8fe274ed9339cbb3ae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6219efeae308f51486aeb40c842dc1ca2295c63f2253a8fe274ed9339cbb3ae7", kill_on_drop: false }` [INFO] [stdout] 6219efeae308f51486aeb40c842dc1ca2295c63f2253a8fe274ed9339cbb3ae7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d42c011c77ba8ee666bf93d05c6efc46b455a0c0645d55c954b2a1d1b3dca26 [INFO] running `Command { std: "docker" "start" "-a" "0d42c011c77ba8ee666bf93d05c6efc46b455a0c0645d55c954b2a1d1b3dca26", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Checking spawn-ios v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `libc::POSIX_SPAWN_CLOEXEC_DEFAULT`, `libc::POSIX_SPAWN_SETEXEC`, `libc::POSIX_SPAWN_START_SUSPENDED` [INFO] [stdout] --> src/main.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use libc::{POSIX_SPAWN_SETPGROUP, POSIX_SPAWN_CLOEXEC_DEFAULT, POSIX_SPAWN_SETEXEC, POSIX_SPAWN_START_SUSPENDED}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `POSIX_SPAWN_START_SUSPENDED` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `POSIX_SPAWN_SETEXEC` in the root [INFO] [stdout] | | help: a similar name exists in the module: `POSIX_SPAWN_SETSIGDEF` [INFO] [stdout] | no `POSIX_SPAWN_CLOEXEC_DEFAULT` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::POSIX_SPAWN_CLOEXEC_DEFAULT`, `libc::POSIX_SPAWN_SETEXEC`, `libc::POSIX_SPAWN_START_SUSPENDED` [INFO] [stdout] --> src/main.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use libc::{POSIX_SPAWN_SETPGROUP, POSIX_SPAWN_CLOEXEC_DEFAULT, POSIX_SPAWN_SETEXEC, POSIX_SPAWN_START_SUSPENDED}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `POSIX_SPAWN_START_SUSPENDED` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `POSIX_SPAWN_SETEXEC` in the root [INFO] [stdout] | | help: a similar name exists in the module: `POSIX_SPAWN_SETSIGDEF` [INFO] [stdout] | no `POSIX_SPAWN_CLOEXEC_DEFAULT` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/posix_spawn/attr.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | let res = unsafe { posix_spawnattr_init(&mut attr) }; [INFO] [stdout] | -------------------- ^^^^^^^^^ expected `*mut posix_spawnattr_t`, found `&mut *mut _` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut posix_spawnattr_t` [INFO] [stdout] found mutable reference `&mut *mut _` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.137/src/unix/linux_like/linux/mod.rs:4302:12 [INFO] [stdout] | [INFO] [stdout] 4302 | pub fn posix_spawnattr_init(attr: *mut posix_spawnattr_t) -> ::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 43 - let res = unsafe { posix_spawnattr_init(&mut attr) }; [INFO] [stdout] 43 + let res = unsafe { posix_spawnattr_init(attr) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/posix_spawn/attr.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | Ok(PosixSpawnAttr(attr)) [INFO] [stdout] | -------------- ^^^^ expected `posix_spawnattr_t`, found `*mut _` [INFO] [stdout] | | [INFO] [stdout] | arguments to this struct are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `posix_spawnattr_t` [INFO] [stdout] found raw pointer `*mut _` [INFO] [stdout] note: tuple struct defined here [INFO] [stdout] --> src/posix_spawn/attr.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct PosixSpawnAttr(posix_spawnattr_t); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/posix_spawn/file_action.rs:17:58 [INFO] [stdout] | [INFO] [stdout] 17 | let res = unsafe { posix_spawn_file_actions_init(&mut actions) }; [INFO] [stdout] | ----------------------------- ^^^^^^^^^^^^ expected `*mut posix_spawn_file_actions_t`, found `&mut *mut _` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut posix_spawn_file_actions_t` [INFO] [stdout] found mutable reference `&mut *mut _` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.137/src/unix/linux_like/linux/mod.rs:4344:12 [INFO] [stdout] | [INFO] [stdout] 4344 | pub fn posix_spawn_file_actions_init(actions: *mut posix_spawn_file_actions_t) -> ::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 17 - let res = unsafe { posix_spawn_file_actions_init(&mut actions) }; [INFO] [stdout] 17 + let res = unsafe { posix_spawn_file_actions_init(actions) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/posix_spawn/file_action.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(PosixSpawnFileActions(actions)) [INFO] [stdout] | --------------------- ^^^^^^^ expected `posix_spawn_file_actions_t`, found `*mut _` [INFO] [stdout] | | [INFO] [stdout] | arguments to this struct are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `posix_spawn_file_actions_t` [INFO] [stdout] found raw pointer `*mut _` [INFO] [stdout] note: tuple struct defined here [INFO] [stdout] --> src/posix_spawn/file_action.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PosixSpawnFileActions(posix_spawn_file_actions_t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/posix_spawn/file_action.rs:28:123 [INFO] [stdout] | [INFO] [stdout] 28 | let res = unsafe { posix_spawn_file_actions_addopen(&mut self.0, fd, path_cstr.as_ptr() as *const c_char, oflags, perms) }; [INFO] [stdout] | -------------------------------- arguments to this function are incorrect ^^^^^ expected `u32`, found `u16` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.137/src/unix/linux_like/linux/mod.rs:4346:12 [INFO] [stdout] | [INFO] [stdout] 4346 | pub fn posix_spawn_file_actions_addopen( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u16` to a `u32` [INFO] [stdout] | [INFO] [stdout] 28 | let res = unsafe { posix_spawn_file_actions_addopen(&mut self.0, fd, path_cstr.as_ptr() as *const c_char, oflags, perms.into()) }; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/posix_spawn/attr.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | let res = unsafe { posix_spawnattr_init(&mut attr) }; [INFO] [stdout] | -------------------- ^^^^^^^^^ expected `*mut posix_spawnattr_t`, found `&mut *mut _` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut posix_spawnattr_t` [INFO] [stdout] found mutable reference `&mut *mut _` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.137/src/unix/linux_like/linux/mod.rs:4302:12 [INFO] [stdout] | [INFO] [stdout] 4302 | pub fn posix_spawnattr_init(attr: *mut posix_spawnattr_t) -> ::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 43 - let res = unsafe { posix_spawnattr_init(&mut attr) }; [INFO] [stdout] 43 + let res = unsafe { posix_spawnattr_init(attr) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/posix_spawn/attr.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | Ok(PosixSpawnAttr(attr)) [INFO] [stdout] | -------------- ^^^^ expected `posix_spawnattr_t`, found `*mut _` [INFO] [stdout] | | [INFO] [stdout] | arguments to this struct are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `posix_spawnattr_t` [INFO] [stdout] found raw pointer `*mut _` [INFO] [stdout] note: tuple struct defined here [INFO] [stdout] --> src/posix_spawn/attr.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct PosixSpawnAttr(posix_spawnattr_t); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/posix_spawn/file_action.rs:17:58 [INFO] [stdout] | [INFO] [stdout] 17 | let res = unsafe { posix_spawn_file_actions_init(&mut actions) }; [INFO] [stdout] | ----------------------------- ^^^^^^^^^^^^ expected `*mut posix_spawn_file_actions_t`, found `&mut *mut _` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut posix_spawn_file_actions_t` [INFO] [stdout] found mutable reference `&mut *mut _` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.137/src/unix/linux_like/linux/mod.rs:4344:12 [INFO] [stdout] | [INFO] [stdout] 4344 | pub fn posix_spawn_file_actions_init(actions: *mut posix_spawn_file_actions_t) -> ::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 17 - let res = unsafe { posix_spawn_file_actions_init(&mut actions) }; [INFO] [stdout] 17 + let res = unsafe { posix_spawn_file_actions_init(actions) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/posix_spawn/file_action.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(PosixSpawnFileActions(actions)) [INFO] [stdout] | --------------------- ^^^^^^^ expected `posix_spawn_file_actions_t`, found `*mut _` [INFO] [stdout] | | [INFO] [stdout] | arguments to this struct are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `posix_spawn_file_actions_t` [INFO] [stdout] found raw pointer `*mut _` [INFO] [stdout] note: tuple struct defined here [INFO] [stdout] --> src/posix_spawn/file_action.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PosixSpawnFileActions(posix_spawn_file_actions_t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/posix_spawn/file_action.rs:28:123 [INFO] [stdout] | [INFO] [stdout] 28 | let res = unsafe { posix_spawn_file_actions_addopen(&mut self.0, fd, path_cstr.as_ptr() as *const c_char, oflags, perms) }; [INFO] [stdout] | -------------------------------- arguments to this function are incorrect ^^^^^ expected `u32`, found `u16` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.137/src/unix/linux_like/linux/mod.rs:4346:12 [INFO] [stdout] | [INFO] [stdout] 4346 | pub fn posix_spawn_file_actions_addopen( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `u16` to a `u32` [INFO] [stdout] | [INFO] [stdout] 28 | let res = unsafe { posix_spawn_file_actions_addopen(&mut self.0, fd, path_cstr.as_ptr() as *const c_char, oflags, perms.into()) }; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spawn-ios` (bin "spawn-ios") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spawn-ios` (bin "spawn-ios" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "0d42c011c77ba8ee666bf93d05c6efc46b455a0c0645d55c954b2a1d1b3dca26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d42c011c77ba8ee666bf93d05c6efc46b455a0c0645d55c954b2a1d1b3dca26", kill_on_drop: false }` [INFO] [stdout] 0d42c011c77ba8ee666bf93d05c6efc46b455a0c0645d55c954b2a1d1b3dca26