[INFO] cloning repository https://github.com/taoistwar/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/taoistwar/rust-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaoistwar%2Frust-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaoistwar%2Frust-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] decd5ab810768ef75123a11c251ca3b8119ce455 [INFO] testing taoistwar/rust-demo against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaoistwar%2Frust-demo" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/taoistwar/rust-demo on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/taoistwar/rust-demo [INFO] finished tweaking git repo https://github.com/taoistwar/rust-demo [INFO] tweaked toml for git repo https://github.com/taoistwar/rust-demo written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/taoistwar/rust-demo 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" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5725e45c149c268bd7ae2bc796868814be7142727aacf0316a0857e43d6c059e [INFO] running `Command { std: "docker" "start" "-a" "5725e45c149c268bd7ae2bc796868814be7142727aacf0316a0857e43d6c059e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5725e45c149c268bd7ae2bc796868814be7142727aacf0316a0857e43d6c059e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5725e45c149c268bd7ae2bc796868814be7142727aacf0316a0857e43d6c059e", kill_on_drop: false }` [INFO] [stdout] 5725e45c149c268bd7ae2bc796868814be7142727aacf0316a0857e43d6c059e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d4af83ba47efdd3f12f8938fd02a64034f2dee2627be8e5157d27650aec8f59 [INFO] running `Command { std: "docker" "start" "-a" "5d4af83ba47efdd3f12f8938fd02a64034f2dee2627be8e5157d27650aec8f59", kill_on_drop: false }` [INFO] [stderr] warning: rust-demo v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `trust-dns` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.24 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cidr-utils v0.5.7 [INFO] [stderr] Compiling gcd v2.1.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling char-iter v0.1.0 [INFO] [stderr] Compiling colorful v0.2.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling enum-as-inner v0.5.1 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling clap_derive v3.1.2 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling clap v3.1.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling env_logger v0.9.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling log4rs v1.0.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling trust-dns-proto v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling mini-redis v0.4.1 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling trust-dns-resolver v0.22.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling rust-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/bin/grammer-app.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/bin/grammer-app.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/bin/tokio_app.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | async fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/bin/es_mapping.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | for (k, v) in x { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/tokio_server.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | if let Some(x) = connection.read_frame().await.unwrap() { [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 macro definition: `warn` [INFO] [stdout] --> src/bin/macro-app.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | macro_rules! warn { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::log_enabled` [INFO] [stdout] --> src/bin/env-logger-app.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::log_enabled; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/env-logger-app.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `()` cannot be built from an iterator over elements of type `IpAddr` [INFO] [stdout] --> src/bin/cidr-utils-app.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | x.iter().collect() [INFO] [stdout] | ^^^^^^^ value of type `()` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `()` [INFO] [stdout] = help: the trait `FromIterator<()>` is implemented for `()` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/iter/traits/iterator.rs:1856:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-demo` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5d4af83ba47efdd3f12f8938fd02a64034f2dee2627be8e5157d27650aec8f59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d4af83ba47efdd3f12f8938fd02a64034f2dee2627be8e5157d27650aec8f59", kill_on_drop: false }` [INFO] [stdout] 5d4af83ba47efdd3f12f8938fd02a64034f2dee2627be8e5157d27650aec8f59