[INFO] cloning repository https://github.com/tur461/Mizzle-Drive [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tur461/Mizzle-Drive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftur461%2FMizzle-Drive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftur461%2FMizzle-Drive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e37b8365223749625f21134476ddf2d5ea43173f [INFO] checking tur461/Mizzle-Drive against try#04ea1e1f1a12cfa912c228ca278237d92d0bb6df for pr-148477-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftur461%2FMizzle-Drive" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tur461/Mizzle-Drive [INFO] finished tweaking git repo https://github.com/tur461/Mizzle-Drive [INFO] tweaked toml for git repo https://github.com/tur461/Mizzle-Drive written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tur461/Mizzle-Drive on toolchain 04ea1e1f1a12cfa912c228ca278237d92d0bb6df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tur461/Mizzle-Drive 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" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.158 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52a102a752236b6c0f671684a52e535dfa420ed7f2cfdb88d8d12b2205ad2110 [INFO] running `Command { std: "docker" "start" "-a" "52a102a752236b6c0f671684a52e535dfa420ed7f2cfdb88d8d12b2205ad2110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52a102a752236b6c0f671684a52e535dfa420ed7f2cfdb88d8d12b2205ad2110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52a102a752236b6c0f671684a52e535dfa420ed7f2cfdb88d8d12b2205ad2110", kill_on_drop: false }` [INFO] [stdout] 52a102a752236b6c0f671684a52e535dfa420ed7f2cfdb88d8d12b2205ad2110 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c70977a0e8b51d7be2957401fbcfdd58140ee65d5a615b5938af46b3c0451609 [INFO] running `Command { std: "docker" "start" "-a" "c70977a0e8b51d7be2957401fbcfdd58140ee65d5a615b5938af46b3c0451609", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking mizzlestore v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `umount2` in this scope [INFO] [stdout] --> src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | umount2(target, MntFlags::empty())?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.28.0/src/mount/linux.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | / pub fn mount< [INFO] [stdout] 105 | | P1: ?Sized + NixPath, [INFO] [stdout] 106 | | P2: ?Sized + NixPath, [INFO] [stdout] 107 | | P3: ?Sized + NixPath, [INFO] [stdout] ... | [INFO] [stdout] 114 | | data: Option<&P4>, [INFO] [stdout] 115 | | ) -> Result<()> { [INFO] [stdout] | |_______________- similarly named function `mount` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 96 - umount2(target, MntFlags::empty())?; [INFO] [stdout] 96 + mount(target, MntFlags::empty())?; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use libc::umount2; [INFO] [stdout] | [INFO] [stdout] 1 + use nix::mount::umount2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `umount2` in this scope [INFO] [stdout] --> src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | umount2(target, MntFlags::empty())?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.28.0/src/mount/linux.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | / pub fn mount< [INFO] [stdout] 105 | | P1: ?Sized + NixPath, [INFO] [stdout] 106 | | P2: ?Sized + NixPath, [INFO] [stdout] 107 | | P3: ?Sized + NixPath, [INFO] [stdout] ... | [INFO] [stdout] 114 | | data: Option<&P4>, [INFO] [stdout] 115 | | ) -> Result<()> { [INFO] [stdout] | |_______________- similarly named function `mount` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 96 - umount2(target, MntFlags::empty())?; [INFO] [stdout] 96 + mount(target, MntFlags::empty())?; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use libc::umount2; [INFO] [stdout] | [INFO] [stdout] 1 + use nix::mount::umount2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nix::sys::stat::Mode` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nix::sys::stat::Mode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nix::sys::stat::Mode` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nix::sys::stat::Mode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mkfifo` [INFO] [stdout] --> src/main.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use nix::unistd::{close, ftruncate, mkfifo, write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mkfifo` [INFO] [stdout] --> src/main.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use nix::unistd::{close, ftruncate, mkfifo, write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `nix::errno::::from_i32`: please use `Errno::from_raw()` instead [INFO] [stdout] --> src/main.rs:67:60 [INFO] [stdout] | [INFO] [stdout] 67 | std::fs::create_dir_all(target).map_err(|e| Errno::from_i32(e.raw_os_error().unwrap_or(1)))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `nix::errno::::from_i32`: please use `Errno::from_raw()` instead [INFO] [stdout] --> src/main.rs:67:60 [INFO] [stdout] | [INFO] [stdout] 67 | std::fs::create_dir_all(target).map_err(|e| Errno::from_i32(e.raw_os_error().unwrap_or(1)))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `BorrowedFd::<'_>::borrow_raw` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/main.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | let borrowed_fd = BorrowedFd::borrow_raw(fd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `BorrowedFd::<'_>::borrow_raw` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/main.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | let borrowed_fd = BorrowedFd::borrow_raw(fd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0425. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mizzlestore` (bin "mizzlestore" test) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mizzlestore` (bin "mizzlestore") due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c70977a0e8b51d7be2957401fbcfdd58140ee65d5a615b5938af46b3c0451609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c70977a0e8b51d7be2957401fbcfdd58140ee65d5a615b5938af46b3c0451609", kill_on_drop: false }` [INFO] [stdout] c70977a0e8b51d7be2957401fbcfdd58140ee65d5a615b5938af46b3c0451609