[INFO] fetching crate timed-queue 0.2.3... [INFO] testing timed-queue-0.2.3 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate timed-queue 0.2.3 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate timed-queue 0.2.3 [INFO] finished tweaking crates.io crate timed-queue 0.2.3 [INFO] tweaked toml for crates.io crate timed-queue 0.2.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate timed-queue 0.2.3 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate timed-queue 0.2.3 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aab9460f6c2d6c34c692b7320d893188e487ccbc036fe3a8d7d3585c5cd085b1 [INFO] running `Command { std: "docker" "start" "-a" "aab9460f6c2d6c34c692b7320d893188e487ccbc036fe3a8d7d3585c5cd085b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aab9460f6c2d6c34c692b7320d893188e487ccbc036fe3a8d7d3585c5cd085b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aab9460f6c2d6c34c692b7320d893188e487ccbc036fe3a8d7d3585c5cd085b1", kill_on_drop: false }` [INFO] [stdout] aab9460f6c2d6c34c692b7320d893188e487ccbc036fe3a8d7d3585c5cd085b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dab8938d4f0fa518c559cabd21f0fe1823e55217a602056479fefd4accb98ef [INFO] running `Command { std: "docker" "start" "-a" "0dab8938d4f0fa518c559cabd21f0fe1823e55217a602056479fefd4accb98ef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling bytes v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling mio v0.7.6 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling timed-queue v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.84s [INFO] running `Command { std: "docker" "inspect" "0dab8938d4f0fa518c559cabd21f0fe1823e55217a602056479fefd4accb98ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dab8938d4f0fa518c559cabd21f0fe1823e55217a602056479fefd4accb98ef", kill_on_drop: false }` [INFO] [stdout] 0dab8938d4f0fa518c559cabd21f0fe1823e55217a602056479fefd4accb98ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4a827bfb10500e3b9117f6c5c3a8f4851cba145585a9a2a807b33e48bcf6b14 [INFO] running `Command { std: "docker" "start" "-a" "d4a827bfb10500e3b9117f6c5c3a8f4851cba145585a9a2a807b33e48bcf6b14", kill_on_drop: false }` [INFO] [stderr] Compiling timed-queue v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "d4a827bfb10500e3b9117f6c5c3a8f4851cba145585a9a2a807b33e48bcf6b14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4a827bfb10500e3b9117f6c5c3a8f4851cba145585a9a2a807b33e48bcf6b14", kill_on_drop: false }` [INFO] [stdout] d4a827bfb10500e3b9117f6c5c3a8f4851cba145585a9a2a807b33e48bcf6b14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 46c47b5fc323a64841fc2622c6e04c71ca8731c5c5ce2580c6a62923d254a498 [INFO] running `Command { std: "docker" "start" "-a" "46c47b5fc323a64841fc2622c6e04c71ca8731c5c5ce2580c6a62923d254a498", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/timed_queue-d9bc3bbaafde7943) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/timed_queue-d42cb5a27e292375) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests timed_queue [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] [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 7) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 7) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `MailMessage` in this scope [INFO] [stdout] --> src/lib.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 2 | fn server_loop>(tq: TimedQueue, messages: I) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TimedQueue` in this scope [INFO] [stdout] --> src/lib.rs:8:57 [INFO] [stdout] | [INFO] [stdout] 2 | fn server_loop>(tq: TimedQueue, messages: I) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use timed_queue::TimedQueue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MailMessage` in this scope [INFO] [stdout] --> src/lib.rs:8:68 [INFO] [stdout] | [INFO] [stdout] 2 | fn server_loop>(tq: TimedQueue, messages: I) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn server_loop, MailMessage>(tq: TimedQueue, messages: I) { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TimedQueue` in this scope [INFO] [stdout] --> src/lib.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 8 | async fn delivery_loop(tq: TimedQueue) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use timed_queue::TimedQueue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MailMessage` in this scope [INFO] [stdout] --> src/lib.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 8 | async fn delivery_loop(tq: TimedQueue) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | async fn delivery_loop(tq: TimedQueue) { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/lib.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 12 | tq.enqueue(msg, Some(Instant::now() + Duration::from_secs(30 * 60))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/lib.rs:18:52 [INFO] [stdout] | [INFO] [stdout] 12 | tq.enqueue(msg, Some(Instant::now() + Duration::from_secs(30 * 60))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TimedQueue` [INFO] [stdout] --> src/lib.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 19 | let tq = TimedQueue::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TimedQueue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use timed_queue::TimedQueue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_deliver` in this scope [INFO] [stdout] --> src/lib.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 11 | if try_deliver(msg).await.is_err() { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_message_stream` in this scope [INFO] [stdout] --> src/lib.rs:27:49 [INFO] [stdout] | [INFO] [stdout] 21 | std::thread::spawn(move || server_loop(tq, get_message_stream())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "46c47b5fc323a64841fc2622c6e04c71ca8731c5c5ce2580c6a62923d254a498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46c47b5fc323a64841fc2622c6e04c71ca8731c5c5ce2580c6a62923d254a498", kill_on_drop: false }` [INFO] [stdout] 46c47b5fc323a64841fc2622c6e04c71ca8731c5c5ce2580c6a62923d254a498