[INFO] cloning repository https://github.com/alevy/initme [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alevy/initme" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falevy%2Finitme", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falevy%2Finitme'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d9f09639480428d14731d1d5e587975a3802305 [INFO] checking alevy/initme against f1c52bf13c990fc425c542cc90a0396a87db24ba for pr-164812 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falevy%2Finitme" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/alevy/initme [INFO] finished tweaking git repo https://github.com/alevy/initme [INFO] tweaked toml for git repo https://github.com/alevy/initme written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alevy/initme on toolchain f1c52bf13c990fc425c542cc90a0396a87db24ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alevy/initme 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" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6c5719212db80f585c8f8a49faf122d8f233a9f0a90d4c871dde7204f2124445 [INFO] running `Command { std: "docker" "start" "6c5719212db80f585c8f8a49faf122d8f233a9f0a90d4c871dde7204f2124445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c5719212db80f585c8f8a49faf122d8f233a9f0a90d4c871dde7204f2124445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6c5719212db80f585c8f8a49faf122d8f233a9f0a90d4c871dde7204f2124445" "/opt/rustwide/cargo-home/bin/cargo" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c5719212db80f585c8f8a49faf122d8f233a9f0a90d4c871dde7204f2124445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6c5719212db80f585c8f8a49faf122d8f233a9f0a90d4c871dde7204f2124445" "/opt/rustwide/cargo-home/bin/cargo" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking initrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/networking.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | ioctl(sockfd, SIOCSIFADDR as i32, &ifr); [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.86/src/unix/linux_like/linux/gnu/mod.rs:1426:12 [INFO] [stdout] | [INFO] [stdout] 1426 | 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] 44 | ioctl(sockfd, (SIOCSIFADDR as i32).try_into().unwrap(), &ifr); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/networking.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | ioctl(sockfd, SIOCSIFADDR as i32, &ifr); [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.86/src/unix/linux_like/linux/gnu/mod.rs:1426:12 [INFO] [stdout] | [INFO] [stdout] 1426 | 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] 44 | ioctl(sockfd, (SIOCSIFADDR as i32).try_into().unwrap(), &ifr); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/networking.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | ioctl(sockfd, SIOCSIFBRDADDR as i32, &ifr); [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.86/src/unix/linux_like/linux/gnu/mod.rs:1426:12 [INFO] [stdout] | [INFO] [stdout] 1426 | 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] 55 | ioctl(sockfd, (SIOCSIFBRDADDR as i32).try_into().unwrap(), &ifr); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/networking.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | ioctl(sockfd, SIOCSIFBRDADDR as i32, &ifr); [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.86/src/unix/linux_like/linux/gnu/mod.rs:1426:12 [INFO] [stdout] | [INFO] [stdout] 1426 | 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] 55 | ioctl(sockfd, (SIOCSIFBRDADDR as i32).try_into().unwrap(), &ifr); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/networking.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | ioctl(sockfd, SIOCSIFNETMASK as i32, &ifr); [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.86/src/unix/linux_like/linux/gnu/mod.rs:1426:12 [INFO] [stdout] | [INFO] [stdout] 1426 | 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] 66 | ioctl(sockfd, (SIOCSIFNETMASK as i32).try_into().unwrap(), &ifr); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/networking.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | ioctl(sockfd, SIOCSIFNETMASK as i32, &ifr); [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.86/src/unix/linux_like/linux/gnu/mod.rs:1426:12 [INFO] [stdout] | [INFO] [stdout] 1426 | 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] 66 | ioctl(sockfd, (SIOCSIFNETMASK as i32).try_into().unwrap(), &ifr); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/networking.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | ioctl(sockfd, SIOCSIFFLAGS as i32, &ifr); [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.86/src/unix/linux_like/linux/gnu/mod.rs:1426:12 [INFO] [stdout] | [INFO] [stdout] 1426 | 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] 77 | ioctl(sockfd, (SIOCSIFFLAGS as i32).try_into().unwrap(), &ifr); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/networking.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | ioctl(sockfd, SIOCADDRT as i32, &rt); [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.86/src/unix/linux_like/linux/gnu/mod.rs:1426:12 [INFO] [stdout] | [INFO] [stdout] 1426 | 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] 101 | ioctl(sockfd, (SIOCADDRT as i32).try_into().unwrap(), &rt); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/networking.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | ioctl(sockfd, SIOCSIFFLAGS as i32, &ifr); [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.86/src/unix/linux_like/linux/gnu/mod.rs:1426:12 [INFO] [stdout] | [INFO] [stdout] 1426 | 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] 77 | ioctl(sockfd, (SIOCSIFFLAGS as i32).try_into().unwrap(), &ifr); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/networking.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | ioctl(sockfd, SIOCADDRT as i32, &rt); [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.86/src/unix/linux_like/linux/gnu/mod.rs:1426:12 [INFO] [stdout] | [INFO] [stdout] 1426 | 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] 101 | ioctl(sockfd, (SIOCADDRT as i32).try_into().unwrap(), &rt); [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | nix::sys::reboot::reboot(nix::sys::reboot::RebootMode::RB_POWER_OFF).expect("reboot"); [INFO] [stdout] | ------------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 63 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | nix::sys::reboot::reboot(nix::sys::reboot::RebootMode::RB_POWER_OFF).expect("reboot"); [INFO] [stdout] | ------------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 63 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `initrs` (bin "initrs" test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `initrs` (bin "initrs") due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6c5719212db80f585c8f8a49faf122d8f233a9f0a90d4c871dde7204f2124445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c5719212db80f585c8f8a49faf122d8f233a9f0a90d4c871dde7204f2124445", kill_on_drop: false }` [INFO] [stdout] 6c5719212db80f585c8f8a49faf122d8f233a9f0a90d4c871dde7204f2124445