[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#6db1a6a7ebb2ad243051f3ff949f987dd70cde2b+rustflags=-Dreturn-local-variable-ptr for pr-134218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftur461%2FMizzle-Drive" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tur461/Mizzle-Drive on toolchain 6db1a6a7ebb2ad243051f3ff949f987dd70cde2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [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" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ea0dccf64ad45e1a7c630d2bf2d229ceb69f8946170bc79a3a0cb685c5226ce [INFO] running `Command { std: "docker" "start" "-a" "5ea0dccf64ad45e1a7c630d2bf2d229ceb69f8946170bc79a3a0cb685c5226ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ea0dccf64ad45e1a7c630d2bf2d229ceb69f8946170bc79a3a0cb685c5226ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ea0dccf64ad45e1a7c630d2bf2d229ceb69f8946170bc79a3a0cb685c5226ce", kill_on_drop: false }` [INFO] [stdout] 5ea0dccf64ad45e1a7c630d2bf2d229ceb69f8946170bc79a3a0cb685c5226ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dreturn-local-variable-ptr" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae244a213d47b45cf0bd01f9ad8350c622d8bd43c022c5b53fb95f1c6752515d [INFO] running `Command { std: "docker" "start" "-a" "ae244a213d47b45cf0bd01f9ad8350c622d8bd43c022c5b53fb95f1c6752515d", kill_on_drop: false }` [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking cfg-if v1.0.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-6f17d22bba15001f/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 | 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)]` 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: 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[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-6f17d22bba15001f/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 | 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)]` 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] 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)]` 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: 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] Some errors have detailed explanations: E0133, E0425. [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") due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` 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] 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] running `Command { std: "docker" "inspect" "ae244a213d47b45cf0bd01f9ad8350c622d8bd43c022c5b53fb95f1c6752515d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae244a213d47b45cf0bd01f9ad8350c622d8bd43c022c5b53fb95f1c6752515d", kill_on_drop: false }` [INFO] [stdout] ae244a213d47b45cf0bd01f9ad8350c622d8bd43c022c5b53fb95f1c6752515d