[INFO] cloning repository https://github.com/Xiejinhua123/rust-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xiejinhua123/rust-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiejinhua123%2Frust-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiejinhua123%2Frust-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11d52583f79bb9e8b39edb8f24a2dc80ee249e16 [INFO] testing Xiejinhua123/rust-demo against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXiejinhua123%2Frust-demo" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Xiejinhua123/rust-demo on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Xiejinhua123/rust-demo [INFO] finished tweaking git repo https://github.com/Xiejinhua123/rust-demo [INFO] tweaked toml for git repo https://github.com/Xiejinhua123/rust-demo written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Xiejinhua123/rust-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.systemstat [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a769c17926619d85bc8f7e3c77339a3b9eab4366f9439e87b2c20a730a15ea4 [INFO] running `Command { std: "docker" "start" "-a" "1a769c17926619d85bc8f7e3c77339a3b9eab4366f9439e87b2c20a730a15ea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a769c17926619d85bc8f7e3c77339a3b9eab4366f9439e87b2c20a730a15ea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a769c17926619d85bc8f7e3c77339a3b9eab4366f9439e87b2c20a730a15ea4", kill_on_drop: false }` [INFO] [stdout] 1a769c17926619d85bc8f7e3c77339a3b9eab4366f9439e87b2c20a730a15ea4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff78412864bedf080fe735dc829a9a527a4ecc627eacc5b9e20509626859a61b [INFO] running `Command { std: "docker" "start" "-a" "ff78412864bedf080fe735dc829a9a527a4ecc627eacc5b9e20509626859a61b", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.systemstat [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling const_fn v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling mysql v20.1.0 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling bytesize v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling io-enum v0.2.6 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling lru v0.6.5 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling lexical v5.2.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rust_decimal v1.10.3 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling twox-hash v1.6.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling systemstat v0.1.7 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling mysql_common v0.24.1 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling tokio-util v0.6.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.2 [INFO] [stderr] Compiling hyper v0.14.5 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.2 [INFO] [stderr] Compiling rust-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ptr::null` [INFO] [stdout] --> src/main.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{fs::{self, OpenOptions}, io::Write, ptr::null, thread}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `need_num` [INFO] [stdout] --> src/main.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | let need_num = ["0","1","2","3","4","5","6","7","8","9"]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_need_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ball` [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | async fn ball(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `substr` [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn substr(s: &str, start: usize, length: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `system_monitor` [INFO] [stdout] --> src/main.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn system_monitor() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.69s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] running `Command { std: "docker" "inspect" "ff78412864bedf080fe735dc829a9a527a4ecc627eacc5b9e20509626859a61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff78412864bedf080fe735dc829a9a527a4ecc627eacc5b9e20509626859a61b", kill_on_drop: false }` [INFO] [stdout] ff78412864bedf080fe735dc829a9a527a4ecc627eacc5b9e20509626859a61b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df16ee69fd69d42c04dd2b80f1660d9d1c1eff0e2a2a5f858570f5d2f00271a5 [INFO] running `Command { std: "docker" "start" "-a" "df16ee69fd69d42c04dd2b80f1660d9d1c1eff0e2a2a5f858570f5d2f00271a5", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.systemstat [INFO] [stderr] Compiling rust-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ptr::null` [INFO] [stdout] --> src/main.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{fs::{self, OpenOptions}, io::Write, ptr::null, thread}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `need_num` [INFO] [stdout] --> src/main.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | let need_num = ["0","1","2","3","4","5","6","7","8","9"]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_need_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ball` [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | async fn ball(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `substr` [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn substr(s: &str, start: usize, length: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `system_monitor` [INFO] [stdout] --> src/main.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn system_monitor() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.78s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 8` [INFO] running `Command { std: "docker" "inspect" "df16ee69fd69d42c04dd2b80f1660d9d1c1eff0e2a2a5f858570f5d2f00271a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df16ee69fd69d42c04dd2b80f1660d9d1c1eff0e2a2a5f858570f5d2f00271a5", kill_on_drop: false }` [INFO] [stdout] df16ee69fd69d42c04dd2b80f1660d9d1c1eff0e2a2a5f858570f5d2f00271a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 622eefa02fb9786ad53772830d2999a62b6df4ead1c9ff36c5870a2fa8843ad6 [INFO] running `Command { std: "docker" "start" "-a" "622eefa02fb9786ad53772830d2999a62b6df4ead1c9ff36c5870a2fa8843ad6", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.systemstat [INFO] [stderr] warning: unused import: `ptr::null` [INFO] [stderr] --> src/main.rs:7:47 [INFO] [stderr] | [INFO] [stderr] 7 | use std::{fs::{self, OpenOptions}, io::Write, ptr::null, thread}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `need_num` [INFO] [stderr] --> src/main.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | let need_num = ["0","1","2","3","4","5","6","7","8","9"]; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_need_num` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ball` [INFO] [stderr] --> src/main.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | async fn ball(){ [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `substr` [INFO] [stderr] --> src/main.rs:59:4 [INFO] [stderr] | [INFO] [stderr] 59 | fn substr(s: &str, start: usize, length: usize) -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `system_monitor` [INFO] [stderr] --> src/main.rs:64:4 [INFO] [stderr] | [INFO] [stderr] 64 | fn system_monitor() { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-demo` (bin "rust-demo" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 9` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_demo-45002abe374b3ad6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "622eefa02fb9786ad53772830d2999a62b6df4ead1c9ff36c5870a2fa8843ad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "622eefa02fb9786ad53772830d2999a62b6df4ead1c9ff36c5870a2fa8843ad6", kill_on_drop: false }` [INFO] [stdout] 622eefa02fb9786ad53772830d2999a62b6df4ead1c9ff36c5870a2fa8843ad6