[INFO] fetching crate rust2go-mem-ffi 0.2.0... [INFO] testing rust2go-mem-ffi-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rust2go-mem-ffi 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rust2go-mem-ffi 0.2.0 [INFO] finished tweaking crates.io crate rust2go-mem-ffi 0.2.0 [INFO] tweaked toml for crates.io crate rust2go-mem-ffi 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust2go-mem-ffi 0.2.0 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] Locking 69 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] Downloading crates ... [INFO] [stderr] Downloaded auto-const-array v0.2.2 [INFO] [stderr] Downloaded local-sync v0.1.1 [INFO] [stderr] Downloaded rust2go-convert v0.1.0 [INFO] [stderr] Downloaded mem-ring v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] edbd30b928fbb0cf18528303cab5203c8a53b6d31d4d953cfc4c09d54e1c12cb [INFO] running `Command { std: "docker" "start" "-a" "edbd30b928fbb0cf18528303cab5203c8a53b6d31d4d953cfc4c09d54e1c12cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edbd30b928fbb0cf18528303cab5203c8a53b6d31d4d953cfc4c09d54e1c12cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edbd30b928fbb0cf18528303cab5203c8a53b6d31d4d953cfc4c09d54e1c12cb", kill_on_drop: false }` [INFO] [stdout] edbd30b928fbb0cf18528303cab5203c8a53b6d31d4d953cfc4c09d54e1c12cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6e1421e3aa8b48d443233de958837df37e5b5e4205f9e2ea400356abdcadc619 [INFO] running `Command { std: "docker" "start" "-a" "6e1421e3aa8b48d443233de958837df37e5b5e4205f9e2ea400356abdcadc619", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling io-uring v0.6.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling rust2go-convert v0.1.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling local-sync v0.1.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling parking_lot v0.12.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" "6e1421e3aa8b48d443233de958837df37e5b5e4205f9e2ea400356abdcadc619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e1421e3aa8b48d443233de958837df37e5b5e4205f9e2ea400356abdcadc619", kill_on_drop: false }` [INFO] [stdout] 6e1421e3aa8b48d443233de958837df37e5b5e4205f9e2ea400356abdcadc619