[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] d24a4e70cf72bf83d5ac1d32da28d6f25c41ead8 [INFO] checking illumos/image-builder against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fillumos%2Fimage-builder" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/illumos/image-builder on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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/source/Cargo.toml [INFO] crate git repo https://github.com/illumos/image-builder already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 110b48a739fedeb1d769353d72e47a127945c031f626c1b0134c69fa6325c074 [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" "110b48a739fedeb1d769353d72e47a127945c031f626c1b0134c69fa6325c074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "110b48a739fedeb1d769353d72e47a127945c031f626c1b0134c69fa6325c074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "110b48a739fedeb1d769353d72e47a127945c031f626c1b0134c69fa6325c074", kill_on_drop: false }` [INFO] [stdout] 110b48a739fedeb1d769353d72e47a127945c031f626c1b0134c69fa6325c074 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02b886133a900683a421315a104b6c843db42c05556377f66950538de14a9c0d [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" "02b886133a900683a421315a104b6c843db42c05556377f66950538de14a9c0d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking slog-term v2.6.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking jmclib v0.1.0 (https://github.com/jclulow/rust-jmclib#6bd3ef80) [INFO] [stderr] Checking illumos-image-builder v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `___errno` in crate `libc` [INFO] [stdout] --> src/lofi.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | 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:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | 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/ensure.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | 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:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | 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:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | let e = *libc::___errno(); [INFO] [stdout] | ^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `___errno` in crate `libc` [INFO] [stdout] --> src/lofi.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | 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:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | 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/ensure.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | 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:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | 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:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | let e = *libc::___errno(); [INFO] [stdout] | ^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lofi.rs:158:49 [INFO] [stdout] | [INFO] [stdout] 158 | let res = unsafe { libc::ioctl(self.fd, cmd, li as *mut LofiIoctl) }; [INFO] [stdout] | ^^^ expected `u64`, found `i32` [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] 158 | 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:211:49 [INFO] [stdout] | [INFO] [stdout] 211 | let res = unsafe { libc::ioctl(fd.fd(), LOFI_GET_FILENAME, &mut li) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `i32` [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] 211 | let res = unsafe { libc::ioctl(fd.fd(), LOFI_GET_FILENAME.try_into().unwrap(), &mut li) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [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` [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lofi.rs:158:49 [INFO] [stdout] | [INFO] [stdout] 158 | let res = unsafe { libc::ioctl(self.fd, cmd, li as *mut LofiIoctl) }; [INFO] [stdout] | ^^^ expected `u64`, found `i32` [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] 158 | 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:211:49 [INFO] [stdout] | [INFO] [stdout] 211 | let res = unsafe { libc::ioctl(fd.fd(), LOFI_GET_FILENAME, &mut li) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `i32` [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] 211 | let res = unsafe { libc::ioctl(fd.fd(), LOFI_GET_FILENAME.try_into().unwrap(), &mut li) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "02b886133a900683a421315a104b6c843db42c05556377f66950538de14a9c0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02b886133a900683a421315a104b6c843db42c05556377f66950538de14a9c0d", kill_on_drop: false }` [INFO] [stdout] 02b886133a900683a421315a104b6c843db42c05556377f66950538de14a9c0d