[INFO] fetching crate ftswarm 0.2.5... [INFO] testing ftswarm-0.2.5 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ftswarm 0.2.5 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate ftswarm 0.2.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ftswarm 0.2.5 [INFO] tweaked toml for crates.io crate ftswarm 0.2.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ftswarm 0.2.5 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 ftswarm 0.2.5 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] afdba834e6498aadffc28cb8a30b2a41b9685a6deca65b65282f209ddeb14adc [INFO] running `Command { std: "docker" "start" "-a" "afdba834e6498aadffc28cb8a30b2a41b9685a6deca65b65282f209ddeb14adc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afdba834e6498aadffc28cb8a30b2a41b9685a6deca65b65282f209ddeb14adc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afdba834e6498aadffc28cb8a30b2a41b9685a6deca65b65282f209ddeb14adc", kill_on_drop: false }` [INFO] [stdout] afdba834e6498aadffc28cb8a30b2a41b9685a6deca65b65282f209ddeb14adc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1c472426ac8d72dbc99bdf51d44ef1ff38dd82fb608bad1c6b8a28237fcce08b [INFO] running `Command { std: "docker" "start" "-a" "1c472426ac8d72dbc99bdf51d44ef1ff38dd82fb608bad1c6b8a28237fcce08b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.5 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rand_core v0.9.0-alpha.0 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.9.0-alpha.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling rand v0.9.0-alpha.0 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling ftswarm_macros v0.2.5 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling unescaper v0.1.4 [INFO] [stderr] Compiling serialport v4.3.0 [INFO] [stderr] Compiling ftswarm_serial v0.2.5 [INFO] [stderr] Compiling ftswarm_proto v0.2.5 [INFO] [stderr] Compiling ftswarm v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | async fn lock(mutex: &Mutex) -> std::sync::MutexGuard { [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] 46 | async fn lock(mutex: &Mutex) -> std::sync::MutexGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.30s [INFO] running `Command { std: "docker" "inspect" "1c472426ac8d72dbc99bdf51d44ef1ff38dd82fb608bad1c6b8a28237fcce08b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c472426ac8d72dbc99bdf51d44ef1ff38dd82fb608bad1c6b8a28237fcce08b", kill_on_drop: false }` [INFO] [stdout] 1c472426ac8d72dbc99bdf51d44ef1ff38dd82fb608bad1c6b8a28237fcce08b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f08208414d6a63d1e653e94bb558ca1f997d1aef7c5deefffcccf3287a46a1c6 [INFO] running `Command { std: "docker" "start" "-a" "f08208414d6a63d1e653e94bb558ca1f997d1aef7c5deefffcccf3287a46a1c6", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling ftswarm_serial v0.2.5 [INFO] [stderr] Compiling ftswarm v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | async fn lock(mutex: &Mutex) -> std::sync::MutexGuard { [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] 46 | async fn lock(mutex: &Mutex) -> std::sync::MutexGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stdout] error[E0277]: `Result>, PoisonError>>` is not a future [INFO] [stdout] --> examples/hello_world.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | led1.lock().await.set_color(LedColor::blue()).await?; [INFO] [stdout] | ^^^^^ `Result>, PoisonError>>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result>, PoisonError>>` [INFO] [stdout] = note: Result>, PoisonError>> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result>, PoisonError>>` to implement `IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/hello_world-6e3e91441484ac63.long-type-3178472665908128329.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 46 - led1.lock().await.set_color(LedColor::blue()).await?; [INFO] [stdout] 46 + led1.lock().set_color(LedColor::blue()).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result>, PoisonError>>` is not a future [INFO] [stdout] --> examples/hello_world.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | led2.lock().await.set_color(LedColor::cyan()).await?; [INFO] [stdout] | ^^^^^ `Result>, PoisonError>>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result>, PoisonError>>` [INFO] [stdout] = note: Result>, PoisonError>> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result>, PoisonError>>` to implement `IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/hello_world-6e3e91441484ac63.long-type-8632025053300574423.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 47 - led2.lock().await.set_color(LedColor::cyan()).await?; [INFO] [stdout] 47 + led2.lock().set_color(LedColor::cyan()).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result>, PoisonError>>` is not a future [INFO] [stdout] --> examples/hello_world.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | let mut switch_state = switch.lock().await.value; [INFO] [stdout] | ^^^^^ `Result>, PoisonError>>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result>, PoisonError>>` [INFO] [stdout] = note: Result>, PoisonError>> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result>, PoisonError>>` to implement `IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/hello_world-6e3e91441484ac63.long-type-3530093563906258198.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 49 - let mut switch_state = switch.lock().await.value; [INFO] [stdout] 49 + let mut switch_state = switch.lock().value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result>, PoisonError>>` is not a future [INFO] [stdout] --> examples/hello_world.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let value = switch.lock().await.value; [INFO] [stdout] | ^^^^^ `Result>, PoisonError>>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result>, PoisonError>>` [INFO] [stdout] = note: Result>, PoisonError>> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result>, PoisonError>>` to implement `IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/hello_world-6e3e91441484ac63.long-type-7788385791598594799.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 51 - let value = switch.lock().await.value; [INFO] [stdout] 51 + let value = switch.lock().value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result>, PoisonError>>` is not a future [INFO] [stdout] --> examples/hello_world.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | led1.lock().await.set_color(color.clone()).await?; [INFO] [stdout] | ^^^^^ `Result>, PoisonError>>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result>, PoisonError>>` [INFO] [stdout] = note: Result>, PoisonError>> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result>, PoisonError>>` to implement `IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/hello_world-6e3e91441484ac63.long-type-15135921636071723029.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 59 - led1.lock().await.set_color(color.clone()).await?; [INFO] [stdout] 59 + led1.lock().set_color(color.clone()).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result>, PoisonError>>` is not a future [INFO] [stdout] --> examples/hello_world.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | led2.lock().await.set_color(color).await?; [INFO] [stdout] | ^^^^^ `Result>, PoisonError>>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result>, PoisonError>>` [INFO] [stdout] = note: Result>, PoisonError>> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result>, PoisonError>>` to implement `IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/hello_world-6e3e91441484ac63.long-type-15255574999767325673.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 60 - led2.lock().await.set_color(color).await?; [INFO] [stdout] 60 + led2.lock().set_color(color).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ftswarm` (example "hello_world") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | async fn lock(mutex: &Mutex) -> std::sync::MutexGuard { [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] 46 | async fn lock(mutex: &Mutex) -> std::sync::MutexGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f08208414d6a63d1e653e94bb558ca1f997d1aef7c5deefffcccf3287a46a1c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f08208414d6a63d1e653e94bb558ca1f997d1aef7c5deefffcccf3287a46a1c6", kill_on_drop: false }` [INFO] [stdout] f08208414d6a63d1e653e94bb558ca1f997d1aef7c5deefffcccf3287a46a1c6