[INFO] updating cached repository https://github.com/mutohq/Rust--event-loop-handling
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 9dc1e5941a1e96bfd877ad965eff4c0e08dae421
[INFO] documenting mutohq/Rust--event-loop-handling against 1.40.0 for beta-1.41-rustdoc-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmutohq%2FRust--event-loop-handling" "/workspace/builds/worker-9/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mutohq/Rust--event-loop-handling on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/mutohq/Rust--event-loop-handling
[INFO] finished tweaking git repo https://github.com/mutohq/Rust--event-loop-handling
[INFO] tweaked toml for git repo https://github.com/mutohq/Rust--event-loop-handling written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/mutohq/Rust--event-loop-handling already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2a7838591357658339ac925d9523e37babf928aecd4dac3ebe76d40f6d632bfd
[INFO] running `"docker" "start" "-a" "2a7838591357658339ac925d9523e37babf928aecd4dac3ebe76d40f6d632bfd"`
[INFO] [stderr]    Compiling eventloop v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting eventloop v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: `extern` block uses type `mylib::EpollEvent`, which is not FFI-safe
[INFO] [stderr]   --> src/mylib.rs:25:60
[INFO] [stderr]    |
[INFO] [stderr] 25 |       pub fn epoll_ctl(epfd: i32, op: u32, fd: i32, event: *const EpollEvent) -> i32;
[INFO] [stderr]    |                                                            ^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(improper_ctypes)]` on by default
[INFO] [stderr]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stderr]    = note: this struct has unspecified layout
[INFO] [stderr] note: type defined here
[INFO] [stderr]   --> src/mylib.rs:30:3
[INFO] [stderr]    |
[INFO] [stderr] 30 | /   pub struct EpollEvent {
[INFO] [stderr] 31 | |      events: u32,
[INFO] [stderr] 32 | |      fd: i32
[INFO] [stderr] 33 | |    } 
[INFO] [stderr]    | |____^
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` block uses type `mylib::EpollEvent`, which is not FFI-safe
[INFO] [stderr]   --> src/mylib.rs:26:43
[INFO] [stderr]    |
[INFO] [stderr] 26 |       pub fn epoll_wait(epfd: i32, events:*const EpollEvent, maxevents: i32, timeout: i32) -> i32;     
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stderr]    = note: this struct has unspecified layout
[INFO] [stderr] note: type defined here
[INFO] [stderr]   --> src/mylib.rs:30:3
[INFO] [stderr]    |
[INFO] [stderr] 30 | /   pub struct EpollEvent {
[INFO] [stderr] 31 | |      events: u32,
[INFO] [stderr] 32 | |      fd: i32
[INFO] [stderr] 33 | |    } 
[INFO] [stderr]    | |____^
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.46s
[INFO] running `"docker" "inspect" "2a7838591357658339ac925d9523e37babf928aecd4dac3ebe76d40f6d632bfd"`
[INFO] running `"docker" "rm" "-f" "2a7838591357658339ac925d9523e37babf928aecd4dac3ebe76d40f6d632bfd"`
[INFO] [stdout] 2a7838591357658339ac925d9523e37babf928aecd4dac3ebe76d40f6d632bfd
