[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] 28131eec4b685052b0a780797925d18198a6ba31 [INFO] checking illumos/image-builder against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fillumos%2Fimage-builder" "/workspace/builds/worker-59/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-59/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/illumos/image-builder on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-59/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d78d00ad15a617d96f5f0d00edf5cd49c7ef1f3dc0cf189a525202e7796fe6a [INFO] running `Command { std: "docker" "start" "-a" "5d78d00ad15a617d96f5f0d00edf5cd49c7ef1f3dc0cf189a525202e7796fe6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d78d00ad15a617d96f5f0d00edf5cd49c7ef1f3dc0cf189a525202e7796fe6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d78d00ad15a617d96f5f0d00edf5cd49c7ef1f3dc0cf189a525202e7796fe6a", kill_on_drop: false }` [INFO] [stdout] 5d78d00ad15a617d96f5f0d00edf5cd49c7ef1f3dc0cf189a525202e7796fe6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92c97945f3511649232684e053daf8648b11fc6bee8e3dabc8022a945f1c7f8d [INFO] running `Command { std: "docker" "start" "-a" "92c97945f3511649232684e053daf8648b11fc6bee8e3dabc8022a945f1c7f8d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling syn v1.0.62 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking slog-term v2.8.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking jmclib v0.1.0 (https://github.com/jclulow/rust-jmclib#6bd3ef80) [INFO] [stderr] Checking illumos-image-builder v0.0.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | 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:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | 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:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | let e = *libc::___errno(); [INFO] [stdout] | ^^^^^^^^ not found in `libc` [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 [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` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | 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:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | 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:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | let e = *libc::___errno(); [INFO] [stdout] | ^^^^^^^^ not found in `libc` [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 [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] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "92c97945f3511649232684e053daf8648b11fc6bee8e3dabc8022a945f1c7f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92c97945f3511649232684e053daf8648b11fc6bee8e3dabc8022a945f1c7f8d", kill_on_drop: false }` [INFO] [stdout] 92c97945f3511649232684e053daf8648b11fc6bee8e3dabc8022a945f1c7f8d