[INFO] cloning repository https://github.com/boluobanana/rust_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/boluobanana/rust_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboluobanana%2Frust_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboluobanana%2Frust_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62d1f85c60115ac7185bc7c5e6972c1724419ec2 [INFO] checking boluobanana/rust_example/62d1f85c60115ac7185bc7c5e6972c1724419ec2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboluobanana%2Frust_example" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boluobanana/rust_example on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/boluobanana/rust_example [INFO] finished tweaking git repo https://github.com/boluobanana/rust_example [INFO] tweaked toml for git repo https://github.com/boluobanana/rust_example written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/boluobanana/rust_example 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-lite v0.1.11 [INFO] [stderr] Downloaded signal-hook-registry v1.2.2 [INFO] [stderr] Downloaded socket2 v0.3.15 [INFO] [stderr] Downloaded simple_logger v1.11.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.22 [INFO] [stderr] Downloaded net2 v0.2.35 [INFO] [stderr] Downloaded cloudabi v0.1.0 [INFO] [stderr] Downloaded colored v1.9.3 [INFO] [stderr] Downloaded time v0.1.44 [INFO] [stderr] Downloaded parking_lot_core v0.8.0 [INFO] [stderr] Downloaded toml v0.5.7 [INFO] [stderr] Downloaded cc v1.0.62 [INFO] [stderr] Downloaded serde v1.0.117 [INFO] [stderr] Downloaded serde_derive v1.0.117 [INFO] [stderr] Downloaded once_cell v1.5.2 [INFO] [stderr] Downloaded serde_json v1.0.59 [INFO] [stderr] Downloaded smithay-client-toolkit v0.12.0 [INFO] [stderr] Downloaded smallvec v1.4.2 [INFO] [stderr] Downloaded syn v1.0.48 [INFO] [stderr] Downloaded cocoa v0.23.0 [INFO] [stderr] Downloaded core-graphics v0.22.1 [INFO] [stderr] Downloaded thiserror v1.0.22 [INFO] [stderr] Downloaded lock_api v0.4.1 [INFO] [stderr] Downloaded parking_lot v0.11.0 [INFO] [stderr] Downloaded futures-core v0.3.7 [INFO] [stderr] Downloaded winit v0.23.0 [INFO] [stderr] Downloaded tokio v0.2.22 [INFO] [stderr] Downloaded memmap v0.7.0 [INFO] [stderr] Downloaded hermit-abi v0.1.17 [INFO] [stderr] Downloaded libc v0.2.80 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d654471db6461edce6b105bc3c990d878cbefd0ac27245371d7579a6ec0ad6de [INFO] running `Command { std: "docker" "start" "-a" "d654471db6461edce6b105bc3c990d878cbefd0ac27245371d7579a6ec0ad6de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d654471db6461edce6b105bc3c990d878cbefd0ac27245371d7579a6ec0ad6de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d654471db6461edce6b105bc3c990d878cbefd0ac27245371d7579a6ec0ad6de", kill_on_drop: false }` [INFO] [stdout] d654471db6461edce6b105bc3c990d878cbefd0ac27245371d7579a6ec0ad6de [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c53969d0c8760a312d4b0c6232e1ee7bac75c79e417cbf956e457932d8fe37a9 [INFO] running `Command { std: "docker" "start" "-a" "c53969d0c8760a312d4b0c6232e1ee7bac75c79e417cbf956e457932d8fe37a9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking libloading v0.6.6 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking futures-core v0.3.7 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling wayland-sys v0.28.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling run_dylib_example v0.1.0 (/opt/rustwide/workdir/run_dylib_example) [INFO] [stderr] Checking lazy_init_test v0.1.0 (/opt/rustwide/workdir/lazy_init_test) [INFO] [stderr] Checking btree v0.1.0 (/opt/rustwide/workdir/btree) [INFO] [stderr] Checking option_test v0.1.0 (/opt/rustwide/workdir/option_test) [INFO] [stderr] Checking hash_test v0.1.0 (/opt/rustwide/workdir/hash_test) [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> btree/src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut root = Node::new(12); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> btree/src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut root = Node::new(12); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking empty_test v0.1.0 (/opt/rustwide/workdir/empty_test) [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> btree/src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut root = Node::new(12); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> btree/src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut root = Node::new(12); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::hash_map::DefaultHasher` [INFO] [stdout] --> hash_test/src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::hash_map::DefaultHasher, hash::{Hash, Hasher}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::hash_map::DefaultHasher` [INFO] [stdout] --> hash_test/src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::hash_map::DefaultHasher, hash::{Hash, Hasher}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> hash_test/src/main.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | fn hash(&self, state: &mut H) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> hash_test/src/main.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | fn hash(&self, state: &mut H) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hash_test/src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | Clean(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | Clean(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hash_test/src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | Render(u32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Render(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hash_test/src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | Work(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | Work(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hash_test/src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | Clean(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | Clean(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hash_test/src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | Render(u32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Render(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> hash_test/src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | Work(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | Work(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking system_api_test v0.1.0 (/opt/rustwide/workdir/system_api_test) [INFO] [stdout] warning: unexpected `cfg` condition value: `win` [INFO] [stdout] --> system_api_test/src/os/process.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_os="win")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `win` [INFO] [stdout] --> system_api_test/src/os/process.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(target_os="win")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `Output`, and `io` [INFO] [stdout] --> system_api_test/src/os/process.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io, process::{Command, Output}}; [INFO] [stdout] | ^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_env` is never used [INFO] [stdout] --> run_dylib_example/src/utils.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn print_env() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wayland-scanner v0.28.2 [INFO] [stdout] warning: function `print_env` is never used [INFO] [stdout] --> run_dylib_example/src/utils.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn print_env() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::os::process::terminate_process` [INFO] [stdout] --> system_api_test/src/tests/os/process.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::os::process::terminate_process; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `terminate_process` in `os::process` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> system_api_test/src/os/process.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn terminate_process(pid: i64) -> io::Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> system_api_test/src/os/process.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(target_os="macos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> system_api_test/src/os/process.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn terminate_process(win_handle: HANDLE, exit_code: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `win` feature [INFO] [stdout] --> system_api_test/src/os/process.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(target_os="win")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> system_api_test/src/tests/os/process.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | /// 测试时需手动修改进程id来测试 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | let pid = 7266; [INFO] [stdout] | --------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `win` [INFO] [stdout] --> system_api_test/src/os/process.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_os="win")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `win` [INFO] [stdout] --> system_api_test/src/os/process.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(target_os="win")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `Output`, and `io` [INFO] [stdout] --> system_api_test/src/os/process.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io, process::{Command, Output}}; [INFO] [stdout] | ^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `system_api_test` (bin "system_api_test" test) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c53969d0c8760a312d4b0c6232e1ee7bac75c79e417cbf956e457932d8fe37a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c53969d0c8760a312d4b0c6232e1ee7bac75c79e417cbf956e457932d8fe37a9", kill_on_drop: false }` [INFO] [stdout] c53969d0c8760a312d4b0c6232e1ee7bac75c79e417cbf956e457932d8fe37a9