[INFO] fetching crate cordon 0.3.0... [INFO] checking cordon-0.3.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate cordon 0.3.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate cordon 0.3.0 [INFO] finished tweaking crates.io crate cordon 0.3.0 [INFO] tweaked toml for crates.io crate cordon 0.3.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cordon 0.3.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cordon 0.3.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04cec16a374af20f0d77179ddeb916373d7f30c917705c7d068513829c9f152c [INFO] running `Command { std: "docker" "start" "-a" "04cec16a374af20f0d77179ddeb916373d7f30c917705c7d068513829c9f152c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04cec16a374af20f0d77179ddeb916373d7f30c917705c7d068513829c9f152c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04cec16a374af20f0d77179ddeb916373d7f30c917705c7d068513829c9f152c", kill_on_drop: false }` [INFO] [stdout] 04cec16a374af20f0d77179ddeb916373d7f30c917705c7d068513829c9f152c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 233016bb74812f35c7198a1f499f764262efbe678bdb9f79fbd82bad77c77e51 [INFO] running `Command { std: "docker" "start" "-a" "233016bb74812f35c7198a1f499f764262efbe678bdb9f79fbd82bad77c77e51", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling eyre v0.6.9 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking c_str_macro v1.0.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking dbus v0.9.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex-automata v0.3.9 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.9.6 [INFO] [stderr] Compiling alloc_counter_macro v0.0.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking alloc_counter v0.0.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking cordon v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/libc_util.rs:146:77 [INFO] [stdout] | [INFO] [stdout] 146 | buf[..path_len + 1].copy_from_slice(unsafe { std::slice::from_raw_parts(path, path_len + 1) }); [INFO] [stdout] | -------------------------- ^^^^ expected `*const u8`, found `*const i8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u8` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/slice/raw.rs:124:21 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/libc_util.rs:161:31 [INFO] [stdout] | [INFO] [stdout] 161 | mkdir_ignoring_eexist(buf.as_ptr())?; [INFO] [stdout] | --------------------- ^^^^^^^^^^^^ expected `*const i8`, found `*const u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found raw pointer `*const u8` [INFO] [stdout] note: closure parameter defined here [INFO] [stdout] --> src/libc_util.rs:128:34 [INFO] [stdout] | [INFO] [stdout] 128 | let mkdir_ignoring_eexist = |path: *const c_char| -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spawn.rs:571:31 [INFO] [stdout] | [INFO] [stdout] 571 | let 0 = libc::umount2(dot, libc::MNT_DETACH) else { [INFO] [stdout] | ------------- ^^^ expected `*const i8`, found `*const u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found raw pointer `*const u8` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.148/src/unix/linux_like/linux/mod.rs:4591:12 [INFO] [stdout] | [INFO] [stdout] 4591 | pub fn umount2(target: *const ::c_char, flags: ::c_int) -> ::c_int; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spawn.rs:576:29 [INFO] [stdout] | [INFO] [stdout] 576 | let 0 = libc::chdir(b"/\0".as_ptr()) else { [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found raw pointer `*const u8` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.148/src/unix/mod.rs:864:12 [INFO] [stdout] | [INFO] [stdout] 864 | pub fn chdir(dir: *const c_char) -> ::c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/libc_util.rs:146:77 [INFO] [stdout] | [INFO] [stdout] 146 | buf[..path_len + 1].copy_from_slice(unsafe { std::slice::from_raw_parts(path, path_len + 1) }); [INFO] [stdout] | -------------------------- ^^^^ expected `*const u8`, found `*const i8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u8` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/slice/raw.rs:124:21 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/libc_util.rs:161:31 [INFO] [stdout] | [INFO] [stdout] 161 | mkdir_ignoring_eexist(buf.as_ptr())?; [INFO] [stdout] | --------------------- ^^^^^^^^^^^^ expected `*const i8`, found `*const u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found raw pointer `*const u8` [INFO] [stdout] note: closure parameter defined here [INFO] [stdout] --> src/libc_util.rs:128:34 [INFO] [stdout] | [INFO] [stdout] 128 | let mkdir_ignoring_eexist = |path: *const c_char| -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spawn.rs:571:31 [INFO] [stdout] | [INFO] [stdout] 571 | let 0 = libc::umount2(dot, libc::MNT_DETACH) else { [INFO] [stdout] | ------------- ^^^ expected `*const i8`, found `*const u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found raw pointer `*const u8` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.148/src/unix/linux_like/linux/mod.rs:4591:12 [INFO] [stdout] | [INFO] [stdout] 4591 | pub fn umount2(target: *const ::c_char, flags: ::c_int) -> ::c_int; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/spawn.rs:576:29 [INFO] [stdout] | [INFO] [stdout] 576 | let 0 = libc::chdir(b"/\0".as_ptr()) else { [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found raw pointer `*const u8` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.148/src/unix/mod.rs:864:12 [INFO] [stdout] | [INFO] [stdout] 864 | pub fn chdir(dir: *const c_char) -> ::c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cordon` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cordon` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "233016bb74812f35c7198a1f499f764262efbe678bdb9f79fbd82bad77c77e51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "233016bb74812f35c7198a1f499f764262efbe678bdb9f79fbd82bad77c77e51", kill_on_drop: false }` [INFO] [stdout] 233016bb74812f35c7198a1f499f764262efbe678bdb9f79fbd82bad77c77e51