[INFO] fetching crate dutils 0.1.14... [INFO] testing dutils-0.1.14 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate dutils 0.1.14 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate dutils 0.1.14 [INFO] finished tweaking crates.io crate dutils 0.1.14 [INFO] tweaked toml for crates.io crate dutils 0.1.14 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dutils 0.1.14 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dutils 0.1.14 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-openssl v0.5.1 [INFO] [stderr] Downloaded deadpool-postgres v0.14.1 [INFO] [stderr] Downloaded deadpool v0.12.2 [INFO] [stderr] Downloaded quote v1.0.39 [INFO] [stderr] Downloaded zerocopy-derive v0.8.21 [INFO] [stderr] Downloaded rocksdb v0.23.0 [INFO] [stderr] Downloaded zerocopy v0.8.21 [INFO] [stderr] Downloaded syn v2.0.99 [INFO] [stderr] Downloaded libz-sys v1.1.21 [INFO] [stderr] Downloaded librocksdb-sys v0.17.1+9.9.3 [INFO] [stderr] Downloaded bellscoin v0.30.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b1127d0e96817c191af90a6ad020d7bc7f9552484257e69d705b8d61d22643f [INFO] running `Command { std: "docker" "start" "-a" "0b1127d0e96817c191af90a6ad020d7bc7f9552484257e69d705b8d61d22643f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b1127d0e96817c191af90a6ad020d7bc7f9552484257e69d705b8d61d22643f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b1127d0e96817c191af90a6ad020d7bc7f9552484257e69d705b8d61d22643f", kill_on_drop: false }` [INFO] [stdout] 0b1127d0e96817c191af90a6ad020d7bc7f9552484257e69d705b8d61d22643f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 418e655c61efa0255d4e094fa6c5effa21451185540aac38a01de9bd0f2f4e6c [INFO] running `Command { std: "docker" "start" "-a" "418e655c61efa0255d4e094fa6c5effa21451185540aac38a01de9bd0f2f4e6c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling embedded-io v0.4.0 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling postcard v1.1.1 [INFO] [stderr] Compiling dutils v0.1.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wait_token.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | fn notified(&self) -> tokio::sync::futures::Notified { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 192 | fn notified(&self) -> tokio::sync::futures::Notified<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.91s [INFO] running `Command { std: "docker" "inspect" "418e655c61efa0255d4e094fa6c5effa21451185540aac38a01de9bd0f2f4e6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "418e655c61efa0255d4e094fa6c5effa21451185540aac38a01de9bd0f2f4e6c", kill_on_drop: false }` [INFO] [stdout] 418e655c61efa0255d4e094fa6c5effa21451185540aac38a01de9bd0f2f4e6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d53776bcf943a6abf9919efe79c8f2a134a9d26e84747016d38ea5d83e0af2b1 [INFO] running `Command { std: "docker" "start" "-a" "d53776bcf943a6abf9919efe79c8f2a134a9d26e84747016d38ea5d83e0af2b1", kill_on_drop: false }` [INFO] [stderr] Compiling dutils v0.1.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wait_token.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | fn notified(&self) -> tokio::sync::futures::Notified { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 192 | fn notified(&self) -> tokio::sync::futures::Notified<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wait_token.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | fn notified(&self) -> tokio::sync::futures::Notified { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 192 | fn notified(&self) -> tokio::sync::futures::Notified<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "d53776bcf943a6abf9919efe79c8f2a134a9d26e84747016d38ea5d83e0af2b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d53776bcf943a6abf9919efe79c8f2a134a9d26e84747016d38ea5d83e0af2b1", kill_on_drop: false }` [INFO] [stdout] d53776bcf943a6abf9919efe79c8f2a134a9d26e84747016d38ea5d83e0af2b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aa40de458aa46935f364229bc4f493c19a3e00b97bcdbd004f70c0f205e819e2 [INFO] running `Command { std: "docker" "start" "-a" "aa40de458aa46935f364229bc4f493c19a3e00b97bcdbd004f70c0f205e819e2", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/wait_token.rs:192:17 [INFO] [stderr] | [INFO] [stderr] 192 | fn notified(&self) -> tokio::sync::futures::Notified { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 192 | fn notified(&self) -> tokio::sync::futures::Notified<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `dutils` (lib) generated 1 warning (run `cargo fix --lib -p dutils` to apply 1 suggestion) [INFO] [stderr] warning: `dutils` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dutils-fbcfbfedc11032a2) [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 dutils [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/wait_token.rs - wait_token::WaitToken (line 58) ... FAILED [INFO] [stdout] test src/wait_token.rs - wait_token::WaitToken::repeat_until_cancel (line 243) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/wait_token.rs - wait_token::WaitToken (line 58) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/wait_token.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | let cancellation = WaitToken::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/wait_token.rs - wait_token::WaitToken::repeat_until_cancel (line 243) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `cancellation` in this scope [INFO] [stdout] --> src/wait_token.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | let mut repeater = cancellation.repeat_until_cancel(Duration::from_secs(1)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/wait_token.rs:244:53 [INFO] [stdout] | [INFO] [stdout] 244 | let mut repeater = cancellation.repeat_until_cancel(Duration::from_secs(1)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 243 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 243 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/wait_token.rs:245:23 [INFO] [stdout] | [INFO] [stdout] 243 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_wait_token_rs_243_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] 244 | let mut repeater = cancellation.repeat_until_cancel(Duration::from_secs(1)); [INFO] [stdout] 245 | while repeater.next().await { [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_something` in this scope [INFO] [stdout] --> src/wait_token.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | do_something(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/wait_token.rs - wait_token::WaitToken (line 58) [INFO] [stdout] src/wait_token.rs - wait_token::WaitToken::repeat_until_cancel (line 243) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "aa40de458aa46935f364229bc4f493c19a3e00b97bcdbd004f70c0f205e819e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa40de458aa46935f364229bc4f493c19a3e00b97bcdbd004f70c0f205e819e2", kill_on_drop: false }` [INFO] [stdout] aa40de458aa46935f364229bc4f493c19a3e00b97bcdbd004f70c0f205e819e2