[INFO] cloning repository https://github.com/umanwizard/timed-queue
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/umanwizard/timed-queue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fumanwizard%2Ftimed-queue", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fumanwizard%2Ftimed-queue'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 55536dea13f22bbf571462eec02c9b92b7a55214
[INFO] testing umanwizard/timed-queue against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fumanwizard%2Ftimed-queue" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/umanwizard/timed-queue
[INFO] finished tweaking git repo https://github.com/umanwizard/timed-queue
[INFO] tweaked toml for git repo https://github.com/umanwizard/timed-queue written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/umanwizard/timed-queue on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/umanwizard/timed-queue 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded smallvec v1.5.1
[INFO] [stderr]   Downloaded tokio-macros v1.0.0
[INFO] [stderr]   Downloaded pin-project-lite v0.2.0
[INFO] [stderr]   Downloaded bytes v1.0.0
[INFO] [stderr]   Downloaded syn v1.0.56
[INFO] [stderr]   Downloaded mio v0.7.6
[INFO] [stderr]   Downloaded tokio v1.0.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 941b699f1bcb2f8cf0efe86cbd36541e3e5206c80387405145d8f8844cb55de0
[INFO] running `Command { std: "docker" "start" "-a" "941b699f1bcb2f8cf0efe86cbd36541e3e5206c80387405145d8f8844cb55de0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "941b699f1bcb2f8cf0efe86cbd36541e3e5206c80387405145d8f8844cb55de0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "941b699f1bcb2f8cf0efe86cbd36541e3e5206c80387405145d8f8844cb55de0", kill_on_drop: false }`
[INFO] [stdout] 941b699f1bcb2f8cf0efe86cbd36541e3e5206c80387405145d8f8844cb55de0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0718a36cf86f5d9ae8d37e5b82b890520765666d12cce08b8916dda7038f457f
[INFO] running `Command { std: "docker" "start" "-a" "0718a36cf86f5d9ae8d37e5b82b890520765666d12cce08b8916dda7038f457f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.81
[INFO] [stderr]    Compiling syn v1.0.56
[INFO] [stderr]    Compiling smallvec v1.5.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.0
[INFO] [stderr]    Compiling bytes v1.0.0
[INFO] [stderr]    Compiling once_cell v1.5.2
[INFO] [stderr]    Compiling tokio v1.0.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.2
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling mio v0.7.6
[INFO] [stderr]    Compiling signal-hook-registry v1.3.0
[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 41.02s
[INFO] running `Command { std: "docker" "inspect" "0718a36cf86f5d9ae8d37e5b82b890520765666d12cce08b8916dda7038f457f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0718a36cf86f5d9ae8d37e5b82b890520765666d12cce08b8916dda7038f457f", kill_on_drop: false }`
[INFO] [stdout] 0718a36cf86f5d9ae8d37e5b82b890520765666d12cce08b8916dda7038f457f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7e2ed95c0563104ddb624ea37aa3223350a10d6a0f078b074303ce66afd77bcc
[INFO] running `Command { std: "docker" "start" "-a" "7e2ed95c0563104ddb624ea37aa3223350a10d6a0f078b074303ce66afd77bcc", 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.46s
[INFO] running `Command { std: "docker" "inspect" "7e2ed95c0563104ddb624ea37aa3223350a10d6a0f078b074303ce66afd77bcc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e2ed95c0563104ddb624ea37aa3223350a10d6a0f078b074303ce66afd77bcc", kill_on_drop: false }`
[INFO] [stdout] 7e2ed95c0563104ddb624ea37aa3223350a10d6a0f078b074303ce66afd77bcc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5b645b9dd60e0ecee5813a87e891f9c3f305581f40907ab648d116fd2b383259
[INFO] running `Command { std: "docker" "start" "-a" "5b645b9dd60e0ecee5813a87e891f9c3f305581f40907ab648d116fd2b383259", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/timed_queue-d27430380b78b106)
[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] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/timed_queue-c515409d183b2717)
[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] [stderr]    Doc-tests timed_queue
[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<I: IntoIterator<Item = MailMessage>>(tq: TimedQueue<MailMessage>, 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<I: IntoIterator<Item = MailMessage>>(tq: TimedQueue<MailMessage>, 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<I: IntoIterator<Item = MailMessage>>(tq: TimedQueue<MailMessage>, 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<I: IntoIterator<Item = MailMessage>, MailMessage>(tq: TimedQueue<MailMessage>, 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<MailMessage>) {
[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<MailMessage>) {
[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<MailMessage>(tq: TimedQueue<MailMessage>) {
[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.15s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "5b645b9dd60e0ecee5813a87e891f9c3f305581f40907ab648d116fd2b383259", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b645b9dd60e0ecee5813a87e891f9c3f305581f40907ab648d116fd2b383259", kill_on_drop: false }`
[INFO] [stdout] 5b645b9dd60e0ecee5813a87e891f9c3f305581f40907ab648d116fd2b383259
