[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 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboluobanana%2Frust_example" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boluobanana/rust_example on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83fc6552faa67f65ba4d04b089965dcf792dcdb20060596fda3296fb597aa961 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "83fc6552faa67f65ba4d04b089965dcf792dcdb20060596fda3296fb597aa961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83fc6552faa67f65ba4d04b089965dcf792dcdb20060596fda3296fb597aa961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83fc6552faa67f65ba4d04b089965dcf792dcdb20060596fda3296fb597aa961", kill_on_drop: false }` [INFO] [stdout] 83fc6552faa67f65ba4d04b089965dcf792dcdb20060596fda3296fb597aa961 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de4624f5204919383198cad89a8b1a28a5ede0b6febe42a10d876bf04215ab18 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "de4624f5204919383198cad89a8b1a28a5ede0b6febe42a10d876bf04215ab18", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking futures-core v0.3.7 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling run_dylib_example v0.1.0 (/opt/rustwide/workdir/run_dylib_example) [INFO] [stderr] Checking btree v0.1.0 (/opt/rustwide/workdir/btree) [INFO] [stderr] Checking empty_test v0.1.0 (/opt/rustwide/workdir/empty_test) [INFO] [stderr] Checking option_test v0.1.0 (/opt/rustwide/workdir/option_test) [INFO] [stderr] Checking system_api_test v0.1.0 (/opt/rustwide/workdir/system_api_test) [INFO] [stdout] warning: unused imports: `Command`, `Output`, `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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hash_test v0.1.0 (/opt/rustwide/workdir/hash_test) [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] [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `Output`, `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 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> btree/src/main.rs:9:9 [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `system_api_test` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field is never read: `cache1` [INFO] [stdout] --> option_test/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | cache1: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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 variable: `root` [INFO] [stdout] --> btree/src/main.rs:9:9 [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 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "de4624f5204919383198cad89a8b1a28a5ede0b6febe42a10d876bf04215ab18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de4624f5204919383198cad89a8b1a28a5ede0b6febe42a10d876bf04215ab18", kill_on_drop: false }` [INFO] [stdout] de4624f5204919383198cad89a8b1a28a5ede0b6febe42a10d876bf04215ab18