[INFO] fetching crate resource-fork 0.3.6... [INFO] testing resource-fork-0.3.6 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate resource-fork 0.3.6 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate resource-fork 0.3.6 [INFO] finished tweaking crates.io crate resource-fork 0.3.6 [INFO] tweaked toml for crates.io crate resource-fork 0.3.6 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate resource-fork 0.3.6 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate resource-fork 0.3.6 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_core v1.0.221 [INFO] [stderr] Downloaded serde v1.0.221 [INFO] [stderr] Downloaded clap v4.5.47 [INFO] [stderr] Downloaded serde_derive v1.0.221 [INFO] [stderr] Downloaded clap_builder v4.5.47 [INFO] [stderr] Downloaded serde_json v1.0.144 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc5265aa7c38b0a17f5105e625ab796f7bb1ed750a68b40e35a68726399fbae1 [INFO] running `Command { std: "docker" "start" "-a" "dc5265aa7c38b0a17f5105e625ab796f7bb1ed750a68b40e35a68726399fbae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc5265aa7c38b0a17f5105e625ab796f7bb1ed750a68b40e35a68726399fbae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc5265aa7c38b0a17f5105e625ab796f7bb1ed750a68b40e35a68726399fbae1", kill_on_drop: false }` [INFO] [stdout] dc5265aa7c38b0a17f5105e625ab796f7bb1ed750a68b40e35a68726399fbae1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75f07669c3cc15b702022d30b81ee6151068343c57c249180848595c50c2d704 [INFO] running `Command { std: "docker" "start" "-a" "75f07669c3cc15b702022d30b81ee6151068343c57c249180848595c50c2d704", kill_on_drop: false }` [INFO] [stderr] Compiling resource-fork v0.3.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `libc::XATTR_SHOWCOMPRESSION` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::XATTR_SHOWCOMPRESSION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `XATTR_SHOWCOMPRESSION` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `libc::ENOATTR`: ENOATTR is not available on Linux; use ENODATA instead [INFO] [stdout] --> src/lib.rs:126:47 [INFO] [stdout] | [INFO] [stdout] 126 | if e.raw_os_error() == Some(libc::ENOATTR) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `libc::ENOATTR`: ENOATTR is not available on Linux; use ENODATA instead [INFO] [stdout] --> src/lib.rs:161:55 [INFO] [stdout] | [INFO] [stdout] 161 | if e.raw_os_error() == Some(libc::ENOATTR) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | libc::fremovexattr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | XATTR_SHOWCOMPRESSION, [INFO] [stdout] | --------------------- unexpected argument #3 [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.175/src/unix/linux_like/linux/mod.rs:6248:12 [INFO] [stdout] | [INFO] [stdout] 6248 | pub fn fremovexattr(filedes: c_int, name: *const c_char) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 58 - XATTR_NAME.as_ptr(), [INFO] [stdout] 59 - XATTR_SHOWCOMPRESSION, [INFO] [stdout] 58 + XATTR_NAME.as_ptr(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 6 arguments were supplied [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | libc::fsetxattr( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | self.position, [INFO] [stdout] | ------------- expected `i32`, found `u32` [INFO] [stdout] 89 | XATTR_SHOWCOMPRESSION, [INFO] [stdout] | --------------------- unexpected argument #6 [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.175/src/unix/linux_like/linux/mod.rs:6236:12 [INFO] [stdout] | [INFO] [stdout] 6236 | pub fn fsetxattr( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 88 | self.position.try_into().unwrap(), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 88 - self.position, [INFO] [stdout] 88 + /* i32 */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 6 arguments were supplied [INFO] [stdout] --> src/lib.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | libc::fgetxattr( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | self.position, [INFO] [stdout] | ------------- unexpected argument #5 of type `u32` [INFO] [stdout] 121 | XATTR_SHOWCOMPRESSION, [INFO] [stdout] | --------------------- unexpected argument #6 [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.175/src/unix/linux_like/linux/mod.rs:6216:12 [INFO] [stdout] | [INFO] [stdout] 6216 | pub fn fgetxattr( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 119 - buf.len(), [INFO] [stdout] 120 - self.position, [INFO] [stdout] 119 + buf.len(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 6 arguments were supplied [INFO] [stdout] --> src/lib.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | libc::fgetxattr( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | 0, [INFO] [stdout] | - unexpected argument #5 of type `{integer}` [INFO] [stdout] 156 | XATTR_SHOWCOMPRESSION, [INFO] [stdout] | --------------------- unexpected argument #6 [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.175/src/unix/linux_like/linux/mod.rs:6216:12 [INFO] [stdout] | [INFO] [stdout] 6216 | pub fn fgetxattr( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 154 - 0, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `resource-fork` (lib) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "75f07669c3cc15b702022d30b81ee6151068343c57c249180848595c50c2d704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75f07669c3cc15b702022d30b81ee6151068343c57c249180848595c50c2d704", kill_on_drop: false }` [INFO] [stdout] 75f07669c3cc15b702022d30b81ee6151068343c57c249180848595c50c2d704