[INFO] cloning repository https://github.com/openeuler-mirror/utcpio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/openeuler-mirror/utcpio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopeneuler-mirror%2Futcpio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopeneuler-mirror%2Futcpio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10f736051a625dabea5b2b24ab9b051c69afbc68 [INFO] checking openeuler-mirror/utcpio against try#66388cc165a6c4ac98c074dc9f0281ff23528c55 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopeneuler-mirror%2Futcpio" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/openeuler-mirror/utcpio [INFO] finished tweaking git repo https://github.com/openeuler-mirror/utcpio [INFO] tweaked toml for git repo https://github.com/openeuler-mirror/utcpio written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/openeuler-mirror/utcpio on toolchain 66388cc165a6c4ac98c074dc9f0281ff23528c55 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/openeuler-mirror/utcpio 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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa1229d6dcae81ca2e75dacceebab70286d5cc448b2bebd78a56e40506564f23 [INFO] running `Command { std: "docker" "start" "-a" "aa1229d6dcae81ca2e75dacceebab70286d5cc448b2bebd78a56e40506564f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa1229d6dcae81ca2e75dacceebab70286d5cc448b2bebd78a56e40506564f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa1229d6dcae81ca2e75dacceebab70286d5cc448b2bebd78a56e40506564f23", kill_on_drop: false }` [INFO] [stdout] aa1229d6dcae81ca2e75dacceebab70286d5cc448b2bebd78a56e40506564f23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bb5730a2db75763cb90112b9d444adbcefe1dcf2cfd1270d6efb762baaf7fb7 [INFO] running `Command { std: "docker" "start" "-a" "6bb5730a2db75763cb90112b9d444adbcefe1dcf2cfd1270d6efb762baaf7fb7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking utcpio v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking pax v0.1.0 (/opt/rustwide/workdir/pax) [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking gnu v0.1.0 (/opt/rustwide/workdir/gnu) [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> gnu/fdutimensat.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::io::AsRawFd` [INFO] [stdout] --> gnu/fdutimensat.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | use std::os::unix::io::AsRawFd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[should_panic]` should only be applied to functions annotated with `#[test]` or `#[bench]` [INFO] [stdout] --> gnu/xmalloc.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | #[should_panic] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[should_panic]` should only be applied to functions annotated with `#[test]` or `#[bench]` [INFO] [stdout] --> gnu/xmalloc.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | #[should_panic] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[should_panic]` should only be applied to functions annotated with `#[test]` or `#[bench]` [INFO] [stdout] --> gnu/xmalloc.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | #[should_panic] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[should_panic]` should only be applied to functions annotated with `#[test]` or `#[bench]` [INFO] [stdout] --> gnu/xmalloc.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | #[should_panic] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[should_panic]` should only be applied to functions annotated with `#[test]` or `#[bench]` [INFO] [stdout] --> gnu/xmalloc.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | #[should_panic] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[should_panic]` should only be applied to functions annotated with `#[test]` or `#[bench]` [INFO] [stdout] --> gnu/xmalloc.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | #[should_panic] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[should_panic]` should only be applied to functions annotated with `#[test]` or `#[bench]` [INFO] [stdout] --> gnu/xmalloc.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | #[should_panic] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> gnu/intprops.rs:355:20 [INFO] [stdout] | [INFO] [stdout] 355 | assert_eq!(u64::bit_width(), 64); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `intprops::BitWidth::bit_width(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(uint_bit_width)]` to the crate attributes to enable `bitflags::core::num::::bit_width` [INFO] [stdout] --> gnu/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #![feature(uint_bit_width)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> gnu/full_write.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | fn mock_safe_write(fd: &mut RawFd, buf: &[u8], len: i32) -> io::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> gnu/full_write.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | fn mock_safe_write(fd: &mut RawFd, buf: &[u8], len: i32) -> io::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> gnu/full_write.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | let mut fd = unsafe { std::os::unix::io::RawFd::from(1) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> gnu/full_write.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | let mut fd = unsafe { std::os::unix::io::RawFd::from(1) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> gnu/full_write.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | let mut fd = unsafe { std::os::unix::io::RawFd::from(1) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gnu` (lib test) due to 7 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6bb5730a2db75763cb90112b9d444adbcefe1dcf2cfd1270d6efb762baaf7fb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bb5730a2db75763cb90112b9d444adbcefe1dcf2cfd1270d6efb762baaf7fb7", kill_on_drop: false }` [INFO] [stdout] 6bb5730a2db75763cb90112b9d444adbcefe1dcf2cfd1270d6efb762baaf7fb7