[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#733b47ea4b1b86216f14ef56e49440c33933f230+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-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/umanwizard/timed-queue on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6ce3922939f311209ba8239a2e4d401e7e7d04e499a36224b547ee69439b40b7
[INFO] running `Command { std: "docker" "start" "-a" "6ce3922939f311209ba8239a2e4d401e7e7d04e499a36224b547ee69439b40b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6ce3922939f311209ba8239a2e4d401e7e7d04e499a36224b547ee69439b40b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ce3922939f311209ba8239a2e4d401e7e7d04e499a36224b547ee69439b40b7", kill_on_drop: false }`
[INFO] [stdout] 6ce3922939f311209ba8239a2e4d401e7e7d04e499a36224b547ee69439b40b7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be41dd0da22090f4ae1516812df973358534cb2f53d292fa27a0b6ed21652885
[INFO] running `Command { std: "docker" "start" "-a" "be41dd0da22090f4ae1516812df973358534cb2f53d292fa27a0b6ed21652885", 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 signal-hook-registry v1.3.0
[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 40.81s
[INFO] running `Command { std: "docker" "inspect" "be41dd0da22090f4ae1516812df973358534cb2f53d292fa27a0b6ed21652885", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be41dd0da22090f4ae1516812df973358534cb2f53d292fa27a0b6ed21652885", kill_on_drop: false }`
[INFO] [stdout] be41dd0da22090f4ae1516812df973358534cb2f53d292fa27a0b6ed21652885
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9c5cb76ccf2329ce09c6d8b26741e9334b7d535c6df938b4cfaf36e0a0c5092
[INFO] running `Command { std: "docker" "start" "-a" "e9c5cb76ccf2329ce09c6d8b26741e9334b7d535c6df938b4cfaf36e0a0c5092", 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.51s
[INFO] running `Command { std: "docker" "inspect" "e9c5cb76ccf2329ce09c6d8b26741e9334b7d535c6df938b4cfaf36e0a0c5092", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9c5cb76ccf2329ce09c6d8b26741e9334b7d535c6df938b4cfaf36e0a0c5092", kill_on_drop: false }`
[INFO] [stdout] e9c5cb76ccf2329ce09c6d8b26741e9334b7d535c6df938b4cfaf36e0a0c5092
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 84b26864b69bdcb8a11ca65e2a4d7a3e57880ec72122fe66204b42b22e451cfb
[INFO] running `Command { std: "docker" "start" "-a" "84b26864b69bdcb8a11ca65e2a4d7a3e57880ec72122fe66204b42b22e451cfb", 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-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] [stderr]    Doc-tests timed_queue
[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<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.19s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "84b26864b69bdcb8a11ca65e2a4d7a3e57880ec72122fe66204b42b22e451cfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84b26864b69bdcb8a11ca65e2a4d7a3e57880ec72122fe66204b42b22e451cfb", kill_on_drop: false }`
[INFO] [stdout] 84b26864b69bdcb8a11ca65e2a4d7a3e57880ec72122fe66204b42b22e451cfb
