[INFO] fetching crate monoio-io-wrapper 0.1.1... [INFO] testing monoio-io-wrapper-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate monoio-io-wrapper 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate monoio-io-wrapper 0.1.1 [INFO] finished tweaking crates.io crate monoio-io-wrapper 0.1.1 [INFO] tweaked toml for crates.io crate monoio-io-wrapper 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate monoio-io-wrapper 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 43 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded auto-const-array v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c93e72bd995c0ee9184253d4cb1fc1bfc920a9d4c006629ee1aac30571ad01cd [INFO] running `Command { std: "docker" "start" "-a" "c93e72bd995c0ee9184253d4cb1fc1bfc920a9d4c006629ee1aac30571ad01cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c93e72bd995c0ee9184253d4cb1fc1bfc920a9d4c006629ee1aac30571ad01cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c93e72bd995c0ee9184253d4cb1fc1bfc920a9d4c006629ee1aac30571ad01cd", kill_on_drop: false }` [INFO] [stdout] c93e72bd995c0ee9184253d4cb1fc1bfc920a9d4c006629ee1aac30571ad01cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6aff1411c1c507e2d2ef58f5eda9f8f33a5962a4c857de652752e5ac6b7fa4c7 [INFO] running `Command { std: "docker" "start" "-a" "6aff1411c1c507e2d2ef58f5eda9f8f33a5962a4c857de652752e5ac6b7fa4c7", kill_on_drop: false }` [INFO] [stderr] Compiling io-uring v0.6.4 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling monoio-macros v0.1.0 [INFO] [stderr] Compiling auto-const-array v0.2.2 [INFO] [stderr] Compiling monoio v0.2.4 [INFO] [stdout] error[E0432]: unresolved import `libc::statx` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/driver/op/statx.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use libc::statx; [INFO] [stdout] | ^^^^^^^^^^^ no `statx` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 6 - use libc::statx; [INFO] [stdout] 6 + use libc::stat; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 6 - use libc::statx; [INFO] [stdout] 6 + use crate::driver::op::statx; [INFO] [stdout] | [INFO] [stdout] 6 - use libc::statx; [INFO] [stdout] 6 + use crate::driver::op::statx::types::statx; [INFO] [stdout] | [INFO] [stdout] 6 - use libc::statx; [INFO] [stdout] 6 + use io_uring::types::statx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AT_STATX_SYNC_AS_STAT` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/driver/op/statx.rs:73:48 [INFO] [stdout] | [INFO] [stdout] 73 | .flags(libc::AT_EMPTY_PATH | libc::AT_STATX_SYNC_AS_STAT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STATX_ALL` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/driver/op/statx.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | .mask(libc::STATX_ALL) [INFO] [stdout] | ^^^^^^^^^ help: a constant with a similar name exists: `STA_FLL` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/linux/musl/mod.rs:786:1 [INFO] [stdout] | [INFO] [stdout] 786 | pub const STA_FLL: c_int = 0x0008; [INFO] [stdout] | ------------------------ similarly named constant `STA_FLL` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `statx` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/driver/op/statx.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | syscall_u32!(statx( [INFO] [stdout] | ^^^^^ help: a function with a similar name exists: `stat` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/mod.rs:898:5 [INFO] [stdout] | [INFO] [stdout] 898 | pub fn stat(path: *const c_char, buf: *mut stat) -> c_int; [INFO] [stdout] | ---------------------------------------------------------- similarly named function `stat` defined here [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/driver/util.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | let res = unsafe { $fn($($arg, )*) }; [INFO] [stdout] | --- due to this macro variable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STATX_ALL` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/driver/op/statx.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | libc::STATX_ALL, [INFO] [stdout] | ^^^^^^^^^ help: a constant with a similar name exists: `STA_FLL` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/linux/musl/mod.rs:786:1 [INFO] [stdout] | [INFO] [stdout] 786 | pub const STA_FLL: c_int = 0x0008; [INFO] [stdout] | ------------------------ similarly named constant `STA_FLL` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STATX_ALL` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/driver/op/statx.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | .mask(libc::STATX_ALL) [INFO] [stdout] | ^^^^^^^^^ help: a constant with a similar name exists: `STA_FLL` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/linux/musl/mod.rs:786:1 [INFO] [stdout] | [INFO] [stdout] 786 | pub const STA_FLL: c_int = 0x0008; [INFO] [stdout] | ------------------------ similarly named constant `STA_FLL` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `statx` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/driver/op/statx.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | syscall_u32!(statx( [INFO] [stdout] | ^^^^^ help: a function with a similar name exists: `stat` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/mod.rs:898:5 [INFO] [stdout] | [INFO] [stdout] 898 | pub fn stat(path: *const c_char, buf: *mut stat) -> c_int; [INFO] [stdout] | ---------------------------------------------------------- similarly named function `stat` defined here [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/driver/util.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | let res = unsafe { $fn($($arg, )*) }; [INFO] [stdout] | --- due to this macro variable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STATX_ALL` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/driver/op/statx.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | libc::STATX_ALL, [INFO] [stdout] | ^^^^^^^^^ help: a constant with a similar name exists: `STA_FLL` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/linux/musl/mod.rs:786:1 [INFO] [stdout] | [INFO] [stdout] 786 | pub const STA_FLL: c_int = 0x0008; [INFO] [stdout] | ------------------------ similarly named constant `STA_FLL` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AT_STATX_SYNC_AS_STAT` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/fs/file.rs:521:27 [INFO] [stdout] | [INFO] [stdout] 521 | let flags = libc::AT_STATX_SYNC_AS_STAT | libc::AT_EMPTY_PATH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `statx_timestamp` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/fs/metadata/unix.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) stx_btime: libc::statx_timestamp, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `statx` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/fs/metadata/unix.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | impl From for FileAttr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/linux/musl/b64/x86_64/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / s! { [INFO] [stdout] 12 | | pub struct stat { [INFO] [stdout] 13 | | pub st_dev: crate::dev_t, [INFO] [stdout] 14 | | pub st_ino: crate::ino_t, [INFO] [stdout] ... | [INFO] [stdout] 148 | | } [INFO] [stdout] | |_- similarly named struct `stat` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 43 - impl From for FileAttr { [INFO] [stdout] 43 + impl From for FileAttr { [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use io_uring::types::statx; [INFO] [stdout] | [INFO] [stdout] help: if you import `statx`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 43 - impl From for FileAttr { [INFO] [stdout] 43 + impl From for FileAttr { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `statx` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/fs/metadata/unix.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | fn from(buf: libc::statx) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/linux/musl/b64/x86_64/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / s! { [INFO] [stdout] 12 | | pub struct stat { [INFO] [stdout] 13 | | pub st_dev: crate::dev_t, [INFO] [stdout] 14 | | pub st_ino: crate::ino_t, [INFO] [stdout] ... | [INFO] [stdout] 148 | | } [INFO] [stdout] | |_- similarly named struct `stat` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 44 - fn from(buf: libc::statx) -> Self { [INFO] [stdout] 44 + fn from(buf: libc::stat) -> Self { [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use io_uring::types::statx; [INFO] [stdout] | [INFO] [stdout] help: if you import `statx`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 44 - fn from(buf: libc::statx) -> Self { [INFO] [stdout] 44 + fn from(buf: statx) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AT_STATX_SYNC_AS_STAT` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/fs/metadata/mod.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | let flags = libc::AT_STATX_SYNC_AS_STAT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AT_STATX_SYNC_AS_STAT` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/fs/metadata/mod.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | let flags = libc::AT_STATX_SYNC_AS_STAT | libc::AT_SYMLINK_NOFOLLOW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STATX_BTIME` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/fs/metadata/mod.rs:245:46 [INFO] [stdout] | [INFO] [stdout] 245 | return if extra.stx_mask & libc::STATX_BTIME != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `monoio` (lib) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "6aff1411c1c507e2d2ef58f5eda9f8f33a5962a4c857de652752e5ac6b7fa4c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aff1411c1c507e2d2ef58f5eda9f8f33a5962a4c857de652752e5ac6b7fa4c7", kill_on_drop: false }` [INFO] [stdout] 6aff1411c1c507e2d2ef58f5eda9f8f33a5962a4c857de652752e5ac6b7fa4c7