[INFO] cloning repository https://github.com/thatnewyorker/os-memlock
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thatnewyorker/os-memlock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthatnewyorker%2Fos-memlock", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthatnewyorker%2Fos-memlock'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c85cae5ef245ddea372faa72a7f031acbdc557a4
[INFO] checking thatnewyorker/os-memlock against master#cf79d034aa3d8f396d407aafce6f1ccd818e710e for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthatnewyorker%2Fos-memlock" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/thatnewyorker/os-memlock
[INFO] finished tweaking git repo https://github.com/thatnewyorker/os-memlock
[INFO] tweaked toml for git repo https://github.com/thatnewyorker/os-memlock written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/thatnewyorker/os-memlock on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/thatnewyorker/os-memlock 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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-sys v0.61.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d523da2d478f40ec01d4ed5ca5d0ceb532bb53dfdf56dc7635f11f09c4894670
[INFO] running `Command { std: "docker" "start" "-a" "d523da2d478f40ec01d4ed5ca5d0ceb532bb53dfdf56dc7635f11f09c4894670", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d523da2d478f40ec01d4ed5ca5d0ceb532bb53dfdf56dc7635f11f09c4894670", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d523da2d478f40ec01d4ed5ca5d0ceb532bb53dfdf56dc7635f11f09c4894670", kill_on_drop: false }`
[INFO] [stdout] d523da2d478f40ec01d4ed5ca5d0ceb532bb53dfdf56dc7635f11f09c4894670
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2bdb174c8fa600ce9d77f5036f6bd355b85198aef64d94ab199182fe8c490081
[INFO] running `Command { std: "docker" "start" "-a" "2bdb174c8fa600ce9d77f5036f6bd355b85198aef64d94ab199182fe8c490081", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]     Checking os-memlock v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning[E0133]: call to unsafe function `libc::madvise` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:111:18
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let rc = libc::madvise(addr, len, libc::MADV_DONTDUMP);
[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] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub unsafe fn madvise_dontdump(addr: *mut c_void, len: usize) -> io::Result<()> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a function
[INFO] [stdout]    --> src/lib.rs:282:1
[INFO] [stdout]     |
[INFO] [stdout] 282 | pub fn disable_core_dumps_with_guard() -> io::Result<CoreDumpsDisabledGuard> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:4:9
[INFO] [stdout]     |
[INFO] [stdout]   4 | #![warn(missing_docs)]
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `libc::madvise` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:111:18
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let rc = libc::madvise(addr, len, libc::MADV_DONTDUMP);
[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] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub unsafe fn madvise_dontdump(addr: *mut c_void, len: usize) -> io::Result<()> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a function
[INFO] [stdout]    --> src/lib.rs:282:1
[INFO] [stdout]     |
[INFO] [stdout] 282 | pub fn disable_core_dumps_with_guard() -> io::Result<CoreDumpsDisabledGuard> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:4:9
[INFO] [stdout]     |
[INFO] [stdout]   4 | #![warn(missing_docs)]
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `buf` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> examples/locked_vec.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 |             let mut_ptr = buf.as_mut_ptr() as *mut std::os::raw::c_void;
[INFO] [stdout]    |                           ^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut buf = vec![0u8; len];
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `os-memlock` (example "locked_vec") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "2bdb174c8fa600ce9d77f5036f6bd355b85198aef64d94ab199182fe8c490081", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2bdb174c8fa600ce9d77f5036f6bd355b85198aef64d94ab199182fe8c490081", kill_on_drop: false }`
[INFO] [stdout] 2bdb174c8fa600ce9d77f5036f6bd355b85198aef64d94ab199182fe8c490081
