[INFO] fetching crate natsio 0.4.1...
[INFO] checking natsio-0.4.1 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate natsio 0.4.1 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate natsio 0.4.1 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate natsio 0.4.1
[INFO] finished tweaking crates.io crate natsio 0.4.1
[INFO] tweaked toml for crates.io crate natsio 0.4.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate crates.io crate natsio 0.4.1 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" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 94e700ade6bb37434e2e5c7a95753aa221a7e736e1ff72fe5f4a3bb5afbabb9b
[INFO] running `Command { std: "docker" "start" "-a" "94e700ade6bb37434e2e5c7a95753aa221a7e736e1ff72fe5f4a3bb5afbabb9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "94e700ade6bb37434e2e5c7a95753aa221a7e736e1ff72fe5f4a3bb5afbabb9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94e700ade6bb37434e2e5c7a95753aa221a7e736e1ff72fe5f4a3bb5afbabb9b", kill_on_drop: false }`
[INFO] [stdout] 94e700ade6bb37434e2e5c7a95753aa221a7e736e1ff72fe5f4a3bb5afbabb9b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 57cd96883c41603a2bd0865f0261fb13b745c4150a9a53809b44aa198d8efc61
[INFO] running `Command { std: "docker" "start" "-a" "57cd96883c41603a2bd0865f0261fb13b745c4150a9a53809b44aa198d8efc61", kill_on_drop: false }`
[INFO] [stderr]     Checking natsio v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `quicli`
[INFO] [stdout]  --> examples/nats-box/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use quicli::prelude::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `quicli`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]   --> tests/reconnection.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rand::{thread_rng, Rng};
[INFO] [stdout]    |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log`
[INFO] [stdout]   --> tests/reconnection.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |             log::info!("bad server listening on {}:{}", host, port);
[INFO] [stdout]    |             ^^^ use of undeclared crate or module `log`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log`
[INFO] [stdout]    --> tests/reconnection.rs:152:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |             log::debug!("got command {}", command);
[INFO] [stdout]     |             ^^^ use of undeclared crate or module `log`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log`
[INFO] [stdout]    --> tests/reconnection.rs:275:17
[INFO] [stdout]     |
[INFO] [stdout] 275 |                 log::error!("killing process after 15 minutes");
[INFO] [stdout]     |                 ^^^ use of undeclared crate or module `log`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log`
[INFO] [stdout]    --> tests/reconnection.rs:330:21
[INFO] [stdout]     |
[INFO] [stdout] 330 |                     log::debug!("timed out before we received a response :(");
[INFO] [stdout]     |                     ^^^ use of undeclared crate or module `log`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nats`
[INFO] [stdout]  --> examples/nats-box/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nats;
[INFO] [stdout]   |     ^^^^ no external crate `nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nats`
[INFO] [stdout]  --> examples/nats_bench.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use nats;
[INFO] [stdout]   |     ^^^^ no external crate `nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `criterion`
[INFO] [stdout]  --> benches/nats_bench.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion, Throughput};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `criterion`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `structopt`
[INFO] [stdout]  --> examples/nats-box/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use structopt::StructOpt;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `structopt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nats`
[INFO] [stdout]  --> examples/serde-json/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nats;
[INFO] [stdout]   |     ^^^^ no external crate `nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> examples/nats_bench.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::{thread_rng, Rng};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nats`
[INFO] [stdout]  --> benches/nats_bench.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use nats;
[INFO] [stdout]   |     ^^^^ no external crate `nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]  --> examples/serde-json/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `serde`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `structopt`
[INFO] [stdout]   --> examples/nats_bench.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use structopt::StructOpt;
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared crate or module `structopt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]  --> examples/nats-box/main.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |     #[structopt(long, short, default_value = "demo.nats.io")]
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats_bench.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 |     #[structopt(long, short, default_value = "nats://127.0.0.1:4222")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats-box/main.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[structopt(long = "creds")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats_bench.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 |     #[structopt(long = "creds")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats-box/main.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 |     #[structopt(subcommand)]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats_bench.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 |     #[structopt(long, default_value = "128")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats-box/main.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 |     #[structopt(name = "pub", about = "Publishes a message to a given subject")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats_bench.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 |     #[structopt(long, short, default_value = "100000")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats-box/main.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 |     #[structopt(name = "sub", about = "Subscribes to a given subject")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats_bench.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 |     #[structopt(short, long, default_value = "1")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats-box/main.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 |     #[structopt(name = "request", about = "Sends a request and waits on reply")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats_bench.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 |     #[structopt(short = "s", long, default_value = "0")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats-box/main.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 |     #[structopt(name = "reply", about = "Listens for requests and sends the reply")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats_bench.rs:40:7
[INFO] [stdout]    |
[INFO] [stdout] 40 |     #[structopt(short = "tls")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats`
[INFO] [stdout]    --> tests/reconnection.rs:303:25
[INFO] [stdout]     |
[INFO] [stdout] 303 |         if let Ok(nc) = nats::ConnectionOptions::new()
[INFO] [stdout]     |                         ^^^^ use of undeclared crate or module `nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json`
[INFO] [stdout]   --> examples/serde-json/main.rs:22:23
[INFO] [stdout]    |
[INFO] [stdout] 22 |     nc.publish(&subj, serde_json::to_vec(&p)?)?;
[INFO] [stdout]    |                       ^^^^^^^^^^ use of undeclared crate or module `serde_json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json`
[INFO] [stdout]   --> examples/serde-json/main.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let p: Person = serde_json::from_slice(&msg.data).unwrap();
[INFO] [stdout]    |                         ^^^^^^^^^^ use of undeclared crate or module `serde_json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CliResult` in this scope
[INFO] [stdout]   --> examples/nats-box/main.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn main() -> CliResult {
[INFO] [stdout]    |              ^^^^^^^^^ help: an enum with a similar name exists: `Result`
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/result.rs:502:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named enum `Result` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `natsio` (bench "nats_bench") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `natsio` (example "serde-json") due to 5 previous errors
[INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Args` in the current scope
[INFO] [stdout]   --> examples/nats_bench.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Args {
[INFO] [stdout]    | ----------- function or associated item `from_args` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 48 |     let args = Args::from_args();
[INFO] [stdout]    |                      ^^^^^^^^^ function or associated item not found in `Args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json`
[INFO] [stdout]    --> tests/reconnection.rs:175:48
[INFO] [stdout]     |
[INFO] [stdout] 175 |                     let _: nats::ConnectInfo = serde_json::from_str(parts.next().unwrap()).unwrap();
[INFO] [stdout]     |                                                ^^^^^^^^^^ use of undeclared crate or module `serde_json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Cli` in the current scope
[INFO] [stdout]   --> examples/nats-box/main.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 7  | struct Cli {
[INFO] [stdout]    | ---------- function or associated item `from_args` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 |     let args = Cli::from_args();
[INFO] [stdout]    |                     ^^^^^^^^^ function or associated item not found in `Cli`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger`
[INFO] [stdout]    --> tests/reconnection.rs:263:5
[INFO] [stdout]     |
[INFO] [stdout] 263 |     env_logger::init();
[INFO] [stdout]     |     ^^^^^^^^^^ use of undeclared crate or module `env_logger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `Arc<_>`
[INFO] [stdout]    --> tests/reconnection.rs:302:9
[INFO] [stdout]     |
[INFO] [stdout] 302 |     let nc = loop {
[INFO] [stdout]     |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 312 |         let nc = nc.clone();
[INFO] [stdout]     |                     ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `nc` an explicit type, where the type for type parameter `T` is specified
[INFO] [stdout]     |
[INFO] [stdout] 302 |     let nc: Arc<T> = loop {
[INFO] [stdout]     |           ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `natsio` (example "nats-box") due to 13 previous errors
[INFO] [stderr] error: could not compile `natsio` (example "nats_bench") due to 12 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats`
[INFO] [stdout]    --> tests/reconnection.rs:175:28
[INFO] [stdout]     |
[INFO] [stdout] 175 |                     let _: nats::ConnectInfo = serde_json::from_str(parts.next().unwrap()).unwrap();
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `natsio` (test "reconnection") due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "57cd96883c41603a2bd0865f0261fb13b745c4150a9a53809b44aa198d8efc61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57cd96883c41603a2bd0865f0261fb13b745c4150a9a53809b44aa198d8efc61", kill_on_drop: false }`
[INFO] [stdout] 57cd96883c41603a2bd0865f0261fb13b745c4150a9a53809b44aa198d8efc61
[INFO] checking natsio-0.4.1 against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157
[INFO] extracting crate natsio 0.4.1 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate natsio 0.4.1 on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate natsio 0.4.1
[INFO] finished tweaking crates.io crate natsio 0.4.1
[INFO] tweaked toml for crates.io crate natsio 0.4.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate crates.io crate natsio 0.4.1 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" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ecb8bbca58fd31ab943931b128894ece47edbf4b39ce48f50c8553a9bd7b75f5
[INFO] running `Command { std: "docker" "start" "-a" "ecb8bbca58fd31ab943931b128894ece47edbf4b39ce48f50c8553a9bd7b75f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ecb8bbca58fd31ab943931b128894ece47edbf4b39ce48f50c8553a9bd7b75f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecb8bbca58fd31ab943931b128894ece47edbf4b39ce48f50c8553a9bd7b75f5", kill_on_drop: false }`
[INFO] [stdout] ecb8bbca58fd31ab943931b128894ece47edbf4b39ce48f50c8553a9bd7b75f5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e015be074d21a4ba3d7978a5ace6f2e7ac427705fc7eb7cd9aa6a6d70c9fbca
[INFO] running `Command { std: "docker" "start" "-a" "8e015be074d21a4ba3d7978a5ace6f2e7ac427705fc7eb7cd9aa6a6d70c9fbca", kill_on_drop: false }`
[INFO] [stderr]     Checking natsio v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `quicli`
[INFO] [stdout]  --> examples/nats-box/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use quicli::prelude::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `quicli`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]   --> tests/reconnection.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rand::{thread_rng, Rng};
[INFO] [stdout]    |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log`
[INFO] [stdout]   --> tests/reconnection.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |             log::info!("bad server listening on {}:{}", host, port);
[INFO] [stdout]    |             ^^^ use of undeclared crate or module `log`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log`
[INFO] [stdout]    --> tests/reconnection.rs:152:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |             log::debug!("got command {}", command);
[INFO] [stdout]     |             ^^^ use of undeclared crate or module `log`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log`
[INFO] [stdout]    --> tests/reconnection.rs:275:17
[INFO] [stdout]     |
[INFO] [stdout] 275 |                 log::error!("killing process after 15 minutes");
[INFO] [stdout]     |                 ^^^ use of undeclared crate or module `log`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log`
[INFO] [stdout]    --> tests/reconnection.rs:330:21
[INFO] [stdout]     |
[INFO] [stdout] 330 |                     log::debug!("timed out before we received a response :(");
[INFO] [stdout]     |                     ^^^ use of undeclared crate or module `log`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nats`
[INFO] [stdout]  --> examples/nats_bench.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use nats;
[INFO] [stdout]   |     ^^^^ no external crate `nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `criterion`
[INFO] [stdout]  --> benches/nats_bench.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion, Throughput};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `criterion`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> examples/nats_bench.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::{thread_rng, Rng};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nats`
[INFO] [stdout]  --> benches/nats_bench.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use nats;
[INFO] [stdout]   |     ^^^^ no external crate `nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `structopt`
[INFO] [stdout]   --> examples/nats_bench.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use structopt::StructOpt;
[INFO] [stdout]    |     ^^^^^^^^^ use of undeclared crate or module `structopt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nats`
[INFO] [stdout]  --> examples/nats-box/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nats;
[INFO] [stdout]   |     ^^^^ no external crate `nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nats`
[INFO] [stdout]  --> examples/serde-json/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nats;
[INFO] [stdout]   |     ^^^^ no external crate `nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `structopt`
[INFO] [stdout]  --> examples/nats-box/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use structopt::StructOpt;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `structopt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]  --> examples/serde-json/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `serde`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats_bench.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 |     #[structopt(long, short, default_value = "nats://127.0.0.1:4222")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats_bench.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 |     #[structopt(long = "creds")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats_bench.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 |     #[structopt(long, default_value = "128")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]  --> examples/nats-box/main.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |     #[structopt(long, short, default_value = "demo.nats.io")]
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats_bench.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 |     #[structopt(long, short, default_value = "100000")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats-box/main.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[structopt(long = "creds")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats_bench.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 |     #[structopt(short, long, default_value = "1")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats-box/main.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 |     #[structopt(subcommand)]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats_bench.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 |     #[structopt(short = "s", long, default_value = "0")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats-box/main.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 |     #[structopt(name = "pub", about = "Publishes a message to a given subject")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats_bench.rs:40:7
[INFO] [stdout]    |
[INFO] [stdout] 40 |     #[structopt(short = "tls")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats`
[INFO] [stdout]    --> tests/reconnection.rs:303:25
[INFO] [stdout]     |
[INFO] [stdout] 303 |         if let Ok(nc) = nats::ConnectionOptions::new()
[INFO] [stdout]     |                         ^^^^ use of undeclared crate or module `nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats-box/main.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 |     #[structopt(name = "sub", about = "Subscribes to a given subject")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats-box/main.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 |     #[structopt(name = "request", about = "Sends a request and waits on reply")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json`
[INFO] [stdout]   --> examples/serde-json/main.rs:22:23
[INFO] [stdout]    |
[INFO] [stdout] 22 |     nc.publish(&subj, serde_json::to_vec(&p)?)?;
[INFO] [stdout]    |                       ^^^^^^^^^^ use of undeclared crate or module `serde_json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `structopt` in this scope
[INFO] [stdout]   --> examples/nats-box/main.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 |     #[structopt(name = "reply", about = "Listens for requests and sends the reply")]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json`
[INFO] [stdout]   --> examples/serde-json/main.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let p: Person = serde_json::from_slice(&msg.data).unwrap();
[INFO] [stdout]    |                         ^^^^^^^^^^ use of undeclared crate or module `serde_json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `natsio` (bench "nats_bench") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0412]: cannot find type `CliResult` in this scope
[INFO] [stdout]   --> examples/nats-box/main.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn main() -> CliResult {
[INFO] [stdout]    |              ^^^^^^^^^ help: an enum with a similar name exists: `Result`
[INFO] [stdout]   --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/core/src/result.rs:502:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named enum `Result` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `natsio` (example "serde-json") due to 5 previous errors
[INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Args` in the current scope
[INFO] [stdout]   --> examples/nats_bench.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Args {
[INFO] [stdout]    | ----------- function or associated item `from_args` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 48 |     let args = Args::from_args();
[INFO] [stdout]    |                      ^^^^^^^^^ function or associated item not found in `Args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json`
[INFO] [stdout]    --> tests/reconnection.rs:175:48
[INFO] [stdout]     |
[INFO] [stdout] 175 |                     let _: nats::ConnectInfo = serde_json::from_str(parts.next().unwrap()).unwrap();
[INFO] [stdout]     |                                                ^^^^^^^^^^ use of undeclared crate or module `serde_json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger`
[INFO] [stdout]    --> tests/reconnection.rs:263:5
[INFO] [stdout]     |
[INFO] [stdout] 263 |     env_logger::init();
[INFO] [stdout]     |     ^^^^^^^^^^ use of undeclared crate or module `env_logger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Cli` in the current scope
[INFO] [stdout]   --> examples/nats-box/main.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 7  | struct Cli {
[INFO] [stdout]    | ---------- function or associated item `from_args` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 |     let args = Cli::from_args();
[INFO] [stdout]    |                     ^^^^^^^^^ function or associated item not found in `Cli`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `Arc<_>`
[INFO] [stdout]    --> tests/reconnection.rs:302:9
[INFO] [stdout]     |
[INFO] [stdout] 302 |     let nc = loop {
[INFO] [stdout]     |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 312 |         let nc = nc.clone();
[INFO] [stdout]     |                     ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `nc` an explicit type, where the type for type parameter `T` is specified
[INFO] [stdout]     |
[INFO] [stdout] 302 |     let nc: Arc<T> = loop {
[INFO] [stdout]     |           ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `natsio` (example "nats_bench") due to 12 previous errors
[INFO] [stderr] error: could not compile `natsio` (example "nats-box") due to 13 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nats`
[INFO] [stdout]    --> tests/reconnection.rs:175:28
[INFO] [stdout]     |
[INFO] [stdout] 175 |                     let _: nats::ConnectInfo = serde_json::from_str(parts.next().unwrap()).unwrap();
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `nats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `natsio` (test "reconnection") due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "8e015be074d21a4ba3d7978a5ace6f2e7ac427705fc7eb7cd9aa6a6d70c9fbca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e015be074d21a4ba3d7978a5ace6f2e7ac427705fc7eb7cd9aa6a6d70c9fbca", kill_on_drop: false }`
[INFO] [stdout] 8e015be074d21a4ba3d7978a5ace6f2e7ac427705fc7eb7cd9aa6a6d70c9fbca
