[INFO] fetching crate dutils 0.1.14... [INFO] testing dutils-0.1.14 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate dutils 0.1.14 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dutils 0.1.14 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58f2368679e4d64cc69bab5891c4815ae8f9b52794185f9b65971253c2048f23 [INFO] running `Command { std: "docker" "start" "-a" "58f2368679e4d64cc69bab5891c4815ae8f9b52794185f9b65971253c2048f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58f2368679e4d64cc69bab5891c4815ae8f9b52794185f9b65971253c2048f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f2368679e4d64cc69bab5891c4815ae8f9b52794185f9b65971253c2048f23", kill_on_drop: false }` [INFO] [stdout] 58f2368679e4d64cc69bab5891c4815ae8f9b52794185f9b65971253c2048f23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92e90f60fddf7306f0ad44ec4f073c9f10baf7e0d6eb4c5a2c762541d9b9cee0 [INFO] running `Command { std: "docker" "start" "-a" "92e90f60fddf7306f0ad44ec4f073c9f10baf7e0d6eb4c5a2c762541d9b9cee0", 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 hash32 v0.2.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling embedded-io v0.4.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [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 pin-project-internal v1.1.9 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [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 23.25s [INFO] running `Command { std: "docker" "inspect" "92e90f60fddf7306f0ad44ec4f073c9f10baf7e0d6eb4c5a2c762541d9b9cee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92e90f60fddf7306f0ad44ec4f073c9f10baf7e0d6eb4c5a2c762541d9b9cee0", kill_on_drop: false }` [INFO] [stdout] 92e90f60fddf7306f0ad44ec4f073c9f10baf7e0d6eb4c5a2c762541d9b9cee0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df6cda1ee990f02f1a3250ebe3a1f81bc9aa4fa96d34a7b9af518d09ba971bef [INFO] running `Command { std: "docker" "start" "-a" "df6cda1ee990f02f1a3250ebe3a1f81bc9aa4fa96d34a7b9af518d09ba971bef", kill_on_drop: false }` [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "df6cda1ee990f02f1a3250ebe3a1f81bc9aa4fa96d34a7b9af518d09ba971bef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df6cda1ee990f02f1a3250ebe3a1f81bc9aa4fa96d34a7b9af518d09ba971bef", kill_on_drop: false }` [INFO] [stdout] df6cda1ee990f02f1a3250ebe3a1f81bc9aa4fa96d34a7b9af518d09ba971bef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2951a8e5c90b06584f7aad0d5240bdc6edd6d0cab17a937bf763b752d36570da [INFO] running `Command { std: "docker" "start" "-a" "2951a8e5c90b06584f7aad0d5240bdc6edd6d0cab17a937bf763b752d36570da", 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.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dutils-fbcfbfedc11032a2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests dutils [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] 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.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2951a8e5c90b06584f7aad0d5240bdc6edd6d0cab17a937bf763b752d36570da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2951a8e5c90b06584f7aad0d5240bdc6edd6d0cab17a937bf763b752d36570da", kill_on_drop: false }` [INFO] [stdout] 2951a8e5c90b06584f7aad0d5240bdc6edd6d0cab17a937bf763b752d36570da