[INFO] cloning repository https://github.com/tonyimax/rust_hello [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tonyimax/rust_hello" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyimax%2Frust_hello", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyimax%2Frust_hello'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 007a7ddd4d4b84c4b5e8239b24110006fcb41778 [INFO] checking tonyimax/rust_hello against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyimax%2Frust_hello" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tonyimax/rust_hello [INFO] finished tweaking git repo https://github.com/tonyimax/rust_hello [INFO] tweaked toml for git repo https://github.com/tonyimax/rust_hello written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tonyimax/rust_hello on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tonyimax/rust_hello 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" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ac34e8e5c8234432551333ae08b218c6dc339af743cab64e97f415693d825bb [INFO] running `Command { std: "docker" "start" "-a" "3ac34e8e5c8234432551333ae08b218c6dc339af743cab64e97f415693d825bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ac34e8e5c8234432551333ae08b218c6dc339af743cab64e97f415693d825bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ac34e8e5c8234432551333ae08b218c6dc339af743cab64e97f415693d825bb", kill_on_drop: false }` [INFO] [stdout] 3ac34e8e5c8234432551333ae08b218c6dc339af743cab64e97f415693d825bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48790ec81609671e531c87b77edcf7aca432d2b512ff3269affee5f339441e9c [INFO] running `Command { std: "docker" "start" "-a" "48790ec81609671e531c87b77edcf7aca432d2b512ff3269affee5f339441e9c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking textwrap v0.13.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking ferris-says v0.3.1 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking rust-argon2 v0.3.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking secure-password v0.3.1 [INFO] [stderr] Checking hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/main.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{stdout, BufReader, BufWriter}; //标准库包 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::Display;//标准库fmt包Display函数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buf` and `Bytes` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use bytes::{Bytes,Buf,BytesMut,BufMut}; //crates.io上的bytes包 [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/main.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{stdout, BufReader, BufWriter}; //标准库包 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::Display;//标准库fmt包Display函数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buf` and `Bytes` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use bytes::{Bytes,Buf,BytesMut,BufMut}; //crates.io上的bytes包 [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let x = Point::ORIGIN.x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let y = Point::ORIGIN.y; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cluster_info` is never used [INFO] [stdout] --> src/main.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_cluster_info() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector` is never used [INFO] [stdout] --> src/main.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | type Vector = (f64,f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let x = Point::ORIGIN.x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let y = Point::ORIGIN.y; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cluster_info` is never used [INFO] [stdout] --> src/main.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_cluster_info() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector` is never used [INFO] [stdout] --> src/main.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | type Vector = (f64,f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.02s [INFO] running `Command { std: "docker" "inspect" "48790ec81609671e531c87b77edcf7aca432d2b512ff3269affee5f339441e9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48790ec81609671e531c87b77edcf7aca432d2b512ff3269affee5f339441e9c", kill_on_drop: false }` [INFO] [stdout] 48790ec81609671e531c87b77edcf7aca432d2b512ff3269affee5f339441e9c