[INFO] cloning repository https://github.com/illumos/image-builder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/illumos/image-builder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fillumos%2Fimage-builder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fillumos%2Fimage-builder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b83ae76077e9290b3355ece6c3a9476545d8a9b [INFO] testing illumos/image-builder against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fillumos%2Fimage-builder" "/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/illumos/image-builder [INFO] finished tweaking git repo https://github.com/illumos/image-builder [INFO] tweaked toml for git repo https://github.com/illumos/image-builder written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/illumos/image-builder on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/illumos/image-builder 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/jclulow/rust-jmclib` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded walkdir v2.3.3 [INFO] [stderr] Downloaded cpufeatures v0.2.9 [INFO] [stderr] Downloaded md-5 v0.9.1 [INFO] [stderr] Downloaded sha-1 v0.9.8 [INFO] [stderr] Downloaded libdevinfo-sys v1.0.0 [INFO] [stderr] Downloaded num_threads v0.1.6 [INFO] [stderr] Downloaded quote v1.0.31 [INFO] [stderr] Downloaded unicode-width v0.1.10 [INFO] [stderr] Downloaded slog v2.7.0 [INFO] [stderr] Downloaded typenum v1.16.0 [INFO] [stderr] Downloaded rustversion v1.0.14 [INFO] [stderr] Downloaded thread_local v1.1.7 [INFO] [stderr] Downloaded serde_json v1.0.103 [INFO] [stderr] Downloaded slog-term v2.9.0 [INFO] [stderr] Downloaded syn v2.0.32 [INFO] [stderr] Downloaded rustix v0.38.4 [INFO] [stderr] Downloaded linux-raw-sys v0.4.3 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17f5d861db572e50ce800ac1dcc09ad93f78bb6d9d05fbda05afb58760adee4c [INFO] running `Command { std: "docker" "start" "-a" "17f5d861db572e50ce800ac1dcc09ad93f78bb6d9d05fbda05afb58760adee4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17f5d861db572e50ce800ac1dcc09ad93f78bb6d9d05fbda05afb58760adee4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f5d861db572e50ce800ac1dcc09ad93f78bb6d9d05fbda05afb58760adee4c", kill_on_drop: false }` [INFO] [stdout] 17f5d861db572e50ce800ac1dcc09ad93f78bb6d9d05fbda05afb58760adee4c [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb2fe2c4e241dfa945d06e418b20e8cc444bebbf85f9a596f96d1a9f6f020a11 [INFO] running `Command { std: "docker" "start" "-a" "eb2fe2c4e241dfa945d06e418b20e8cc444bebbf85f9a596f96d1a9f6f020a11", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling libdevinfo-sys v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling slog-term v2.9.0 [INFO] [stderr] Compiling tempfile v3.7.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling jmclib v0.1.0 (https://github.com/jclulow/rust-jmclib#98fb2268) [INFO] [stderr] Compiling illumos-image-builder v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `___errno` in crate `libc` [INFO] [stdout] --> src/ensure.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | let e = *libc::___errno(); [INFO] [stdout] | ^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `___errno` in crate `libc` [INFO] [stdout] --> src/ensure.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | let e = *libc::___errno(); [INFO] [stdout] | ^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `___errno` in crate `libc` [INFO] [stdout] --> src/ensure.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 149 | let e = *libc::___errno(); [INFO] [stdout] | ^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `___errno` in crate `libc` [INFO] [stdout] --> src/lofi.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | let enp = libc::___errno(); [INFO] [stdout] | ^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `___errno` in crate `libc` [INFO] [stdout] --> src/lofi.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let enp = libc::___errno(); [INFO] [stdout] | ^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lofi.rs:162:49 [INFO] [stdout] | [INFO] [stdout] 162 | let res = unsafe { libc::ioctl(self.fd, cmd, li as *mut LofiIoctl) }; [INFO] [stdout] | ----------- ^^^ expected `u64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.147/src/unix/linux_like/linux/gnu/mod.rs:1243:12 [INFO] [stdout] | [INFO] [stdout] 1243 | pub fn ioctl(fd: ::c_int, request: ::c_ulong, ...) -> ::c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: you can convert an `i32` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 162 | let res = unsafe { libc::ioctl(self.fd, cmd.try_into().unwrap(), li as *mut LofiIoctl) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lofi.rs:212:49 [INFO] [stdout] | [INFO] [stdout] 212 | let res = unsafe { libc::ioctl(fd.fd(), LOFI_GET_FILENAME, &mut li) }; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ expected `u64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.147/src/unix/linux_like/linux/gnu/mod.rs:1243:12 [INFO] [stdout] | [INFO] [stdout] 1243 | pub fn ioctl(fd: ::c_int, request: ::c_ulong, ...) -> ::c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: you can convert an `i32` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 212 | let res = unsafe { libc::ioctl(fd.fd(), LOFI_GET_FILENAME.try_into().unwrap(), &mut li) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `illumos-image-builder` (bin "image-builder") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "eb2fe2c4e241dfa945d06e418b20e8cc444bebbf85f9a596f96d1a9f6f020a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb2fe2c4e241dfa945d06e418b20e8cc444bebbf85f9a596f96d1a9f6f020a11", kill_on_drop: false }` [INFO] [stdout] eb2fe2c4e241dfa945d06e418b20e8cc444bebbf85f9a596f96d1a9f6f020a11