[INFO] fetching crate dutils 0.1.14... [INFO] testing dutils-0.1.14 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate dutils 0.1.14 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dutils 0.1.14 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a5187bf2bae0b94a4071df2b3ff405bd91f3fc3636bfb493dda35f31398cb22 [INFO] running `Command { std: "docker" "start" "-a" "4a5187bf2bae0b94a4071df2b3ff405bd91f3fc3636bfb493dda35f31398cb22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a5187bf2bae0b94a4071df2b3ff405bd91f3fc3636bfb493dda35f31398cb22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a5187bf2bae0b94a4071df2b3ff405bd91f3fc3636bfb493dda35f31398cb22", kill_on_drop: false }` [INFO] [stdout] 4a5187bf2bae0b94a4071df2b3ff405bd91f3fc3636bfb493dda35f31398cb22 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f53aa0c0c84ab553cc30d97851609260e9576b3121a800d90860ad2f4b8fb1de [INFO] running `Command { std: "docker" "start" "-a" "f53aa0c0c84ab553cc30d97851609260e9576b3121a800d90860ad2f4b8fb1de", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling embedded-io v0.4.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling syn v2.0.99 [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 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 25.44s [INFO] running `Command { std: "docker" "inspect" "f53aa0c0c84ab553cc30d97851609260e9576b3121a800d90860ad2f4b8fb1de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f53aa0c0c84ab553cc30d97851609260e9576b3121a800d90860ad2f4b8fb1de", kill_on_drop: false }` [INFO] [stdout] f53aa0c0c84ab553cc30d97851609260e9576b3121a800d90860ad2f4b8fb1de [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4ecd40c016d3a60b17f00e2b9d233781bbe0ec3c2c58e2c605d80a5519a876d [INFO] running `Command { std: "docker" "start" "-a" "d4ecd40c016d3a60b17f00e2b9d233781bbe0ec3c2c58e2c605d80a5519a876d", 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 1.10s [INFO] running `Command { std: "docker" "inspect" "d4ecd40c016d3a60b17f00e2b9d233781bbe0ec3c2c58e2c605d80a5519a876d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4ecd40c016d3a60b17f00e2b9d233781bbe0ec3c2c58e2c605d80a5519a876d", kill_on_drop: false }` [INFO] [stdout] d4ecd40c016d3a60b17f00e2b9d233781bbe0ec3c2c58e2c605d80a5519a876d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 34f341cc77989cfcb1d8bbd3e7043ce5f94fa0681e652ffd4e72b6d60151190c [INFO] running `Command { std: "docker" "start" "-a" "34f341cc77989cfcb1d8bbd3e7043ce5f94fa0681e652ffd4e72b6d60151190c", 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] [stderr] Doc-tests dutils [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 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] 2 | 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] 3 | 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] 3 | 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] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_wait_token_rs_243_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] 3 | let mut repeater = cancellation.repeat_until_cancel(Duration::from_secs(1)); [INFO] [stdout] 4 | 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] 5 | 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.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "34f341cc77989cfcb1d8bbd3e7043ce5f94fa0681e652ffd4e72b6d60151190c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f341cc77989cfcb1d8bbd3e7043ce5f94fa0681e652ffd4e72b6d60151190c", kill_on_drop: false }` [INFO] [stdout] 34f341cc77989cfcb1d8bbd3e7043ce5f94fa0681e652ffd4e72b6d60151190c