[INFO] fetching crate pathrs 0.1.3... [INFO] testing pathrs-0.1.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pathrs 0.1.3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate pathrs 0.1.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate pathrs 0.1.3 [INFO] tweaked toml for crates.io crate pathrs 0.1.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pathrs 0.1.3 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] crate crates.io crate pathrs 0.1.3 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded open-enum v0.3.0 [INFO] [stderr] Downloaded open-enum-derive v0.3.0 [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] a78795eaa47956c8cec53107a272347d7506584bf8d62b74b76253aa3174f42b [INFO] running `Command { std: "docker" "start" "-a" "a78795eaa47956c8cec53107a272347d7506584bf8d62b74b76253aa3174f42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a78795eaa47956c8cec53107a272347d7506584bf8d62b74b76253aa3174f42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a78795eaa47956c8cec53107a272347d7506584bf8d62b74b76253aa3174f42b", kill_on_drop: false }` [INFO] [stdout] a78795eaa47956c8cec53107a272347d7506584bf8d62b74b76253aa3174f42b [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] e83d5e41b67e0105e6781579bef14f88a07dbf7c19770b844ea38fd912ea5129 [INFO] running `Command { std: "docker" "start" "-a" "e83d5e41b67e0105e6781579bef14f88a07dbf7c19770b844ea38fd912ea5129", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling pathrs v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stdout] error[E0425]: cannot find value `O_FSYNC` in crate `libc` [INFO] [stdout] --> src/flags.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | const O_FSYNC = libc::O_FSYNC; [INFO] [stdout] | ^^^^^^^ help: a constant with a similar name exists: `O_ASYNC` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.159/src/unix/linux_like/linux/musl/b64/x86_64/mod.rs:685:1 [INFO] [stdout] | [INFO] [stdout] 685 | pub const O_ASYNC: ::c_int = 0x2000; [INFO] [stdout] | -------------------------- similarly named constant `O_ASYNC` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `renameat2` in crate `libc` [INFO] [stdout] --> src/syscalls.rs:602:15 [INFO] [stdout] | [INFO] [stdout] 602 | libc::renameat2( [INFO] [stdout] | ^^^^^^^^^ help: a function with a similar name exists: `renameat` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.159/src/unix/mod.rs:848:5 [INFO] [stdout] | [INFO] [stdout] 848 | / pub fn renameat( [INFO] [stdout] 849 | | olddirfd: ::c_int, [INFO] [stdout] 850 | | oldpath: *const ::c_char, [INFO] [stdout] 851 | | newdirfd: ::c_int, [INFO] [stdout] 852 | | newpath: *const ::c_char, [INFO] [stdout] 853 | | ) -> ::c_int; [INFO] [stdout] | |_________________- similarly named function `renameat` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `statx` in crate `libc` [INFO] [stdout] --> src/syscalls.rs:687:19 [INFO] [stdout] | [INFO] [stdout] 687 | ) -> Result { [INFO] [stdout] | ^^^^^ help: a struct with a similar name exists: `stat` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.159/src/unix/linux_like/linux/musl/b64/x86_64/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / s! { [INFO] [stdout] 10 | | pub struct stat { [INFO] [stdout] 11 | | pub st_dev: ::dev_t, [INFO] [stdout] 12 | | pub st_ino: ::ino_t, [INFO] [stdout] ... | [INFO] [stdout] 123 | | } [INFO] [stdout] | |_- similarly named struct `stat` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `statx` in crate `libc` [INFO] [stdout] --> src/syscalls.rs:690:24 [INFO] [stdout] | [INFO] [stdout] 690 | let mut buf: libc::statx = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^ help: a struct with a similar name exists: `stat` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.159/src/unix/linux_like/linux/musl/b64/x86_64/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / s! { [INFO] [stdout] 10 | | pub struct stat { [INFO] [stdout] 11 | | pub st_dev: ::dev_t, [INFO] [stdout] 12 | | pub st_ino: ::ino_t, [INFO] [stdout] ... | [INFO] [stdout] 123 | | } [INFO] [stdout] | |_- similarly named struct `stat` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `statx` in crate `libc` [INFO] [stdout] --> src/syscalls.rs:697:15 [INFO] [stdout] | [INFO] [stdout] 697 | libc::statx( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.159/src/unix/mod.rs:751:5 [INFO] [stdout] | [INFO] [stdout] 751 | pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int; [INFO] [stdout] | ------------------------------------------------------------ similarly named function `stat` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 697 - libc::statx( [INFO] [stdout] 697 + libc::stat( [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 23 + use rustix::fs::statx; [INFO] [stdout] | [INFO] [stdout] help: if you import `statx`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 697 - libc::statx( [INFO] [stdout] 697 + statx( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STATX_MNT_ID` in crate `libc` [INFO] [stdout] --> src/utils/fd.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | let want_mask = libc::STATX_MNT_ID | STATX_MNT_ID_UNIQUE; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/procfs.rs:561:19 [INFO] [stdout] | [INFO] [stdout] 561 | if fs_type != libc::PROC_SUPER_MAGIC { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `i64` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 561 | if fs_type != libc::PROC_SUPER_MAGIC.try_into().unwrap() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/fd.rs:231:43 [INFO] [stdout] | [INFO] [stdout] 231 | Ok(DANGEROUS_FILESYSTEMS.contains(&stat.f_type)) [INFO] [stdout] | -------- ^^^^^^^^^^^^ expected `&i64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&i64` [INFO] [stdout] found reference `&u64` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/slice/mod.rs:2622:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pathrs` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "e83d5e41b67e0105e6781579bef14f88a07dbf7c19770b844ea38fd912ea5129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e83d5e41b67e0105e6781579bef14f88a07dbf7c19770b844ea38fd912ea5129", kill_on_drop: false }` [INFO] [stdout] e83d5e41b67e0105e6781579bef14f88a07dbf7c19770b844ea38fd912ea5129